HEX: #D4B8DA
RGB: (212,184,218)
#D4B8DA contains red, green and blue colors in about the same proportion. Web safe color of #D4B8DA is #CCCCCC (or #CCC).
#D4B8DA color RGB value is (212,184,218).
RGB: (212,184,218) (83%,72%,85%)
R 212 of 255 = 83%
G 184 of 255 = 72%
B 218 of 255 = 85%
R + G + B ~ 80%. #D4B8DA is quite light color.
R + G + B =
212 + 184 + 218 = 614 (100%)
R 212 of 614 ~ 34.53%
G 184 of 614 ~ 29.97%
B 218 of 614 ~ 35.5%
#D4B8DA color CMYK value is (3,16,0,15).
CMYK: (3,16,0,15) C3M16Y0K15 (3%,16%,0%,15%) (0.03/0.16/0.00/0.15)
D4 | B8 | DA | |
---|---|---|---|
RGB | 212 | 184 | 218 |
HSL | 289° | 31.48% | 78.82% |
HSB/HSV | 289° | 15.60% | 85.49% |
CMYK | 2.75% | 15.60% | 0.00% |
14.51% |
HEX | D4 | B8 | DA |
Decimal | 212 | 184 | 218 |
Binary | 11010100 | 10111000 | 11011010 |
Octal | 324 | 270 | 332 |
Examples of css and html codes for elements with #D4B8DA color. Also use rgb(212,184,218) instead hex code.
.myTextColor { color: #D4B8DA; }
<p style="color:#D4B8DA">This sample text font color is #D4B8DA.</p>
This text font color is #D4B8DA.
.myBgColor { background-color: #D4B8DA; }
<div style="background-color:#D4B8DA">Inner text</div>
This div background color is #D4B8DA.
.myBorderColor { border: 1px solid #D4B8DA; }
<div style="border:3px solid #D4B8DA">Div</div>
This div border color is #D4B8DA.
.myOpacity80 { color: #D4B8DA; opacity: 0.8; }
<p style="color:#D4B8DA;opacity:0.8;">80%</p>
Text with #D4B8DA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4B8DA;}
<p style="text-shadow: 3px 3px 1px #D4B8DA">Text here.</p>
This text has shadow with #D4B8DA color.
.textShadow {text-shadow: 3px 3px 1px #D4B8DA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4B8DA, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4B8DA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4B8DA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4B8DA, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4B8DA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4B8DA; -webkit-box-shadow: 1px 1px 3px 2px #D4B8DA; box-shadow: 1px 1px 3px 2px #D4B8DA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4B8DA; -webkit-box-shadow: 1px 1px 3px 2px #D4B8DA; box-shadow:1px 1px 3px 2px #D4B8DA;">
Div content here</div>
This text has color #D4B8DA on black background.
This text has color #D4B8DA on white background.
This text has black color on #D4B8DA background.
This text has white color on #D4B8DA background.