HEX: #D8B4DD
RGB: (216,180,221)
#D8B4DD contains red, green and blue colors in about the same proportion. Web safe color of #D8B4DD is #CCCCCC (or #CCC).
#D8B4DD color RGB value is (216,180,221).
RGB: (216,180,221) (85%,71%,87%)
R 216 of 255 = 85%
G 180 of 255 = 71%
B 221 of 255 = 87%
R + G + B ~ 81%. #D8B4DD is quite light color.
R + G + B =
216 + 180 + 221 = 617 (100%)
R 216 of 617 ~ 35.01%
G 180 of 617 ~ 29.17%
B 221 of 617 ~ 35.82%
#D8B4DD color CMYK value is (2,19,0,13).
CMYK: (2,19,0,13) C2M19Y0K13 (2%,19%,0%,13%) (0.02/0.19/0.00/0.13)
D8 | B4 | DD | |
---|---|---|---|
RGB | 216 | 180 | 221 |
HSL | 293° | 37.61% | 78.63% |
HSB/HSV | 293° | 18.55% | 86.67% |
CMYK | 2.26% | 18.55% | 0.00% |
13.33% |
HEX | D8 | B4 | DD |
Decimal | 216 | 180 | 221 |
Binary | 11011000 | 10110100 | 11011101 |
Octal | 330 | 264 | 335 |
Examples of css and html codes for elements with #D8B4DD color. Also use rgb(216,180,221) instead hex code.
.myTextColor { color: #D8B4DD; }
<p style="color:#D8B4DD">This sample text font color is #D8B4DD.</p>
This text font color is #D8B4DD.
.myBgColor { background-color: #D8B4DD; }
<div style="background-color:#D8B4DD">Inner text</div>
This div background color is #D8B4DD.
.myBorderColor { border: 1px solid #D8B4DD; }
<div style="border:3px solid #D8B4DD">Div</div>
This div border color is #D8B4DD.
.myOpacity80 { color: #D8B4DD; opacity: 0.8; }
<p style="color:#D8B4DD;opacity:0.8;">80%</p>
Text with #D8B4DD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D8B4DD;}
<p style="text-shadow: 3px 3px 1px #D8B4DD">Text here.</p>
This text has shadow with #D8B4DD color.
.textShadow {text-shadow: 3px 3px 1px #D8B4DD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D8B4DD, 5px 5px 20px red">Text here.</p>
This text has shadow with #D8B4DD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8B4DD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D8B4DD, Direction=45, Strength=4)">Text</p>
This text has shadow with #D8B4DD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D8B4DD; -webkit-box-shadow: 1px 1px 3px 2px #D8B4DD; box-shadow: 1px 1px 3px 2px #D8B4DD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D8B4DD; -webkit-box-shadow: 1px 1px 3px 2px #D8B4DD; box-shadow:1px 1px 3px 2px #D8B4DD;">
Div content here</div>
This text has color #D8B4DD on black background.
This text has color #D8B4DD on white background.
This text has black color on #D8B4DD background.
This text has white color on #D8B4DD background.