HEX: #C8C009
RGB: (200,192,9)
#C8C009 contains mainly red and green colors. Web safe color of #C8C009 is #CCCC00 (or #CC0).
#C8C009 color RGB value is (200,192,9).
RGB: (200,192,9) (78%,75%,4%)
R 200 of 255 = 78%
G 192 of 255 = 75%
B 9 of 255 = 4%
R + G + B ~ 52%. #C8C009 is middle color (not dark and not light).
R + G + B =
200 + 192 + 9 = 401 (100%)
R 200 of 401 ~ 49.88%
G 192 of 401 ~ 47.88%
B 9 of 401 ~ 2.24%
#C8C009 color CMYK value is (0,4,96,22).
CMYK: (0,4,96,22) C0M4Y96K22 (0%,4%,96%,22%) (0.00/0.04/0.96/0.22)
C8 | C0 | 09 | |
---|---|---|---|
RGB | 200 | 192 | 9 |
HSL | 57° | 91.39% | 40.98% |
HSB/HSV | 57° | 95.50% | 78.43% |
CMYK | 0.00% | 4.00% | 95.50% |
21.57% |
HEX | C8 | C0 | 09 |
Decimal | 200 | 192 | 9 |
Binary | 11001000 | 11000000 | 1001 |
Octal | 310 | 300 | 11 |
Examples of css and html codes for elements with #C8C009 color. Also use rgb(200,192,9) instead hex code.
.myTextColor { color: #C8C009; }
<p style="color:#C8C009">This sample text font color is #C8C009.</p>
This text font color is #C8C009.
.myBgColor { background-color: #C8C009; }
<div style="background-color:#C8C009">Inner text</div>
This div background color is #C8C009.
.myBorderColor { border: 1px solid #C8C009; }
<div style="border:3px solid #C8C009">Div</div>
This div border color is #C8C009.
.myOpacity80 { color: #C8C009; opacity: 0.8; }
<p style="color:#C8C009;opacity:0.8;">80%</p>
Text with #C8C009 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C8C009;}
<p style="text-shadow: 3px 3px 1px #C8C009">Text here.</p>
This text has shadow with #C8C009 color.
.textShadow {text-shadow: 3px 3px 1px #C8C009, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C8C009, 5px 5px 20px red">Text here.</p>
This text has shadow with #C8C009 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C8C009, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C8C009, Direction=45, Strength=4)">Text</p>
This text has shadow with #C8C009 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C8C009; -webkit-box-shadow: 1px 1px 3px 2px #C8C009; box-shadow: 1px 1px 3px 2px #C8C009; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C8C009; -webkit-box-shadow: 1px 1px 3px 2px #C8C009; box-shadow:1px 1px 3px 2px #C8C009;">
Div content here</div>
This text has color #C8C009 on black background.
This text has color #C8C009 on white background.
This text has black color on #C8C009 background.
This text has white color on #C8C009 background.