HEX: #D6A1EB
RGB: (214,161,235)
#D6A1EB contains mainly red and blue colors. Web safe color of #D6A1EB is #CC99FF (or #C9F).
#D6A1EB color RGB value is (214,161,235).
RGB: (214,161,235) (84%,63%,92%)
R 214 of 255 = 84%
G 161 of 255 = 63%
B 235 of 255 = 92%
R + G + B ~ 80%. #D6A1EB is quite light color.
R + G + B =
214 + 161 + 235 = 610 (100%)
R 214 of 610 ~ 35.08%
G 161 of 610 ~ 26.39%
B 235 of 610 ~ 38.52%
#D6A1EB color CMYK value is (9,31,0,8).
CMYK: (9,31,0,8) C9M31Y0K8 (9%,31%,0%,8%) (0.09/0.31/0.00/0.08)
D6 | A1 | EB | |
---|---|---|---|
RGB | 214 | 161 | 235 |
HSL | 283° | 64.91% | 77.65% |
HSB/HSV | 283° | 31.49% | 92.16% |
CMYK | 8.94% | 31.49% | 0.00% |
7.84% |
HEX | D6 | A1 | EB |
Decimal | 214 | 161 | 235 |
Binary | 11010110 | 10100001 | 11101011 |
Octal | 326 | 241 | 353 |
Examples of css and html codes for elements with #D6A1EB color. Also use rgb(214,161,235) instead hex code.
.myTextColor { color: #D6A1EB; }
<p style="color:#D6A1EB">This sample text font color is #D6A1EB.</p>
This text font color is #D6A1EB.
.myBgColor { background-color: #D6A1EB; }
<div style="background-color:#D6A1EB">Inner text</div>
This div background color is #D6A1EB.
.myBorderColor { border: 1px solid #D6A1EB; }
<div style="border:3px solid #D6A1EB">Div</div>
This div border color is #D6A1EB.
.myOpacity80 { color: #D6A1EB; opacity: 0.8; }
<p style="color:#D6A1EB;opacity:0.8;">80%</p>
Text with #D6A1EB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D6A1EB;}
<p style="text-shadow: 3px 3px 1px #D6A1EB">Text here.</p>
This text has shadow with #D6A1EB color.
.textShadow {text-shadow: 3px 3px 1px #D6A1EB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D6A1EB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D6A1EB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D6A1EB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D6A1EB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D6A1EB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D6A1EB; -webkit-box-shadow: 1px 1px 3px 2px #D6A1EB; box-shadow: 1px 1px 3px 2px #D6A1EB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D6A1EB; -webkit-box-shadow: 1px 1px 3px 2px #D6A1EB; box-shadow:1px 1px 3px 2px #D6A1EB;">
Div content here</div>
This text has color #D6A1EB on black background.
This text has color #D6A1EB on white background.
This text has black color on #D6A1EB background.
This text has white color on #D6A1EB background.