HEX: #D9489E
RGB: (217,72,158)
#D9489E contains mainly red and blue colors. Web safe color of #D9489E is #CC3399 (or #C39).
#D9489E color RGB value is (217,72,158).
RGB: (217,72,158) (85%,28%,62%)
R 217 of 255 = 85%
G 72 of 255 = 28%
B 158 of 255 = 62%
R + G + B ~ 58%. #D9489E is middle color (not dark and not light).
R + G + B =
217 + 72 + 158 = 447 (100%)
R 217 of 447 ~ 48.55%
G 72 of 447 ~ 16.11%
B 158 of 447 ~ 35.35%
#D9489E color CMYK value is (0,67,27,15).
CMYK: (0,67,27,15) C0M67Y27K15 (0%,67%,27%,15%) (0.00/0.67/0.27/0.15)
D9 | 48 | 9E | |
---|---|---|---|
RGB | 217 | 72 | 158 |
HSL | 324° | 65.61% | 56.67% |
HSB/HSV | 324° | 66.82% | 85.10% |
CMYK | 0.00% | 66.82% | 27.19% |
14.90% |
HEX | D9 | 48 | 9E |
Decimal | 217 | 72 | 158 |
Binary | 11011001 | 1001000 | 10011110 |
Octal | 331 | 110 | 236 |
Examples of css and html codes for elements with #D9489E color. Also use rgb(217,72,158) instead hex code.
.myTextColor { color: #D9489E; }
<p style="color:#D9489E">This sample text font color is #D9489E.</p>
This text font color is #D9489E.
.myBgColor { background-color: #D9489E; }
<div style="background-color:#D9489E">Inner text</div>
This div background color is #D9489E.
.myBorderColor { border: 1px solid #D9489E; }
<div style="border:3px solid #D9489E">Div</div>
This div border color is #D9489E.
.myOpacity80 { color: #D9489E; opacity: 0.8; }
<p style="color:#D9489E;opacity:0.8;">80%</p>
Text with #D9489E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9489E;}
<p style="text-shadow: 3px 3px 1px #D9489E">Text here.</p>
This text has shadow with #D9489E color.
.textShadow {text-shadow: 3px 3px 1px #D9489E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9489E, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9489E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9489E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9489E, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9489E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9489E; -webkit-box-shadow: 1px 1px 3px 2px #D9489E; box-shadow: 1px 1px 3px 2px #D9489E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9489E; -webkit-box-shadow: 1px 1px 3px 2px #D9489E; box-shadow:1px 1px 3px 2px #D9489E;">
Div content here</div>
This text has color #D9489E on black background.
This text has color #D9489E on white background.
This text has black color on #D9489E background.
This text has white color on #D9489E background.