HEX: #CCC116
RGB: (204,193,22)
#CCC116 contains mainly red and green colors. Web safe color of #CCC116 is #CCCC00 (or #CC0).
#CCC116 color RGB value is (204,193,22).
RGB: (204,193,22) (80%,76%,9%)
R 204 of 255 = 80%
G 193 of 255 = 76%
B 22 of 255 = 9%
R + G + B ~ 55%. #CCC116 is middle color (not dark and not light).
R + G + B =
204 + 193 + 22 = 419 (100%)
R 204 of 419 ~ 48.69%
G 193 of 419 ~ 46.06%
B 22 of 419 ~ 5.25%
#CCC116 color CMYK value is (0,5,89,20).
CMYK: (0,5,89,20) C0M5Y89K20 (0%,5%,89%,20%) (0.00/0.05/0.89/0.20)
CC | C1 | 16 | |
---|---|---|---|
RGB | 204 | 193 | 22 |
HSL | 56° | 80.53% | 44.31% |
HSB/HSV | 56° | 89.22% | 80.00% |
CMYK | 0.00% | 5.39% | 89.22% |
20.00% |
HEX | CC | C1 | 16 |
Decimal | 204 | 193 | 22 |
Binary | 11001100 | 11000001 | 10110 |
Octal | 314 | 301 | 26 |
Examples of css and html codes for elements with #CCC116 color. Also use rgb(204,193,22) instead hex code.
.myTextColor { color: #CCC116; }
<p style="color:#CCC116">This sample text font color is #CCC116.</p>
This text font color is #CCC116.
.myBgColor { background-color: #CCC116; }
<div style="background-color:#CCC116">Inner text</div>
This div background color is #CCC116.
.myBorderColor { border: 1px solid #CCC116; }
<div style="border:3px solid #CCC116">Div</div>
This div border color is #CCC116.
.myOpacity80 { color: #CCC116; opacity: 0.8; }
<p style="color:#CCC116;opacity:0.8;">80%</p>
Text with #CCC116 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCC116;}
<p style="text-shadow: 3px 3px 1px #CCC116">Text here.</p>
This text has shadow with #CCC116 color.
.textShadow {text-shadow: 3px 3px 1px #CCC116, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCC116, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCC116 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCC116, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCC116, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCC116 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCC116; -webkit-box-shadow: 1px 1px 3px 2px #CCC116; box-shadow: 1px 1px 3px 2px #CCC116; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCC116; -webkit-box-shadow: 1px 1px 3px 2px #CCC116; box-shadow:1px 1px 3px 2px #CCC116;">
Div content here</div>
This text has color #CCC116 on black background.
This text has color #CCC116 on white background.
This text has black color on #CCC116 background.
This text has white color on #CCC116 background.