HEX: #CCB30B
RGB: (204,179,11)
#CCB30B enthält hauptsächlich rote und grüne Farbe. Für #CCB30B ist eine «websichere» Webfarbe #CC9900 (oder kurz #C90).
Die Farbe #CCB30B wird in RGB als (204,179,11) definiert.
RGB: (204,179,11) (80%,70%,4%)
R 204 von 255 = 80%
G 179 von 255 = 70%
B 11 von 255 = 4%
R + G + B ~ 51%. #CCB30B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
204 + 179 + 11 = 394 (100%)
R 204 von 394 ~ 51.78%
G 179 von 394 ~ 45.43%
B 11 von 394 ~ 2.79%
Die Farbe #CCB30B wird in CMYK als (0,12,95,20) definiert.
CMYK: (0,12,95,20) C0M12Y95K20 (0%,12%,95%,20%) (0.00/0.12/0.95/0.20)
CC | B3 | 0B | |
---|---|---|---|
RGB | 204 | 179 | 11 |
HSL | 52° | 89.77% | 42.16% |
HSB/HSV | 52° | 94.61% | 80.00% |
CMYK | 0.00% | 12.25% | 94.61% |
20.00% |
Hexadezimal | CC | B3 | 0B |
Dezimal | 204 | 179 | 11 |
Binär | 11001100 | 10110011 | 1011 |
Oktal | 314 | 263 | 13 |
Beispiele css- und html für Elemente in der Farbe #CCB30B. Bitte benutzen Sie auch rgb(204,179,11) statt hex-Code.
.myTextColor { color: #CCB30B; }
<p style="color:#CCB30B">This sample text font color is #CCB30B.</p>
Die Farbe dieses Textes ist #CCB30B.
.myBgColor { background-color: #CCB30B; }
<div style="background-color:#CCB30B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #CCB30B.
.myBorderColor { border: 1px solid #CCB30B; }
<div style="border:3px solid #CCB30B">Div</div>
Die Grenzen von diesem div sind in Farbe #CCB30B.
.myOpacity80 { color: #CCB30B; opacity: 0.8; }
<p style="color:#CCB30B;opacity:0.8;">80%</p>
Text in Farbe #CCB30B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCB30B;}
<p style="text-shadow: 3px 3px 1px #CCB30B">Text here.</p>
Dieser Text hat den Schatten in Farbe #CCB30B.
.textShadow {text-shadow: 3px 3px 1px #CCB30B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCB30B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #CCB30B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCB30B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCB30B, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCB30B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCB30B; -webkit-box-shadow: 1px 1px 3px 2px #CCB30B; box-shadow: 1px 1px 3px 2px #CCB30B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCB30B; -webkit-box-shadow: 1px 1px 3px 2px #CCB30B; box-shadow:1px 1px 3px 2px #CCB30B;">
Div content here</div>
Dieser Text ist in der Farbe #CCB30B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #CCB30B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #CCB30B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #CCB30B.