HEX: #D99EF6
RGB: (217,158,246)
#D99EF6 contains mainly red and blue colors. Web safe color of #D99EF6 is #CC99FF (or #C9F).
#D99EF6 color RGB value is (217,158,246).
RGB: (217,158,246) (85%,62%,96%)
R 217 of 255 = 85%
G 158 of 255 = 62%
B 246 of 255 = 96%
R + G + B ~ 81%. #D99EF6 is quite light color.
R + G + B =
217 + 158 + 246 = 621 (100%)
R 217 of 621 ~ 34.94%
G 158 of 621 ~ 25.44%
B 246 of 621 ~ 39.61%
#D99EF6 color CMYK value is (12,36,0,4).
CMYK: (12,36,0,4) C12M36Y0K4 (12%,36%,0%,4%) (0.12/0.36/0.00/0.04)
D9 | 9E | F6 | |
---|---|---|---|
RGB | 217 | 158 | 246 |
HSL | 280° | 83.02% | 79.22% |
HSB/HSV | 280° | 35.77% | 96.47% |
CMYK | 11.79% | 35.77% | 0.00% |
3.53% |
HEX | D9 | 9E | F6 |
Decimal | 217 | 158 | 246 |
Binary | 11011001 | 10011110 | 11110110 |
Octal | 331 | 236 | 366 |
Examples of css and html codes for elements with #D99EF6 color. Also use rgb(217,158,246) instead hex code.
.myTextColor { color: #D99EF6; }
<p style="color:#D99EF6">This sample text font color is #D99EF6.</p>
This text font color is #D99EF6.
.myBgColor { background-color: #D99EF6; }
<div style="background-color:#D99EF6">Inner text</div>
This div background color is #D99EF6.
.myBorderColor { border: 1px solid #D99EF6; }
<div style="border:3px solid #D99EF6">Div</div>
This div border color is #D99EF6.
.myOpacity80 { color: #D99EF6; opacity: 0.8; }
<p style="color:#D99EF6;opacity:0.8;">80%</p>
Text with #D99EF6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D99EF6;}
<p style="text-shadow: 3px 3px 1px #D99EF6">Text here.</p>
This text has shadow with #D99EF6 color.
.textShadow {text-shadow: 3px 3px 1px #D99EF6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D99EF6, 5px 5px 20px red">Text here.</p>
This text has shadow with #D99EF6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D99EF6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D99EF6, Direction=45, Strength=4)">Text</p>
This text has shadow with #D99EF6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D99EF6; -webkit-box-shadow: 1px 1px 3px 2px #D99EF6; box-shadow: 1px 1px 3px 2px #D99EF6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D99EF6; -webkit-box-shadow: 1px 1px 3px 2px #D99EF6; box-shadow:1px 1px 3px 2px #D99EF6;">
Div content here</div>
This text has color #D99EF6 on black background.
This text has color #D99EF6 on white background.
This text has black color on #D99EF6 background.
This text has white color on #D99EF6 background.