HEX: #D9004C
RGB: (217,0,76)
#D9004C contains mainly red color. Web safe color of #D9004C is #CC0033 (or #C03).
#D9004C color RGB value is (217,0,76).
RGB: (217,0,76) (85%,0%,30%)
R 217 of 255 = 85%
G 0 of 255 = 0%
B 76 of 255 = 30%
R + G + B ~ 38%. #D9004C is quite dark color.
R + G + B =
217 + 0 + 76 = 293 (100%)
R 217 of 293 ~ 74.06%
G 0 of 293 ~ 0%
B 76 of 293 ~ 25.94%
#D9004C color CMYK value is (0,100,65,15).
CMYK: (0,100,65,15) C0M100Y65K15 (0%,100%,65%,15%) (0.00/1.00/0.65/0.15)
D9 | 00 | 4C | |
---|---|---|---|
RGB | 217 | 0 | 76 |
HSL | 339° | 100.00% | 42.55% |
HSB/HSV | 339° | 100.00% | 85.10% |
CMYK | 0.00% | 100.00% | 64.98% |
14.90% |
HEX | D9 | 00 | 4C |
Decimal | 217 | 0 | 76 |
Binary | 11011001 | 0 | 1001100 |
Octal | 331 | 0 | 114 |
Examples of css and html codes for elements with #D9004C color. Also use rgb(217,0,76) instead hex code.
.myTextColor { color: #D9004C; }
<p style="color:#D9004C">This sample text font color is #D9004C.</p>
This text font color is #D9004C.
.myBgColor { background-color: #D9004C; }
<div style="background-color:#D9004C">Inner text</div>
This div background color is #D9004C.
.myBorderColor { border: 1px solid #D9004C; }
<div style="border:3px solid #D9004C">Div</div>
This div border color is #D9004C.
.myOpacity80 { color: #D9004C; opacity: 0.8; }
<p style="color:#D9004C;opacity:0.8;">80%</p>
Text with #D9004C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9004C;}
<p style="text-shadow: 3px 3px 1px #D9004C">Text here.</p>
This text has shadow with #D9004C color.
.textShadow {text-shadow: 3px 3px 1px #D9004C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9004C, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9004C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9004C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9004C, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9004C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9004C; -webkit-box-shadow: 1px 1px 3px 2px #D9004C; box-shadow: 1px 1px 3px 2px #D9004C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9004C; -webkit-box-shadow: 1px 1px 3px 2px #D9004C; box-shadow:1px 1px 3px 2px #D9004C;">
Div content here</div>
This text has color #D9004C on black background.
This text has color #D9004C on white background.
This text has black color on #D9004C background.
This text has white color on #D9004C background.