HEX: #DAB5DC
RGB: (218,181,220)
#DAB5DC contains red, green and blue colors in about the same proportion. Web safe color of #DAB5DC is #CCCCCC (or #CCC).
#DAB5DC color RGB value is (218,181,220).
RGB: (218,181,220) (85%,71%,86%)
R 218 of 255 = 85%
G 181 of 255 = 71%
B 220 of 255 = 86%
R + G + B ~ 81%. #DAB5DC is quite light color.
R + G + B =
218 + 181 + 220 = 619 (100%)
R 218 of 619 ~ 35.22%
G 181 of 619 ~ 29.24%
B 220 of 619 ~ 35.54%
#DAB5DC color CMYK value is (1,18,0,14).
CMYK: (1,18,0,14) C1M18Y0K14 (1%,18%,0%,14%) (0.01/0.18/0.00/0.14)
DA | B5 | DC | |
---|---|---|---|
RGB | 218 | 181 | 220 |
HSL | 297° | 35.78% | 78.63% |
HSB/HSV | 297° | 17.73% | 86.27% |
CMYK | 0.91% | 17.73% | 0.00% |
13.73% |
HEX | DA | B5 | DC |
Decimal | 218 | 181 | 220 |
Binary | 11011010 | 10110101 | 11011100 |
Octal | 332 | 265 | 334 |
Examples of css and html codes for elements with #DAB5DC color. Also use rgb(218,181,220) instead hex code.
.myTextColor { color: #DAB5DC; }
<p style="color:#DAB5DC">This sample text font color is #DAB5DC.</p>
This text font color is #DAB5DC.
.myBgColor { background-color: #DAB5DC; }
<div style="background-color:#DAB5DC">Inner text</div>
This div background color is #DAB5DC.
.myBorderColor { border: 1px solid #DAB5DC; }
<div style="border:3px solid #DAB5DC">Div</div>
This div border color is #DAB5DC.
.myOpacity80 { color: #DAB5DC; opacity: 0.8; }
<p style="color:#DAB5DC;opacity:0.8;">80%</p>
Text with #DAB5DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DAB5DC;}
<p style="text-shadow: 3px 3px 1px #DAB5DC">Text here.</p>
This text has shadow with #DAB5DC color.
.textShadow {text-shadow: 3px 3px 1px #DAB5DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DAB5DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #DAB5DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DAB5DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DAB5DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #DAB5DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DAB5DC; -webkit-box-shadow: 1px 1px 3px 2px #DAB5DC; box-shadow: 1px 1px 3px 2px #DAB5DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DAB5DC; -webkit-box-shadow: 1px 1px 3px 2px #DAB5DC; box-shadow:1px 1px 3px 2px #DAB5DC;">
Div content here</div>
This text has color #DAB5DC on black background.
This text has color #DAB5DC on white background.
This text has black color on #DAB5DC background.
This text has white color on #DAB5DC background.