HEX: #D7C921
RGB: (215,201,33)
#D7C921 enthält hauptsächlich rote und grüne Farbe. Für #D7C921 ist eine «websichere» Webfarbe #CCCC33 (oder kurz #CC3).
Die Farbe #D7C921 wird in RGB als (215,201,33) definiert.
RGB: (215,201,33) (84%,79%,13%)
R 215 von 255 = 84%
G 201 von 255 = 79%
B 33 von 255 = 13%
R + G + B ~ 59%. #D7C921 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
215 + 201 + 33 = 449 (100%)
R 215 von 449 ~ 47.88%
G 201 von 449 ~ 44.77%
B 33 von 449 ~ 7.35%
Die Farbe #D7C921 wird in CMYK als (0,7,85,16) definiert.
CMYK: (0,7,85,16) C0M7Y85K16 (0%,7%,85%,16%) (0.00/0.07/0.85/0.16)
D7 | C9 | 21 | |
---|---|---|---|
RGB | 215 | 201 | 33 |
HSL | 55° | 73.39% | 48.63% |
HSB/HSV | 55° | 84.65% | 84.31% |
CMYK | 0.00% | 6.51% | 84.65% |
15.69% |
Hexadezimal | D7 | C9 | 21 |
Dezimal | 215 | 201 | 33 |
Binär | 11010111 | 11001001 | 100001 |
Oktal | 327 | 311 | 41 |
Beispiele css- und html für Elemente in der Farbe #D7C921. Bitte benutzen Sie auch rgb(215,201,33) statt hex-Code.
.myTextColor { color: #D7C921; }
<p style="color:#D7C921">This sample text font color is #D7C921.</p>
Die Farbe dieses Textes ist #D7C921.
.myBgColor { background-color: #D7C921; }
<div style="background-color:#D7C921">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #D7C921.
.myBorderColor { border: 1px solid #D7C921; }
<div style="border:3px solid #D7C921">Div</div>
Die Grenzen von diesem div sind in Farbe #D7C921.
.myOpacity80 { color: #D7C921; opacity: 0.8; }
<p style="color:#D7C921;opacity:0.8;">80%</p>
Text in Farbe #D7C921 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7C921;}
<p style="text-shadow: 3px 3px 1px #D7C921">Text here.</p>
Dieser Text hat den Schatten in Farbe #D7C921.
.textShadow {text-shadow: 3px 3px 1px #D7C921, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7C921, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #D7C921 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7C921, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7C921, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7C921 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7C921; -webkit-box-shadow: 1px 1px 3px 2px #D7C921; box-shadow: 1px 1px 3px 2px #D7C921; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7C921; -webkit-box-shadow: 1px 1px 3px 2px #D7C921; box-shadow:1px 1px 3px 2px #D7C921;">
Div content here</div>
Dieser Text ist in der Farbe #D7C921 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #D7C921 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #D7C921.
Dieser Text ist weiß auf dem Hintergrund in Farbe #D7C921.