HEX: #505D8E
RGB: (80,93,142)
#505D8E enthält hauptsächlich grüne und blaue Farbe. Für #505D8E ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #505D8E wird in RGB als (80,93,142) definiert.
RGB: (80,93,142) (31%,36%,56%)
R 80 von 255 = 31%
G 93 von 255 = 36%
B 142 von 255 = 56%
R + G + B ~ 41%. #505D8E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
80 + 93 + 142 = 315 (100%)
R 80 von 315 ~ 25.4%
G 93 von 315 ~ 29.52%
B 142 von 315 ~ 45.08%
Die Farbe #505D8E wird in CMYK als (44,35,0,44) definiert.
CMYK: (44,35,0,44) C44M35Y0K44 (44%,35%,0%,44%) (0.44/0.35/0.00/0.44)
50 | 5D | 8E | |
---|---|---|---|
RGB | 80 | 93 | 142 |
HSL | 227° | 27.93% | 43.53% |
HSB/HSV | 227° | 43.66% | 55.69% |
CMYK | 43.66% | 34.51% | 0.00% |
44.31% |
Hexadezimal | 50 | 5D | 8E |
Dezimal | 80 | 93 | 142 |
Binär | 1010000 | 1011101 | 10001110 |
Oktal | 120 | 135 | 216 |
Beispiele css- und html für Elemente in der Farbe #505D8E. Bitte benutzen Sie auch rgb(80,93,142) statt hex-Code.
.myTextColor { color: #505D8E; }
<p style="color:#505D8E">This sample text font color is #505D8E.</p>
Die Farbe dieses Textes ist #505D8E.
.myBgColor { background-color: #505D8E; }
<div style="background-color:#505D8E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #505D8E.
.myBorderColor { border: 1px solid #505D8E; }
<div style="border:3px solid #505D8E">Div</div>
Die Grenzen von diesem div sind in Farbe #505D8E.
.myOpacity80 { color: #505D8E; opacity: 0.8; }
<p style="color:#505D8E;opacity:0.8;">80%</p>
Text in Farbe #505D8E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505D8E;}
<p style="text-shadow: 3px 3px 1px #505D8E">Text here.</p>
Dieser Text hat den Schatten in Farbe #505D8E.
.textShadow {text-shadow: 3px 3px 1px #505D8E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505D8E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #505D8E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505D8E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505D8E, Direction=45, Strength=4)">Text</p>
This text has shadow with #505D8E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505D8E; -webkit-box-shadow: 1px 1px 3px 2px #505D8E; box-shadow: 1px 1px 3px 2px #505D8E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505D8E; -webkit-box-shadow: 1px 1px 3px 2px #505D8E; box-shadow:1px 1px 3px 2px #505D8E;">
Div content here</div>
Dieser Text ist in der Farbe #505D8E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #505D8E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #505D8E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #505D8E.