HEX: #D4ABDB
RGB: (212,171,219)
#D4ABDB contains red, green and blue colors in about the same proportion. Web safe color of #D4ABDB is #CC99CC (or #C9C).
#D4ABDB color RGB value is (212,171,219).
RGB: (212,171,219) (83%,67%,86%)
R 212 of 255 = 83%
G 171 of 255 = 67%
B 219 of 255 = 86%
R + G + B ~ 79%. #D4ABDB is quite light color.
R + G + B =
212 + 171 + 219 = 602 (100%)
R 212 of 602 ~ 35.22%
G 171 of 602 ~ 28.41%
B 219 of 602 ~ 36.38%
#D4ABDB color CMYK value is (3,22,0,14).
CMYK: (3,22,0,14) C3M22Y0K14 (3%,22%,0%,14%) (0.03/0.22/0.00/0.14)
D4 | AB | DB | |
---|---|---|---|
RGB | 212 | 171 | 219 |
HSL | 291° | 40.00% | 76.47% |
HSB/HSV | 291° | 21.92% | 85.88% |
CMYK | 3.20% | 21.92% | 0.00% |
14.12% |
HEX | D4 | AB | DB |
Decimal | 212 | 171 | 219 |
Binary | 11010100 | 10101011 | 11011011 |
Octal | 324 | 253 | 333 |
Examples of css and html codes for elements with #D4ABDB color. Also use rgb(212,171,219) instead hex code.
.myTextColor { color: #D4ABDB; }
<p style="color:#D4ABDB">This sample text font color is #D4ABDB.</p>
This text font color is #D4ABDB.
.myBgColor { background-color: #D4ABDB; }
<div style="background-color:#D4ABDB">Inner text</div>
This div background color is #D4ABDB.
.myBorderColor { border: 1px solid #D4ABDB; }
<div style="border:3px solid #D4ABDB">Div</div>
This div border color is #D4ABDB.
.myOpacity80 { color: #D4ABDB; opacity: 0.8; }
<p style="color:#D4ABDB;opacity:0.8;">80%</p>
Text with #D4ABDB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4ABDB;}
<p style="text-shadow: 3px 3px 1px #D4ABDB">Text here.</p>
This text has shadow with #D4ABDB color.
.textShadow {text-shadow: 3px 3px 1px #D4ABDB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4ABDB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4ABDB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4ABDB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4ABDB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4ABDB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4ABDB; -webkit-box-shadow: 1px 1px 3px 2px #D4ABDB; box-shadow: 1px 1px 3px 2px #D4ABDB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4ABDB; -webkit-box-shadow: 1px 1px 3px 2px #D4ABDB; box-shadow:1px 1px 3px 2px #D4ABDB;">
Div content here</div>
This text has color #D4ABDB on black background.
This text has color #D4ABDB on white background.
This text has black color on #D4ABDB background.
This text has white color on #D4ABDB background.