HEX: #D7B2EA
RGB: (215,178,234)
#D7B2EA contains red, green and blue colors in about the same proportion. Web safe color of #D7B2EA is #CC99FF (or #C9F).
#D7B2EA color RGB value is (215,178,234).
RGB: (215,178,234) (84%,70%,92%)
R 215 of 255 = 84%
G 178 of 255 = 70%
B 234 of 255 = 92%
R + G + B ~ 82%. #D7B2EA is quite light color.
R + G + B =
215 + 178 + 234 = 627 (100%)
R 215 of 627 ~ 34.29%
G 178 of 627 ~ 28.39%
B 234 of 627 ~ 37.32%
#D7B2EA color CMYK value is (8,24,0,8).
CMYK: (8,24,0,8) C8M24Y0K8 (8%,24%,0%,8%) (0.08/0.24/0.00/0.08)
D7 | B2 | EA | |
---|---|---|---|
RGB | 215 | 178 | 234 |
HSL | 280° | 57.14% | 80.78% |
HSB/HSV | 280° | 23.93% | 91.76% |
CMYK | 8.12% | 23.93% | 0.00% |
8.24% |
HEX | D7 | B2 | EA |
Decimal | 215 | 178 | 234 |
Binary | 11010111 | 10110010 | 11101010 |
Octal | 327 | 262 | 352 |
Examples of css and html codes for elements with #D7B2EA color. Also use rgb(215,178,234) instead hex code.
.myTextColor { color: #D7B2EA; }
<p style="color:#D7B2EA">This sample text font color is #D7B2EA.</p>
This text font color is #D7B2EA.
.myBgColor { background-color: #D7B2EA; }
<div style="background-color:#D7B2EA">Inner text</div>
This div background color is #D7B2EA.
.myBorderColor { border: 1px solid #D7B2EA; }
<div style="border:3px solid #D7B2EA">Div</div>
This div border color is #D7B2EA.
.myOpacity80 { color: #D7B2EA; opacity: 0.8; }
<p style="color:#D7B2EA;opacity:0.8;">80%</p>
Text with #D7B2EA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7B2EA;}
<p style="text-shadow: 3px 3px 1px #D7B2EA">Text here.</p>
This text has shadow with #D7B2EA color.
.textShadow {text-shadow: 3px 3px 1px #D7B2EA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7B2EA, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7B2EA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7B2EA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7B2EA, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7B2EA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7B2EA; -webkit-box-shadow: 1px 1px 3px 2px #D7B2EA; box-shadow: 1px 1px 3px 2px #D7B2EA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7B2EA; -webkit-box-shadow: 1px 1px 3px 2px #D7B2EA; box-shadow:1px 1px 3px 2px #D7B2EA;">
Div content here</div>
This text has color #D7B2EA on black background.
This text has color #D7B2EA on white background.
This text has black color on #D7B2EA background.
This text has white color on #D7B2EA background.