HEX: #CCC8DA
RGB: (204,200,218)
#CCC8DA contains red, green and blue colors in about the same proportion. Web safe color of #CCC8DA is #CCCCCC (or #CCC).
#CCC8DA color RGB value is (204,200,218).
RGB: (204,200,218) (80%,78%,85%)
R 204 of 255 = 80%
G 200 of 255 = 78%
B 218 of 255 = 85%
R + G + B ~ 81%. #CCC8DA is quite light color.
R + G + B =
204 + 200 + 218 = 622 (100%)
R 204 of 622 ~ 32.8%
G 200 of 622 ~ 32.15%
B 218 of 622 ~ 35.05%
#CCC8DA color CMYK value is (6,8,0,15).
CMYK: (6,8,0,15) C6M8Y0K15 (6%,8%,0%,15%) (0.06/0.08/0.00/0.15)
CC | C8 | DA | |
---|---|---|---|
RGB | 204 | 200 | 218 |
HSL | 253° | 19.57% | 81.96% |
HSB/HSV | 253° | 8.26% | 85.49% |
CMYK | 6.42% | 8.26% | 0.00% |
14.51% |
HEX | CC | C8 | DA |
Decimal | 204 | 200 | 218 |
Binary | 11001100 | 11001000 | 11011010 |
Octal | 314 | 310 | 332 |
Examples of css and html codes for elements with #CCC8DA color. Also use rgb(204,200,218) instead hex code.
.myTextColor { color: #CCC8DA; }
<p style="color:#CCC8DA">This sample text font color is #CCC8DA.</p>
This text font color is #CCC8DA.
.myBgColor { background-color: #CCC8DA; }
<div style="background-color:#CCC8DA">Inner text</div>
This div background color is #CCC8DA.
.myBorderColor { border: 1px solid #CCC8DA; }
<div style="border:3px solid #CCC8DA">Div</div>
This div border color is #CCC8DA.
.myOpacity80 { color: #CCC8DA; opacity: 0.8; }
<p style="color:#CCC8DA;opacity:0.8;">80%</p>
Text with #CCC8DA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCC8DA;}
<p style="text-shadow: 3px 3px 1px #CCC8DA">Text here.</p>
This text has shadow with #CCC8DA color.
.textShadow {text-shadow: 3px 3px 1px #CCC8DA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCC8DA, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCC8DA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCC8DA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCC8DA, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCC8DA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCC8DA; -webkit-box-shadow: 1px 1px 3px 2px #CCC8DA; box-shadow: 1px 1px 3px 2px #CCC8DA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCC8DA; -webkit-box-shadow: 1px 1px 3px 2px #CCC8DA; box-shadow:1px 1px 3px 2px #CCC8DA;">
Div content here</div>
This text has color #CCC8DA on black background.
This text has color #CCC8DA on white background.
This text has black color on #CCC8DA background.
This text has white color on #CCC8DA background.