HEX: #D70017
RGB: (215,0,23)
#D70017 contains mainly red color. Web safe color of #D70017 is #CC0000 (or #C00).
#D70017 color RGB value is (215,0,23).
RGB: (215,0,23) (84%,0%,9%)
R 215 of 255 = 84%
G 0 of 255 = 0%
B 23 of 255 = 9%
R + G + B ~ 31%. #D70017 is quite dark color.
R + G + B =
215 + 0 + 23 = 238 (100%)
R 215 of 238 ~ 90.34%
G 0 of 238 ~ 0%
B 23 of 238 ~ 9.66%
#D70017 color CMYK value is (0,100,89,16).
CMYK: (0,100,89,16) C0M100Y89K16 (0%,100%,89%,16%) (0.00/1.00/0.89/0.16)
D7 | 00 | 17 | |
---|---|---|---|
RGB | 215 | 0 | 23 |
HSL | 354° | 100.00% | 42.16% |
HSB/HSV | 354° | 100.00% | 84.31% |
CMYK | 0.00% | 100.00% | 89.30% |
15.69% |
HEX | D7 | 00 | 17 |
Decimal | 215 | 0 | 23 |
Binary | 11010111 | 0 | 10111 |
Octal | 327 | 0 | 27 |
Examples of css and html codes for elements with #D70017 color. Also use rgb(215,0,23) instead hex code.
.myTextColor { color: #D70017; }
<p style="color:#D70017">This sample text font color is #D70017.</p>
This text font color is #D70017.
.myBgColor { background-color: #D70017; }
<div style="background-color:#D70017">Inner text</div>
This div background color is #D70017.
.myBorderColor { border: 1px solid #D70017; }
<div style="border:3px solid #D70017">Div</div>
This div border color is #D70017.
.myOpacity80 { color: #D70017; opacity: 0.8; }
<p style="color:#D70017;opacity:0.8;">80%</p>
Text with #D70017 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D70017;}
<p style="text-shadow: 3px 3px 1px #D70017">Text here.</p>
This text has shadow with #D70017 color.
.textShadow {text-shadow: 3px 3px 1px #D70017, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D70017, 5px 5px 20px red">Text here.</p>
This text has shadow with #D70017 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D70017, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D70017, Direction=45, Strength=4)">Text</p>
This text has shadow with #D70017 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D70017; -webkit-box-shadow: 1px 1px 3px 2px #D70017; box-shadow: 1px 1px 3px 2px #D70017; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D70017; -webkit-box-shadow: 1px 1px 3px 2px #D70017; box-shadow:1px 1px 3px 2px #D70017;">
Div content here</div>
This text has color #D70017 on black background.
This text has color #D70017 on white background.
This text has black color on #D70017 background.
This text has white color on #D70017 background.