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