HEX: #CCC2C6
RGB: (204,194,198)
#CCC2C6 contains red, green and blue colors in about the same proportion. Web safe color of #CCC2C6 is #CCCCCC (or #CCC).
#CCC2C6 color RGB value is (204,194,198).
RGB: (204,194,198) (80%,76%,78%)
R 204 of 255 = 80%
G 194 of 255 = 76%
B 198 of 255 = 78%
R + G + B ~ 78%. #CCC2C6 is quite light color.
R + G + B =
204 + 194 + 198 = 596 (100%)
R 204 of 596 ~ 34.23%
G 194 of 596 ~ 32.55%
B 198 of 596 ~ 33.22%
#CCC2C6 color CMYK value is (0,5,3,20).
CMYK: (0,5,3,20) C0M5Y3K20 (0%,5%,3%,20%) (0.00/0.05/0.03/0.20)
CC | C2 | C6 | |
---|---|---|---|
RGB | 204 | 194 | 198 |
HSL | 336° | 8.93% | 78.04% |
HSB/HSV | 336° | 4.90% | 80.00% |
CMYK | 0.00% | 4.90% | 2.94% |
20.00% |
HEX | CC | C2 | C6 |
Decimal | 204 | 194 | 198 |
Binary | 11001100 | 11000010 | 11000110 |
Octal | 314 | 302 | 306 |
Examples of css and html codes for elements with #CCC2C6 color. Also use rgb(204,194,198) instead hex code.
.myTextColor { color: #CCC2C6; }
<p style="color:#CCC2C6">This sample text font color is #CCC2C6.</p>
This text font color is #CCC2C6.
.myBgColor { background-color: #CCC2C6; }
<div style="background-color:#CCC2C6">Inner text</div>
This div background color is #CCC2C6.
.myBorderColor { border: 1px solid #CCC2C6; }
<div style="border:3px solid #CCC2C6">Div</div>
This div border color is #CCC2C6.
.myOpacity80 { color: #CCC2C6; opacity: 0.8; }
<p style="color:#CCC2C6;opacity:0.8;">80%</p>
Text with #CCC2C6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCC2C6;}
<p style="text-shadow: 3px 3px 1px #CCC2C6">Text here.</p>
This text has shadow with #CCC2C6 color.
.textShadow {text-shadow: 3px 3px 1px #CCC2C6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCC2C6, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCC2C6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCC2C6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCC2C6, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCC2C6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCC2C6; -webkit-box-shadow: 1px 1px 3px 2px #CCC2C6; box-shadow: 1px 1px 3px 2px #CCC2C6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCC2C6; -webkit-box-shadow: 1px 1px 3px 2px #CCC2C6; box-shadow:1px 1px 3px 2px #CCC2C6;">
Div content here</div>
This text has color #CCC2C6 on black background.
This text has color #CCC2C6 on white background.
This text has black color on #CCC2C6 background.
This text has white color on #CCC2C6 background.