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