HEX: #D4ABFF
RGB: (212,171,255)
#D4ABFF contains mainly red and blue colors. Web safe color of #D4ABFF is #CC99FF (or #C9F).
#D4ABFF color RGB value is (212,171,255).
RGB: (212,171,255) (83%,67%,100%)
R 212 of 255 = 83%
G 171 of 255 = 67%
B 255 of 255 = 100%
R + G + B ~ 83%. #D4ABFF is quite light color.
R + G + B =
212 + 171 + 255 = 638 (100%)
R 212 of 638 ~ 33.23%
G 171 of 638 ~ 26.8%
B 255 of 638 ~ 39.97%
#D4ABFF color CMYK value is (17,33,0,0).
CMYK: (17,33,0,0) C17M33Y0K0 (17%,33%,0%,0%) (0.17/0.33/0.00/0.00)
D4 | AB | FF | |
---|---|---|---|
RGB | 212 | 171 | 255 |
HSL | 269° | 100.00% | 83.53% |
HSB/HSV | 269° | 32.94% | 100.00% |
CMYK | 16.86% | 32.94% | 0.00% |
0.00% |
HEX | D4 | AB | FF |
Decimal | 212 | 171 | 255 |
Binary | 11010100 | 10101011 | 11111111 |
Octal | 324 | 253 | 377 |
Examples of css and html codes for elements with #D4ABFF color. Also use rgb(212,171,255) instead hex code.
.myTextColor { color: #D4ABFF; }
<p style="color:#D4ABFF">This sample text font color is #D4ABFF.</p>
This text font color is #D4ABFF.
.myBgColor { background-color: #D4ABFF; }
<div style="background-color:#D4ABFF">Inner text</div>
This div background color is #D4ABFF.
.myBorderColor { border: 1px solid #D4ABFF; }
<div style="border:3px solid #D4ABFF">Div</div>
This div border color is #D4ABFF.
.myOpacity80 { color: #D4ABFF; opacity: 0.8; }
<p style="color:#D4ABFF;opacity:0.8;">80%</p>
Text with #D4ABFF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4ABFF;}
<p style="text-shadow: 3px 3px 1px #D4ABFF">Text here.</p>
This text has shadow with #D4ABFF color.
.textShadow {text-shadow: 3px 3px 1px #D4ABFF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4ABFF, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4ABFF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4ABFF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4ABFF, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4ABFF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4ABFF; -webkit-box-shadow: 1px 1px 3px 2px #D4ABFF; box-shadow: 1px 1px 3px 2px #D4ABFF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4ABFF; -webkit-box-shadow: 1px 1px 3px 2px #D4ABFF; box-shadow:1px 1px 3px 2px #D4ABFF;">
Div content here</div>
This text has color #D4ABFF on black background.
This text has color #D4ABFF on white background.
This text has black color on #D4ABFF background.
This text has white color on #D4ABFF background.