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