HEX: #D51E17
RGB: (213,30,23)
#D51E17 contains mainly red color. Web safe color of #D51E17 is #CC3300 (or #C30).
#D51E17 color RGB value is (213,30,23).
RGB: (213,30,23) (84%,12%,9%)
R 213 of 255 = 84%
G 30 of 255 = 12%
B 23 of 255 = 9%
R + G + B ~ 35%. #D51E17 is quite dark color.
R + G + B =
213 + 30 + 23 = 266 (100%)
R 213 of 266 ~ 80.08%
G 30 of 266 ~ 11.28%
B 23 of 266 ~ 8.65%
#D51E17 color CMYK value is (0,86,89,16).
CMYK: (0,86,89,16) C0M86Y89K16 (0%,86%,89%,16%) (0.00/0.86/0.89/0.16)
D5 | 1E | 17 | |
---|---|---|---|
RGB | 213 | 30 | 23 |
HSL | 2° | 80.51% | 46.27% |
HSB/HSV | 2° | 89.20% | 83.53% |
CMYK | 0.00% | 85.92% | 89.20% |
16.47% |
HEX | D5 | 1E | 17 |
Decimal | 213 | 30 | 23 |
Binary | 11010101 | 11110 | 10111 |
Octal | 325 | 36 | 27 |
Examples of css and html codes for elements with #D51E17 color. Also use rgb(213,30,23) instead hex code.
.myTextColor { color: #D51E17; }
<p style="color:#D51E17">This sample text font color is #D51E17.</p>
This text font color is #D51E17.
.myBgColor { background-color: #D51E17; }
<div style="background-color:#D51E17">Inner text</div>
This div background color is #D51E17.
.myBorderColor { border: 1px solid #D51E17; }
<div style="border:3px solid #D51E17">Div</div>
This div border color is #D51E17.
.myOpacity80 { color: #D51E17; opacity: 0.8; }
<p style="color:#D51E17;opacity:0.8;">80%</p>
Text with #D51E17 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D51E17;}
<p style="text-shadow: 3px 3px 1px #D51E17">Text here.</p>
This text has shadow with #D51E17 color.
.textShadow {text-shadow: 3px 3px 1px #D51E17, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D51E17, 5px 5px 20px red">Text here.</p>
This text has shadow with #D51E17 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D51E17, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D51E17, Direction=45, Strength=4)">Text</p>
This text has shadow with #D51E17 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D51E17; -webkit-box-shadow: 1px 1px 3px 2px #D51E17; box-shadow: 1px 1px 3px 2px #D51E17; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D51E17; -webkit-box-shadow: 1px 1px 3px 2px #D51E17; box-shadow:1px 1px 3px 2px #D51E17;">
Div content here</div>
This text has color #D51E17 on black background.
This text has color #D51E17 on white background.
This text has black color on #D51E17 background.
This text has white color on #D51E17 background.