HEX: #C8CC5A
RGB: (200,204,90)
#C8CC5A contains mainly red and green colors. Web safe color of #C8CC5A is #CCCC66 (or #CC6).
#C8CC5A color RGB value is (200,204,90).
RGB: (200,204,90) (78%,80%,35%)
R 200 of 255 = 78%
G 204 of 255 = 80%
B 90 of 255 = 35%
R + G + B ~ 64%. #C8CC5A is quite light color.
R + G + B =
200 + 204 + 90 = 494 (100%)
R 200 of 494 ~ 40.49%
G 204 of 494 ~ 41.3%
B 90 of 494 ~ 18.22%
#C8CC5A color CMYK value is (2,0,56,20).
CMYK: (2,0,56,20) C2M0Y56K20 (2%,0%,56%,20%) (0.02/0.00/0.56/0.20)
C8 | CC | 5A | |
---|---|---|---|
RGB | 200 | 204 | 90 |
HSL | 62° | 52.78% | 57.65% |
HSB/HSV | 62° | 55.88% | 80.00% |
CMYK | 1.96% | 0.00% | 55.88% |
20.00% |
HEX | C8 | CC | 5A |
Decimal | 200 | 204 | 90 |
Binary | 11001000 | 11001100 | 1011010 |
Octal | 310 | 314 | 132 |
Examples of css and html codes for elements with #C8CC5A color. Also use rgb(200,204,90) instead hex code.
.myTextColor { color: #C8CC5A; }
<p style="color:#C8CC5A">This sample text font color is #C8CC5A.</p>
This text font color is #C8CC5A.
.myBgColor { background-color: #C8CC5A; }
<div style="background-color:#C8CC5A">Inner text</div>
This div background color is #C8CC5A.
.myBorderColor { border: 1px solid #C8CC5A; }
<div style="border:3px solid #C8CC5A">Div</div>
This div border color is #C8CC5A.
.myOpacity80 { color: #C8CC5A; opacity: 0.8; }
<p style="color:#C8CC5A;opacity:0.8;">80%</p>
Text with #C8CC5A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C8CC5A;}
<p style="text-shadow: 3px 3px 1px #C8CC5A">Text here.</p>
This text has shadow with #C8CC5A color.
.textShadow {text-shadow: 3px 3px 1px #C8CC5A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C8CC5A, 5px 5px 20px red">Text here.</p>
This text has shadow with #C8CC5A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C8CC5A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C8CC5A, Direction=45, Strength=4)">Text</p>
This text has shadow with #C8CC5A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C8CC5A; -webkit-box-shadow: 1px 1px 3px 2px #C8CC5A; box-shadow: 1px 1px 3px 2px #C8CC5A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C8CC5A; -webkit-box-shadow: 1px 1px 3px 2px #C8CC5A; box-shadow:1px 1px 3px 2px #C8CC5A;">
Div content here</div>
This text has color #C8CC5A on black background.
This text has color #C8CC5A on white background.
This text has black color on #C8CC5A background.
This text has white color on #C8CC5A background.