HEX: #D996DE
RGB: (217,150,222)
#D996DE contains mainly red and blue colors. Web safe color of #D996DE is #CC99CC (or #C9C).
#D996DE color RGB value is (217,150,222).
RGB: (217,150,222) (85%,59%,87%)
R 217 of 255 = 85%
G 150 of 255 = 59%
B 222 of 255 = 87%
R + G + B ~ 77%. #D996DE is quite light color.
R + G + B =
217 + 150 + 222 = 589 (100%)
R 217 of 589 ~ 36.84%
G 150 of 589 ~ 25.47%
B 222 of 589 ~ 37.69%
#D996DE color CMYK value is (2,32,0,13).
CMYK: (2,32,0,13) C2M32Y0K13 (2%,32%,0%,13%) (0.02/0.32/0.00/0.13)
D9 | 96 | DE | |
---|---|---|---|
RGB | 217 | 150 | 222 |
HSL | 296° | 52.17% | 72.94% |
HSB/HSV | 296° | 32.43% | 87.06% |
CMYK | 2.25% | 32.43% | 0.00% |
12.94% |
HEX | D9 | 96 | DE |
Decimal | 217 | 150 | 222 |
Binary | 11011001 | 10010110 | 11011110 |
Octal | 331 | 226 | 336 |
Examples of css and html codes for elements with #D996DE color. Also use rgb(217,150,222) instead hex code.
.myTextColor { color: #D996DE; }
<p style="color:#D996DE">This sample text font color is #D996DE.</p>
This text font color is #D996DE.
.myBgColor { background-color: #D996DE; }
<div style="background-color:#D996DE">Inner text</div>
This div background color is #D996DE.
.myBorderColor { border: 1px solid #D996DE; }
<div style="border:3px solid #D996DE">Div</div>
This div border color is #D996DE.
.myOpacity80 { color: #D996DE; opacity: 0.8; }
<p style="color:#D996DE;opacity:0.8;">80%</p>
Text with #D996DE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D996DE;}
<p style="text-shadow: 3px 3px 1px #D996DE">Text here.</p>
This text has shadow with #D996DE color.
.textShadow {text-shadow: 3px 3px 1px #D996DE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D996DE, 5px 5px 20px red">Text here.</p>
This text has shadow with #D996DE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D996DE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D996DE, Direction=45, Strength=4)">Text</p>
This text has shadow with #D996DE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D996DE; -webkit-box-shadow: 1px 1px 3px 2px #D996DE; box-shadow: 1px 1px 3px 2px #D996DE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D996DE; -webkit-box-shadow: 1px 1px 3px 2px #D996DE; box-shadow:1px 1px 3px 2px #D996DE;">
Div content here</div>
This text has color #D996DE on black background.
This text has color #D996DE on white background.
This text has black color on #D996DE background.
This text has white color on #D996DE background.