HEX: #D99FEB
RGB: (217,159,235)
#D99FEB contains mainly red and blue colors. Web safe color of #D99FEB is #CC99FF (or #C9F).
#D99FEB color RGB value is (217,159,235).
RGB: (217,159,235) (85%,62%,92%)
R 217 of 255 = 85%
G 159 of 255 = 62%
B 235 of 255 = 92%
R + G + B ~ 80%. #D99FEB is quite light color.
R + G + B =
217 + 159 + 235 = 611 (100%)
R 217 of 611 ~ 35.52%
G 159 of 611 ~ 26.02%
B 235 of 611 ~ 38.46%
#D99FEB color CMYK value is (8,32,0,8).
CMYK: (8,32,0,8) C8M32Y0K8 (8%,32%,0%,8%) (0.08/0.32/0.00/0.08)
D9 | 9F | EB | |
---|---|---|---|
RGB | 217 | 159 | 235 |
HSL | 286° | 65.52% | 77.25% |
HSB/HSV | 286° | 32.34% | 92.16% |
CMYK | 7.66% | 32.34% | 0.00% |
7.84% |
HEX | D9 | 9F | EB |
Decimal | 217 | 159 | 235 |
Binary | 11011001 | 10011111 | 11101011 |
Octal | 331 | 237 | 353 |
Examples of css and html codes for elements with #D99FEB color. Also use rgb(217,159,235) instead hex code.
.myTextColor { color: #D99FEB; }
<p style="color:#D99FEB">This sample text font color is #D99FEB.</p>
This text font color is #D99FEB.
.myBgColor { background-color: #D99FEB; }
<div style="background-color:#D99FEB">Inner text</div>
This div background color is #D99FEB.
.myBorderColor { border: 1px solid #D99FEB; }
<div style="border:3px solid #D99FEB">Div</div>
This div border color is #D99FEB.
.myOpacity80 { color: #D99FEB; opacity: 0.8; }
<p style="color:#D99FEB;opacity:0.8;">80%</p>
Text with #D99FEB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D99FEB;}
<p style="text-shadow: 3px 3px 1px #D99FEB">Text here.</p>
This text has shadow with #D99FEB color.
.textShadow {text-shadow: 3px 3px 1px #D99FEB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D99FEB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D99FEB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D99FEB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D99FEB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D99FEB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D99FEB; -webkit-box-shadow: 1px 1px 3px 2px #D99FEB; box-shadow: 1px 1px 3px 2px #D99FEB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D99FEB; -webkit-box-shadow: 1px 1px 3px 2px #D99FEB; box-shadow:1px 1px 3px 2px #D99FEB;">
Div content here</div>
This text has color #D99FEB on black background.
This text has color #D99FEB on white background.
This text has black color on #D99FEB background.
This text has white color on #D99FEB background.