HEX: #C8C617
RGB: (200,198,23)
#C8C617 contains mainly red and green colors. Web safe color of #C8C617 is #CCCC00 (or #CC0).
#C8C617 color RGB value is (200,198,23).
RGB: (200,198,23) (78%,78%,9%)
R 200 of 255 = 78%
G 198 of 255 = 78%
B 23 of 255 = 9%
R + G + B ~ 55%. #C8C617 is middle color (not dark and not light).
R + G + B =
200 + 198 + 23 = 421 (100%)
R 200 of 421 ~ 47.51%
G 198 of 421 ~ 47.03%
B 23 of 421 ~ 5.46%
#C8C617 color CMYK value is (0,1,89,22).
CMYK: (0,1,89,22) C0M1Y89K22 (0%,1%,89%,22%) (0.00/0.01/0.89/0.22)
C8 | C6 | 17 | |
---|---|---|---|
RGB | 200 | 198 | 23 |
HSL | 59° | 79.37% | 43.73% |
HSB/HSV | 59° | 88.50% | 78.43% |
CMYK | 0.00% | 1.00% | 88.50% |
21.57% |
HEX | C8 | C6 | 17 |
Decimal | 200 | 198 | 23 |
Binary | 11001000 | 11000110 | 10111 |
Octal | 310 | 306 | 27 |
Examples of css and html codes for elements with #C8C617 color. Also use rgb(200,198,23) instead hex code.
.myTextColor { color: #C8C617; }
<p style="color:#C8C617">This sample text font color is #C8C617.</p>
This text font color is #C8C617.
.myBgColor { background-color: #C8C617; }
<div style="background-color:#C8C617">Inner text</div>
This div background color is #C8C617.
.myBorderColor { border: 1px solid #C8C617; }
<div style="border:3px solid #C8C617">Div</div>
This div border color is #C8C617.
.myOpacity80 { color: #C8C617; opacity: 0.8; }
<p style="color:#C8C617;opacity:0.8;">80%</p>
Text with #C8C617 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C8C617;}
<p style="text-shadow: 3px 3px 1px #C8C617">Text here.</p>
This text has shadow with #C8C617 color.
.textShadow {text-shadow: 3px 3px 1px #C8C617, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C8C617, 5px 5px 20px red">Text here.</p>
This text has shadow with #C8C617 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C8C617, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C8C617, Direction=45, Strength=4)">Text</p>
This text has shadow with #C8C617 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C8C617; -webkit-box-shadow: 1px 1px 3px 2px #C8C617; box-shadow: 1px 1px 3px 2px #C8C617; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C8C617; -webkit-box-shadow: 1px 1px 3px 2px #C8C617; box-shadow:1px 1px 3px 2px #C8C617;">
Div content here</div>
This text has color #C8C617 on black background.
This text has color #C8C617 on white background.
This text has black color on #C8C617 background.
This text has white color on #C8C617 background.