HEX: #CCCC00
RGB: (204,204,0)
#CCCC00 enthält nur rote und grüne Farbe. Die Farbe #CCCC00 ist «eine websichere» Webfarbe. Sie kann kurz als #CC0 geschrieben werden.
Die Farbe #CCCC00 wird in RGB als (204,204,0) definiert.
RGB: (204,204,0) (80%,80%,0%)
R 204 von 255 = 80%
G 204 von 255 = 80%
B 0 von 255 = 0%
R + G + B ~ 53%. #CCCC00 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
204 + 204 + 0 = 408 (100%)
R 204 von 408 ~ 50%
G 204 von 408 ~ 50%
B 0 von 408 ~ 0%
Die Farbe #CCCC00 wird in CMYK als (0,0,100,20) definiert.
CMYK: (0,0,100,20) C0M0Y100K20 (0%,0%,100%,20%) (0.00/0.00/1.00/0.20)
CC | CC | 00 | |
---|---|---|---|
RGB | 204 | 204 | 0 |
HSL | 60° | 100.00% | 40.00% |
HSB/HSV | 60° | 100.00% | 80.00% |
CMYK | 0.00% | 0.00% | 100.00% |
20.00% |
Hexadezimal | CC | CC | 00 |
Dezimal | 204 | 204 | 0 |
Binär | 11001100 | 11001100 | 0 |
Oktal | 314 | 314 | 0 |
Beispiele css- und html für Elemente in der Farbe #CCCC00. Bitte benutzen Sie auch rgb(204,204,0) statt hex-Code.
.myTextColor { color: #CCCC00; }
<p style="color:#CCCC00">This sample text font color is #CCCC00.</p>
Die Farbe dieses Textes ist #CCCC00.
.myBgColor { background-color: #CCCC00; }
<div style="background-color:#CCCC00">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #CCCC00.
.myBorderColor { border: 1px solid #CCCC00; }
<div style="border:3px solid #CCCC00">Div</div>
Die Grenzen von diesem div sind in Farbe #CCCC00.
.myOpacity80 { color: #CCCC00; opacity: 0.8; }
<p style="color:#CCCC00;opacity:0.8;">80%</p>
Text in Farbe #CCCC00 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCCC00;}
<p style="text-shadow: 3px 3px 1px #CCCC00">Text here.</p>
Dieser Text hat den Schatten in Farbe #CCCC00.
.textShadow {text-shadow: 3px 3px 1px #CCCC00, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCCC00, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #CCCC00 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCCC00, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCCC00, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCCC00 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCCC00; -webkit-box-shadow: 1px 1px 3px 2px #CCCC00; box-shadow: 1px 1px 3px 2px #CCCC00; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCCC00; -webkit-box-shadow: 1px 1px 3px 2px #CCCC00; box-shadow:1px 1px 3px 2px #CCCC00;">
Div content here</div>
Dieser Text ist in der Farbe #CCCC00 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #CCCC00 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #CCCC00.
Dieser Text ist weiß auf dem Hintergrund in Farbe #CCCC00.