HEX: #D6C6E7
RGB: (214,198,231)
#D6C6E7 contains red, green and blue colors in about the same proportion. Web safe color of #D6C6E7 is #CCCCFF (or #CCF).
#D6C6E7 color RGB value is (214,198,231).
RGB: (214,198,231) (84%,78%,91%)
R 214 of 255 = 84%
G 198 of 255 = 78%
B 231 of 255 = 91%
R + G + B ~ 84%. #D6C6E7 is quite light color.
R + G + B =
214 + 198 + 231 = 643 (100%)
R 214 of 643 ~ 33.28%
G 198 of 643 ~ 30.79%
B 231 of 643 ~ 35.93%
#D6C6E7 color CMYK value is (7,14,0,9).
CMYK: (7,14,0,9) C7M14Y0K9 (7%,14%,0%,9%) (0.07/0.14/0.00/0.09)
D6 | C6 | E7 | |
---|---|---|---|
RGB | 214 | 198 | 231 |
HSL | 269° | 40.74% | 84.12% |
HSB/HSV | 269° | 14.29% | 90.59% |
CMYK | 7.36% | 14.29% | 0.00% |
9.41% |
HEX | D6 | C6 | E7 |
Decimal | 214 | 198 | 231 |
Binary | 11010110 | 11000110 | 11100111 |
Octal | 326 | 306 | 347 |
Examples of css and html codes for elements with #D6C6E7 color. Also use rgb(214,198,231) instead hex code.
.myTextColor { color: #D6C6E7; }
<p style="color:#D6C6E7">This sample text font color is #D6C6E7.</p>
This text font color is #D6C6E7.
.myBgColor { background-color: #D6C6E7; }
<div style="background-color:#D6C6E7">Inner text</div>
This div background color is #D6C6E7.
.myBorderColor { border: 1px solid #D6C6E7; }
<div style="border:3px solid #D6C6E7">Div</div>
This div border color is #D6C6E7.
.myOpacity80 { color: #D6C6E7; opacity: 0.8; }
<p style="color:#D6C6E7;opacity:0.8;">80%</p>
Text with #D6C6E7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D6C6E7;}
<p style="text-shadow: 3px 3px 1px #D6C6E7">Text here.</p>
This text has shadow with #D6C6E7 color.
.textShadow {text-shadow: 3px 3px 1px #D6C6E7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D6C6E7, 5px 5px 20px red">Text here.</p>
This text has shadow with #D6C6E7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D6C6E7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D6C6E7, Direction=45, Strength=4)">Text</p>
This text has shadow with #D6C6E7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D6C6E7; -webkit-box-shadow: 1px 1px 3px 2px #D6C6E7; box-shadow: 1px 1px 3px 2px #D6C6E7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D6C6E7; -webkit-box-shadow: 1px 1px 3px 2px #D6C6E7; box-shadow:1px 1px 3px 2px #D6C6E7;">
Div content here</div>
This text has color #D6C6E7 on black background.
This text has color #D6C6E7 on white background.
This text has black color on #D6C6E7 background.
This text has white color on #D6C6E7 background.