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