HEX: #D4ABDC
RGB: (212,171,220)
#D4ABDC contains red, green and blue colors in about the same proportion. Web safe color of #D4ABDC is #CC99CC (or #C9C).
#D4ABDC color RGB value is (212,171,220).
RGB: (212,171,220) (83%,67%,86%)
R 212 of 255 = 83%
G 171 of 255 = 67%
B 220 of 255 = 86%
R + G + B ~ 79%. #D4ABDC is quite light color.
R + G + B =
212 + 171 + 220 = 603 (100%)
R 212 of 603 ~ 35.16%
G 171 of 603 ~ 28.36%
B 220 of 603 ~ 36.48%
#D4ABDC color CMYK value is (4,22,0,14).
CMYK: (4,22,0,14) C4M22Y0K14 (4%,22%,0%,14%) (0.04/0.22/0.00/0.14)
D4 | AB | DC | |
---|---|---|---|
RGB | 212 | 171 | 220 |
HSL | 290° | 41.18% | 76.67% |
HSB/HSV | 290° | 22.27% | 86.27% |
CMYK | 3.64% | 22.27% | 0.00% |
13.73% |
HEX | D4 | AB | DC |
Decimal | 212 | 171 | 220 |
Binary | 11010100 | 10101011 | 11011100 |
Octal | 324 | 253 | 334 |
Examples of css and html codes for elements with #D4ABDC color. Also use rgb(212,171,220) instead hex code.
.myTextColor { color: #D4ABDC; }
<p style="color:#D4ABDC">This sample text font color is #D4ABDC.</p>
This text font color is #D4ABDC.
.myBgColor { background-color: #D4ABDC; }
<div style="background-color:#D4ABDC">Inner text</div>
This div background color is #D4ABDC.
.myBorderColor { border: 1px solid #D4ABDC; }
<div style="border:3px solid #D4ABDC">Div</div>
This div border color is #D4ABDC.
.myOpacity80 { color: #D4ABDC; opacity: 0.8; }
<p style="color:#D4ABDC;opacity:0.8;">80%</p>
Text with #D4ABDC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4ABDC;}
<p style="text-shadow: 3px 3px 1px #D4ABDC">Text here.</p>
This text has shadow with #D4ABDC color.
.textShadow {text-shadow: 3px 3px 1px #D4ABDC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4ABDC, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4ABDC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4ABDC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4ABDC, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4ABDC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4ABDC; -webkit-box-shadow: 1px 1px 3px 2px #D4ABDC; box-shadow: 1px 1px 3px 2px #D4ABDC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4ABDC; -webkit-box-shadow: 1px 1px 3px 2px #D4ABDC; box-shadow:1px 1px 3px 2px #D4ABDC;">
Div content here</div>
This text has color #D4ABDC on black background.
This text has color #D4ABDC on white background.
This text has black color on #D4ABDC background.
This text has white color on #D4ABDC background.