HEX: #D5A6FA
RGB: (213,166,250)
#D5A6FA contains mainly red and blue colors. Web safe color of #D5A6FA is #CC99FF (or #C9F).
#D5A6FA color RGB value is (213,166,250).
RGB: (213,166,250) (84%,65%,98%)
R 213 of 255 = 84%
G 166 of 255 = 65%
B 250 of 255 = 98%
R + G + B ~ 82%. #D5A6FA is quite light color.
R + G + B =
213 + 166 + 250 = 629 (100%)
R 213 of 629 ~ 33.86%
G 166 of 629 ~ 26.39%
B 250 of 629 ~ 39.75%
#D5A6FA color CMYK value is (15,34,0,2).
CMYK: (15,34,0,2) C15M34Y0K2 (15%,34%,0%,2%) (0.15/0.34/0.00/0.02)
D5 | A6 | FA | |
---|---|---|---|
RGB | 213 | 166 | 250 |
HSL | 274° | 89.36% | 81.57% |
HSB/HSV | 274° | 33.60% | 98.04% |
CMYK | 14.80% | 33.60% | 0.00% |
1.96% |
HEX | D5 | A6 | FA |
Decimal | 213 | 166 | 250 |
Binary | 11010101 | 10100110 | 11111010 |
Octal | 325 | 246 | 372 |
Examples of css and html codes for elements with #D5A6FA color. Also use rgb(213,166,250) instead hex code.
.myTextColor { color: #D5A6FA; }
<p style="color:#D5A6FA">This sample text font color is #D5A6FA.</p>
This text font color is #D5A6FA.
.myBgColor { background-color: #D5A6FA; }
<div style="background-color:#D5A6FA">Inner text</div>
This div background color is #D5A6FA.
.myBorderColor { border: 1px solid #D5A6FA; }
<div style="border:3px solid #D5A6FA">Div</div>
This div border color is #D5A6FA.
.myOpacity80 { color: #D5A6FA; opacity: 0.8; }
<p style="color:#D5A6FA;opacity:0.8;">80%</p>
Text with #D5A6FA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5A6FA;}
<p style="text-shadow: 3px 3px 1px #D5A6FA">Text here.</p>
This text has shadow with #D5A6FA color.
.textShadow {text-shadow: 3px 3px 1px #D5A6FA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5A6FA, 5px 5px 20px red">Text here.</p>
This text has shadow with #D5A6FA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5A6FA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5A6FA, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5A6FA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5A6FA; -webkit-box-shadow: 1px 1px 3px 2px #D5A6FA; box-shadow: 1px 1px 3px 2px #D5A6FA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5A6FA; -webkit-box-shadow: 1px 1px 3px 2px #D5A6FA; box-shadow:1px 1px 3px 2px #D5A6FA;">
Div content here</div>
This text has color #D5A6FA on black background.
This text has color #D5A6FA on white background.
This text has black color on #D5A6FA background.
This text has white color on #D5A6FA background.