HEX: #D976CC
RGB: (217,118,204)
#D976CC contains mainly red and blue colors. Web safe color of #D976CC is #CC66CC (or #C6C).
#D976CC color RGB value is (217,118,204).
RGB: (217,118,204) (85%,46%,80%)
R 217 of 255 = 85%
G 118 of 255 = 46%
B 204 of 255 = 80%
R + G + B ~ 70%. #D976CC is quite light color.
R + G + B =
217 + 118 + 204 = 539 (100%)
R 217 of 539 ~ 40.26%
G 118 of 539 ~ 21.89%
B 204 of 539 ~ 37.85%
#D976CC color CMYK value is (0,46,6,15).
CMYK: (0,46,6,15) C0M46Y6K15 (0%,46%,6%,15%) (0.00/0.46/0.06/0.15)
D9 | 76 | CC | |
---|---|---|---|
RGB | 217 | 118 | 204 |
HSL | 308° | 56.57% | 65.69% |
HSB/HSV | 308° | 45.62% | 85.10% |
CMYK | 0.00% | 45.62% | 5.99% |
14.90% |
HEX | D9 | 76 | CC |
Decimal | 217 | 118 | 204 |
Binary | 11011001 | 1110110 | 11001100 |
Octal | 331 | 166 | 314 |
Examples of css and html codes for elements with #D976CC color. Also use rgb(217,118,204) instead hex code.
.myTextColor { color: #D976CC; }
<p style="color:#D976CC">This sample text font color is #D976CC.</p>
This text font color is #D976CC.
.myBgColor { background-color: #D976CC; }
<div style="background-color:#D976CC">Inner text</div>
This div background color is #D976CC.
.myBorderColor { border: 1px solid #D976CC; }
<div style="border:3px solid #D976CC">Div</div>
This div border color is #D976CC.
.myOpacity80 { color: #D976CC; opacity: 0.8; }
<p style="color:#D976CC;opacity:0.8;">80%</p>
Text with #D976CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D976CC;}
<p style="text-shadow: 3px 3px 1px #D976CC">Text here.</p>
This text has shadow with #D976CC color.
.textShadow {text-shadow: 3px 3px 1px #D976CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D976CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #D976CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D976CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D976CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #D976CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D976CC; -webkit-box-shadow: 1px 1px 3px 2px #D976CC; box-shadow: 1px 1px 3px 2px #D976CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D976CC; -webkit-box-shadow: 1px 1px 3px 2px #D976CC; box-shadow:1px 1px 3px 2px #D976CC;">
Div content here</div>
This text has color #D976CC on black background.
This text has color #D976CC on white background.
This text has black color on #D976CC background.
This text has white color on #D976CC background.