HEX: #DAA0DD
RGB: (218,160,221)
#DAA0DD contains mainly red and blue colors. Web safe color of #DAA0DD is #CC99CC (or #C9C).
#DAA0DD color RGB value is (218,160,221).
RGB: (218,160,221) (85%,63%,87%)
R 218 of 255 = 85%
G 160 of 255 = 63%
B 221 of 255 = 87%
R + G + B ~ 78%. #DAA0DD is quite light color.
R + G + B =
218 + 160 + 221 = 599 (100%)
R 218 of 599 ~ 36.39%
G 160 of 599 ~ 26.71%
B 221 of 599 ~ 36.89%
#DAA0DD color CMYK value is (1,28,0,13).
CMYK: (1,28,0,13) C1M28Y0K13 (1%,28%,0%,13%) (0.01/0.28/0.00/0.13)
DA | A0 | DD | |
---|---|---|---|
RGB | 218 | 160 | 221 |
HSL | 297° | 47.29% | 74.71% |
HSB/HSV | 297° | 27.60% | 86.67% |
CMYK | 1.36% | 27.60% | 0.00% |
13.33% |
HEX | DA | A0 | DD |
Decimal | 218 | 160 | 221 |
Binary | 11011010 | 10100000 | 11011101 |
Octal | 332 | 240 | 335 |
Examples of css and html codes for elements with #DAA0DD color. Also use rgb(218,160,221) instead hex code.
.myTextColor { color: #DAA0DD; }
<p style="color:#DAA0DD">This sample text font color is #DAA0DD.</p>
This text font color is #DAA0DD.
.myBgColor { background-color: #DAA0DD; }
<div style="background-color:#DAA0DD">Inner text</div>
This div background color is #DAA0DD.
.myBorderColor { border: 1px solid #DAA0DD; }
<div style="border:3px solid #DAA0DD">Div</div>
This div border color is #DAA0DD.
.myOpacity80 { color: #DAA0DD; opacity: 0.8; }
<p style="color:#DAA0DD;opacity:0.8;">80%</p>
Text with #DAA0DD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DAA0DD;}
<p style="text-shadow: 3px 3px 1px #DAA0DD">Text here.</p>
This text has shadow with #DAA0DD color.
.textShadow {text-shadow: 3px 3px 1px #DAA0DD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DAA0DD, 5px 5px 20px red">Text here.</p>
This text has shadow with #DAA0DD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DAA0DD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DAA0DD, Direction=45, Strength=4)">Text</p>
This text has shadow with #DAA0DD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DAA0DD; -webkit-box-shadow: 1px 1px 3px 2px #DAA0DD; box-shadow: 1px 1px 3px 2px #DAA0DD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DAA0DD; -webkit-box-shadow: 1px 1px 3px 2px #DAA0DD; box-shadow:1px 1px 3px 2px #DAA0DD;">
Div content here</div>
This text has color #DAA0DD on black background.
This text has color #DAA0DD on white background.
This text has black color on #DAA0DD background.
This text has white color on #DAA0DD background.