HEX: #CCCC66
RGB: (204,204,102)
#CCCC66 contains mainly red and green colors. #CCCC66 color is web safe color. It maybe written shortly as #CC6.
#CCCC66 color RGB value is (204,204,102).
RGB: (204,204,102) (80%,80%,40%)
R 204 of 255 = 80%
G 204 of 255 = 80%
B 102 of 255 = 40%
R + G + B ~ 67%. #CCCC66 is quite light color.
R + G + B =
204 + 204 + 102 = 510 (100%)
R 204 of 510 ~ 40%
G 204 of 510 ~ 40%
B 102 of 510 ~ 20%
#CCCC66 color CMYK value is (0,0,50,20).
CMYK: (0,0,50,20) C0M0Y50K20 (0%,0%,50%,20%) (0.00/0.00/0.50/0.20)
CC | CC | 66 | |
---|---|---|---|
RGB | 204 | 204 | 102 |
HSL | 60° | 50.00% | 60.00% |
HSB/HSV | 60° | 50.00% | 80.00% |
CMYK | 0.00% | 0.00% | 50.00% |
20.00% |
HEX | CC | CC | 66 |
Decimal | 204 | 204 | 102 |
Binary | 11001100 | 11001100 | 1100110 |
Octal | 314 | 314 | 146 |
Examples of css and html codes for elements with #CCCC66 color. Also use rgb(204,204,102) instead hex code.
.myTextColor { color: #CCCC66; }
<p style="color:#CCCC66">This sample text font color is #CCCC66.</p>
This text font color is #CCCC66.
.myBgColor { background-color: #CCCC66; }
<div style="background-color:#CCCC66">Inner text</div>
This div background color is #CCCC66.
.myBorderColor { border: 1px solid #CCCC66; }
<div style="border:3px solid #CCCC66">Div</div>
This div border color is #CCCC66.
.myOpacity80 { color: #CCCC66; opacity: 0.8; }
<p style="color:#CCCC66;opacity:0.8;">80%</p>
Text with #CCCC66 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCCC66;}
<p style="text-shadow: 3px 3px 1px #CCCC66">Text here.</p>
This text has shadow with #CCCC66 color.
.textShadow {text-shadow: 3px 3px 1px #CCCC66, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCCC66, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCCC66 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCCC66, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCCC66, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCCC66 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCCC66; -webkit-box-shadow: 1px 1px 3px 2px #CCCC66; box-shadow: 1px 1px 3px 2px #CCCC66; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCCC66; -webkit-box-shadow: 1px 1px 3px 2px #CCCC66; box-shadow:1px 1px 3px 2px #CCCC66;">
Div content here</div>
This text has color #CCCC66 on black background.
This text has color #CCCC66 on white background.
This text has black color on #CCCC66 background.
This text has white color on #CCCC66 background.