HEX: #D7BAE6
RGB: (215,186,230)
#D7BAE6 contains red, green and blue colors in about the same proportion. Web safe color of #D7BAE6 is #CCCCCC (or #CCC).
#D7BAE6 color RGB value is (215,186,230).
RGB: (215,186,230) (84%,73%,90%)
R 215 of 255 = 84%
G 186 of 255 = 73%
B 230 of 255 = 90%
R + G + B ~ 82%. #D7BAE6 is quite light color.
R + G + B =
215 + 186 + 230 = 631 (100%)
R 215 of 631 ~ 34.07%
G 186 of 631 ~ 29.48%
B 230 of 631 ~ 36.45%
#D7BAE6 color CMYK value is (7,19,0,10).
CMYK: (7,19,0,10) C7M19Y0K10 (7%,19%,0%,10%) (0.07/0.19/0.00/0.10)
D7 | BA | E6 | |
---|---|---|---|
RGB | 215 | 186 | 230 |
HSL | 280° | 46.81% | 81.57% |
HSB/HSV | 280° | 19.13% | 90.20% |
CMYK | 6.52% | 19.13% | 0.00% |
9.80% |
HEX | D7 | BA | E6 |
Decimal | 215 | 186 | 230 |
Binary | 11010111 | 10111010 | 11100110 |
Octal | 327 | 272 | 346 |
Examples of css and html codes for elements with #D7BAE6 color. Also use rgb(215,186,230) instead hex code.
.myTextColor { color: #D7BAE6; }
<p style="color:#D7BAE6">This sample text font color is #D7BAE6.</p>
This text font color is #D7BAE6.
.myBgColor { background-color: #D7BAE6; }
<div style="background-color:#D7BAE6">Inner text</div>
This div background color is #D7BAE6.
.myBorderColor { border: 1px solid #D7BAE6; }
<div style="border:3px solid #D7BAE6">Div</div>
This div border color is #D7BAE6.
.myOpacity80 { color: #D7BAE6; opacity: 0.8; }
<p style="color:#D7BAE6;opacity:0.8;">80%</p>
Text with #D7BAE6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7BAE6;}
<p style="text-shadow: 3px 3px 1px #D7BAE6">Text here.</p>
This text has shadow with #D7BAE6 color.
.textShadow {text-shadow: 3px 3px 1px #D7BAE6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7BAE6, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7BAE6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7BAE6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7BAE6, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7BAE6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7BAE6; -webkit-box-shadow: 1px 1px 3px 2px #D7BAE6; box-shadow: 1px 1px 3px 2px #D7BAE6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7BAE6; -webkit-box-shadow: 1px 1px 3px 2px #D7BAE6; box-shadow:1px 1px 3px 2px #D7BAE6;">
Div content here</div>
This text has color #D7BAE6 on black background.
This text has color #D7BAE6 on white background.
This text has black color on #D7BAE6 background.
This text has white color on #D7BAE6 background.