HEX: #D974DA
RGB: (217,116,218)
#D974DA contains mainly red and blue colors. Web safe color of #D974DA is #CC66CC (or #C6C).
#D974DA color RGB value is (217,116,218).
RGB: (217,116,218) (85%,45%,85%)
R 217 of 255 = 85%
G 116 of 255 = 45%
B 218 of 255 = 85%
R + G + B ~ 72%. #D974DA is quite light color.
R + G + B =
217 + 116 + 218 = 551 (100%)
R 217 of 551 ~ 39.38%
G 116 of 551 ~ 21.05%
B 218 of 551 ~ 39.56%
#D974DA color CMYK value is (0,47,0,15).
CMYK: (0,47,0,15) C0M47Y0K15 (0%,47%,0%,15%) (0.00/0.47/0.00/0.15)
D9 | 74 | DA | |
---|---|---|---|
RGB | 217 | 116 | 218 |
HSL | 299° | 57.95% | 65.49% |
HSB/HSV | 299° | 46.79% | 85.49% |
CMYK | 0.46% | 46.79% | 0.00% |
14.51% |
HEX | D9 | 74 | DA |
Decimal | 217 | 116 | 218 |
Binary | 11011001 | 1110100 | 11011010 |
Octal | 331 | 164 | 332 |
Examples of css and html codes for elements with #D974DA color. Also use rgb(217,116,218) instead hex code.
.myTextColor { color: #D974DA; }
<p style="color:#D974DA">This sample text font color is #D974DA.</p>
This text font color is #D974DA.
.myBgColor { background-color: #D974DA; }
<div style="background-color:#D974DA">Inner text</div>
This div background color is #D974DA.
.myBorderColor { border: 1px solid #D974DA; }
<div style="border:3px solid #D974DA">Div</div>
This div border color is #D974DA.
.myOpacity80 { color: #D974DA; opacity: 0.8; }
<p style="color:#D974DA;opacity:0.8;">80%</p>
Text with #D974DA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D974DA;}
<p style="text-shadow: 3px 3px 1px #D974DA">Text here.</p>
This text has shadow with #D974DA color.
.textShadow {text-shadow: 3px 3px 1px #D974DA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D974DA, 5px 5px 20px red">Text here.</p>
This text has shadow with #D974DA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D974DA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D974DA, Direction=45, Strength=4)">Text</p>
This text has shadow with #D974DA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D974DA; -webkit-box-shadow: 1px 1px 3px 2px #D974DA; box-shadow: 1px 1px 3px 2px #D974DA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D974DA; -webkit-box-shadow: 1px 1px 3px 2px #D974DA; box-shadow:1px 1px 3px 2px #D974DA;">
Div content here</div>
This text has color #D974DA on black background.
This text has color #D974DA on white background.
This text has black color on #D974DA background.
This text has white color on #D974DA background.