HEX: #D6B818
RGB: (214,184,24)
#D6B818 enthält hauptsächlich rote und grüne Farbe. Für #D6B818 ist eine «websichere» Webfarbe #CCCC00 (oder kurz #CC0).
Die Farbe #D6B818 wird in RGB als (214,184,24) definiert.
RGB: (214,184,24) (84%,72%,9%)
R 214 von 255 = 84%
G 184 von 255 = 72%
B 24 von 255 = 9%
R + G + B ~ 55%. #D6B818 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
214 + 184 + 24 = 422 (100%)
R 214 von 422 ~ 50.71%
G 184 von 422 ~ 43.6%
B 24 von 422 ~ 5.69%
Die Farbe #D6B818 wird in CMYK als (0,14,89,16) definiert.
CMYK: (0,14,89,16) C0M14Y89K16 (0%,14%,89%,16%) (0.00/0.14/0.89/0.16)
D6 | B8 | 18 | |
---|---|---|---|
RGB | 214 | 184 | 24 |
HSL | 51° | 79.83% | 46.67% |
HSB/HSV | 51° | 88.79% | 83.92% |
CMYK | 0.00% | 14.02% | 88.79% |
16.08% |
Hexadezimal | D6 | B8 | 18 |
Dezimal | 214 | 184 | 24 |
Binär | 11010110 | 10111000 | 11000 |
Oktal | 326 | 270 | 30 |
Beispiele css- und html für Elemente in der Farbe #D6B818. Bitte benutzen Sie auch rgb(214,184,24) statt hex-Code.
.myTextColor { color: #D6B818; }
<p style="color:#D6B818">This sample text font color is #D6B818.</p>
Die Farbe dieses Textes ist #D6B818.
.myBgColor { background-color: #D6B818; }
<div style="background-color:#D6B818">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #D6B818.
.myBorderColor { border: 1px solid #D6B818; }
<div style="border:3px solid #D6B818">Div</div>
Die Grenzen von diesem div sind in Farbe #D6B818.
.myOpacity80 { color: #D6B818; opacity: 0.8; }
<p style="color:#D6B818;opacity:0.8;">80%</p>
Text in Farbe #D6B818 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D6B818;}
<p style="text-shadow: 3px 3px 1px #D6B818">Text here.</p>
Dieser Text hat den Schatten in Farbe #D6B818.
.textShadow {text-shadow: 3px 3px 1px #D6B818, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D6B818, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #D6B818 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D6B818, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D6B818, Direction=45, Strength=4)">Text</p>
This text has shadow with #D6B818 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D6B818; -webkit-box-shadow: 1px 1px 3px 2px #D6B818; box-shadow: 1px 1px 3px 2px #D6B818; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D6B818; -webkit-box-shadow: 1px 1px 3px 2px #D6B818; box-shadow:1px 1px 3px 2px #D6B818;">
Div content here</div>
Dieser Text ist in der Farbe #D6B818 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #D6B818 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #D6B818.
Dieser Text ist weiß auf dem Hintergrund in Farbe #D6B818.