HEX: #D9170E
RGB: (217,23,14)
#D9170E contains mainly red color. Web safe color of #D9170E is #CC0000 (or #C00).
#D9170E color RGB value is (217,23,14).
RGB: (217,23,14) (85%,9%,5%)
R 217 of 255 = 85%
G 23 of 255 = 9%
B 14 of 255 = 5%
R + G + B ~ 33%. #D9170E is quite dark color.
R + G + B =
217 + 23 + 14 = 254 (100%)
R 217 of 254 ~ 85.43%
G 23 of 254 ~ 9.06%
B 14 of 254 ~ 5.51%
#D9170E color CMYK value is (0,89,94,15).
CMYK: (0,89,94,15) C0M89Y94K15 (0%,89%,94%,15%) (0.00/0.89/0.94/0.15)
D9 | 17 | 0E | |
---|---|---|---|
RGB | 217 | 23 | 14 |
HSL | 3° | 87.88% | 45.29% |
HSB/HSV | 3° | 93.55% | 85.10% |
CMYK | 0.00% | 89.40% | 93.55% |
14.90% |
HEX | D9 | 17 | 0E |
Decimal | 217 | 23 | 14 |
Binary | 11011001 | 10111 | 1110 |
Octal | 331 | 27 | 16 |
Examples of css and html codes for elements with #D9170E color. Also use rgb(217,23,14) instead hex code.
.myTextColor { color: #D9170E; }
<p style="color:#D9170E">This sample text font color is #D9170E.</p>
This text font color is #D9170E.
.myBgColor { background-color: #D9170E; }
<div style="background-color:#D9170E">Inner text</div>
This div background color is #D9170E.
.myBorderColor { border: 1px solid #D9170E; }
<div style="border:3px solid #D9170E">Div</div>
This div border color is #D9170E.
.myOpacity80 { color: #D9170E; opacity: 0.8; }
<p style="color:#D9170E;opacity:0.8;">80%</p>
Text with #D9170E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9170E;}
<p style="text-shadow: 3px 3px 1px #D9170E">Text here.</p>
This text has shadow with #D9170E color.
.textShadow {text-shadow: 3px 3px 1px #D9170E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9170E, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9170E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9170E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9170E, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9170E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9170E; -webkit-box-shadow: 1px 1px 3px 2px #D9170E; box-shadow: 1px 1px 3px 2px #D9170E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9170E; -webkit-box-shadow: 1px 1px 3px 2px #D9170E; box-shadow:1px 1px 3px 2px #D9170E;">
Div content here</div>
This text has color #D9170E on black background.
This text has color #D9170E on white background.
This text has black color on #D9170E background.
This text has white color on #D9170E background.