HEX: #CDB41F
RGB: (205,180,31)
#CDB41F enthält hauptsächlich rote und grüne Farbe. Für #CDB41F ist eine «websichere» Webfarbe #CCCC33 (oder kurz #CC3).
Die Farbe #CDB41F wird in RGB als (205,180,31) definiert.
RGB: (205,180,31) (80%,71%,12%)
R 205 von 255 = 80%
G 180 von 255 = 71%
B 31 von 255 = 12%
R + G + B ~ 54%. #CDB41F mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
205 + 180 + 31 = 416 (100%)
R 205 von 416 ~ 49.28%
G 180 von 416 ~ 43.27%
B 31 von 416 ~ 7.45%
Die Farbe #CDB41F wird in CMYK als (0,12,85,20) definiert.
CMYK: (0,12,85,20) C0M12Y85K20 (0%,12%,85%,20%) (0.00/0.12/0.85/0.20)
CD | B4 | 1F | |
---|---|---|---|
RGB | 205 | 180 | 31 |
HSL | 51° | 73.73% | 46.27% |
HSB/HSV | 51° | 84.88% | 80.39% |
CMYK | 0.00% | 12.20% | 84.88% |
19.61% |
Hexadezimal | CD | B4 | 1F |
Dezimal | 205 | 180 | 31 |
Binär | 11001101 | 10110100 | 11111 |
Oktal | 315 | 264 | 37 |
Beispiele css- und html für Elemente in der Farbe #CDB41F. Bitte benutzen Sie auch rgb(205,180,31) statt hex-Code.
.myTextColor { color: #CDB41F; }
<p style="color:#CDB41F">This sample text font color is #CDB41F.</p>
Die Farbe dieses Textes ist #CDB41F.
.myBgColor { background-color: #CDB41F; }
<div style="background-color:#CDB41F">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #CDB41F.
.myBorderColor { border: 1px solid #CDB41F; }
<div style="border:3px solid #CDB41F">Div</div>
Die Grenzen von diesem div sind in Farbe #CDB41F.
.myOpacity80 { color: #CDB41F; opacity: 0.8; }
<p style="color:#CDB41F;opacity:0.8;">80%</p>
Text in Farbe #CDB41F und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CDB41F;}
<p style="text-shadow: 3px 3px 1px #CDB41F">Text here.</p>
Dieser Text hat den Schatten in Farbe #CDB41F.
.textShadow {text-shadow: 3px 3px 1px #CDB41F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CDB41F, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #CDB41F und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CDB41F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CDB41F, Direction=45, Strength=4)">Text</p>
This text has shadow with #CDB41F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CDB41F; -webkit-box-shadow: 1px 1px 3px 2px #CDB41F; box-shadow: 1px 1px 3px 2px #CDB41F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CDB41F; -webkit-box-shadow: 1px 1px 3px 2px #CDB41F; box-shadow:1px 1px 3px 2px #CDB41F;">
Div content here</div>
Dieser Text ist in der Farbe #CDB41F auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #CDB41F auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #CDB41F.
Dieser Text ist weiß auf dem Hintergrund in Farbe #CDB41F.