HEX: #D2BEE7
RGB: (210,190,231)
#D2BEE7 contains red, green and blue colors in about the same proportion. Web safe color of #D2BEE7 is #CCCCFF (or #CCF).
#D2BEE7 color RGB value is (210,190,231).
RGB: (210,190,231) (82%,75%,91%)
R 210 of 255 = 82%
G 190 of 255 = 75%
B 231 of 255 = 91%
R + G + B ~ 83%. #D2BEE7 is quite light color.
R + G + B =
210 + 190 + 231 = 631 (100%)
R 210 of 631 ~ 33.28%
G 190 of 631 ~ 30.11%
B 231 of 631 ~ 36.61%
#D2BEE7 color CMYK value is (9,18,0,9).
CMYK: (9,18,0,9) C9M18Y0K9 (9%,18%,0%,9%) (0.09/0.18/0.00/0.09)
D2 | BE | E7 | |
---|---|---|---|
RGB | 210 | 190 | 231 |
HSL | 269° | 46.07% | 82.55% |
HSB/HSV | 269° | 17.75% | 90.59% |
CMYK | 9.09% | 17.75% | 0.00% |
9.41% |
HEX | D2 | BE | E7 |
Decimal | 210 | 190 | 231 |
Binary | 11010010 | 10111110 | 11100111 |
Octal | 322 | 276 | 347 |
Examples of css and html codes for elements with #D2BEE7 color. Also use rgb(210,190,231) instead hex code.
.myTextColor { color: #D2BEE7; }
<p style="color:#D2BEE7">This sample text font color is #D2BEE7.</p>
This text font color is #D2BEE7.
.myBgColor { background-color: #D2BEE7; }
<div style="background-color:#D2BEE7">Inner text</div>
This div background color is #D2BEE7.
.myBorderColor { border: 1px solid #D2BEE7; }
<div style="border:3px solid #D2BEE7">Div</div>
This div border color is #D2BEE7.
.myOpacity80 { color: #D2BEE7; opacity: 0.8; }
<p style="color:#D2BEE7;opacity:0.8;">80%</p>
Text with #D2BEE7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D2BEE7;}
<p style="text-shadow: 3px 3px 1px #D2BEE7">Text here.</p>
This text has shadow with #D2BEE7 color.
.textShadow {text-shadow: 3px 3px 1px #D2BEE7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D2BEE7, 5px 5px 20px red">Text here.</p>
This text has shadow with #D2BEE7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D2BEE7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D2BEE7, Direction=45, Strength=4)">Text</p>
This text has shadow with #D2BEE7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D2BEE7; -webkit-box-shadow: 1px 1px 3px 2px #D2BEE7; box-shadow: 1px 1px 3px 2px #D2BEE7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D2BEE7; -webkit-box-shadow: 1px 1px 3px 2px #D2BEE7; box-shadow:1px 1px 3px 2px #D2BEE7;">
Div content here</div>
This text has color #D2BEE7 on black background.
This text has color #D2BEE7 on white background.
This text has black color on #D2BEE7 background.
This text has white color on #D2BEE7 background.