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