HEX: #D996AD
RGB: (217,150,173)
#D996AD contains mainly red and blue colors. Web safe color of #D996AD is #CC9999 (or #C99).
#D996AD color RGB value is (217,150,173).
RGB: (217,150,173) (85%,59%,68%)
R 217 of 255 = 85%
G 150 of 255 = 59%
B 173 of 255 = 68%
R + G + B ~ 71%. #D996AD is quite light color.
R + G + B =
217 + 150 + 173 = 540 (100%)
R 217 of 540 ~ 40.19%
G 150 of 540 ~ 27.78%
B 173 of 540 ~ 32.04%
#D996AD color CMYK value is (0,31,20,15).
CMYK: (0,31,20,15) C0M31Y20K15 (0%,31%,20%,15%) (0.00/0.31/0.20/0.15)
D9 | 96 | AD | |
---|---|---|---|
RGB | 217 | 150 | 173 |
HSL | 339° | 46.85% | 71.96% |
HSB/HSV | 339° | 30.88% | 85.10% |
CMYK | 0.00% | 30.88% | 20.28% |
14.90% |
HEX | D9 | 96 | AD |
Decimal | 217 | 150 | 173 |
Binary | 11011001 | 10010110 | 10101101 |
Octal | 331 | 226 | 255 |
Examples of css and html codes for elements with #D996AD color. Also use rgb(217,150,173) instead hex code.
.myTextColor { color: #D996AD; }
<p style="color:#D996AD">This sample text font color is #D996AD.</p>
This text font color is #D996AD.
.myBgColor { background-color: #D996AD; }
<div style="background-color:#D996AD">Inner text</div>
This div background color is #D996AD.
.myBorderColor { border: 1px solid #D996AD; }
<div style="border:3px solid #D996AD">Div</div>
This div border color is #D996AD.
.myOpacity80 { color: #D996AD; opacity: 0.8; }
<p style="color:#D996AD;opacity:0.8;">80%</p>
Text with #D996AD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D996AD;}
<p style="text-shadow: 3px 3px 1px #D996AD">Text here.</p>
This text has shadow with #D996AD color.
.textShadow {text-shadow: 3px 3px 1px #D996AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D996AD, 5px 5px 20px red">Text here.</p>
This text has shadow with #D996AD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D996AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D996AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #D996AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D996AD; -webkit-box-shadow: 1px 1px 3px 2px #D996AD; box-shadow: 1px 1px 3px 2px #D996AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D996AD; -webkit-box-shadow: 1px 1px 3px 2px #D996AD; box-shadow:1px 1px 3px 2px #D996AD;">
Div content here</div>
This text has color #D996AD on black background.
This text has color #D996AD on white background.
This text has black color on #D996AD background.
This text has white color on #D996AD background.