HEX: #D40013
RGB: (212,0,19)
#D40013 contains mainly red color. Web safe color of #D40013 is #CC0000 (or #C00).
#D40013 color RGB value is (212,0,19).
RGB: (212,0,19) (83%,0%,7%)
R 212 of 255 = 83%
G 0 of 255 = 0%
B 19 of 255 = 7%
R + G + B ~ 30%. #D40013 is quite dark color.
R + G + B =
212 + 0 + 19 = 231 (100%)
R 212 of 231 ~ 91.77%
G 0 of 231 ~ 0%
B 19 of 231 ~ 8.23%
#D40013 color CMYK value is (0,100,91,17).
CMYK: (0,100,91,17) C0M100Y91K17 (0%,100%,91%,17%) (0.00/1.00/0.91/0.17)
D4 | 00 | 13 | |
---|---|---|---|
RGB | 212 | 0 | 19 |
HSL | 355° | 100.00% | 41.57% |
HSB/HSV | 355° | 100.00% | 83.14% |
CMYK | 0.00% | 100.00% | 91.04% |
16.86% |
HEX | D4 | 00 | 13 |
Decimal | 212 | 0 | 19 |
Binary | 11010100 | 0 | 10011 |
Octal | 324 | 0 | 23 |
Examples of css and html codes for elements with #D40013 color. Also use rgb(212,0,19) instead hex code.
.myTextColor { color: #D40013; }
<p style="color:#D40013">This sample text font color is #D40013.</p>
This text font color is #D40013.
.myBgColor { background-color: #D40013; }
<div style="background-color:#D40013">Inner text</div>
This div background color is #D40013.
.myBorderColor { border: 1px solid #D40013; }
<div style="border:3px solid #D40013">Div</div>
This div border color is #D40013.
.myOpacity80 { color: #D40013; opacity: 0.8; }
<p style="color:#D40013;opacity:0.8;">80%</p>
Text with #D40013 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D40013;}
<p style="text-shadow: 3px 3px 1px #D40013">Text here.</p>
This text has shadow with #D40013 color.
.textShadow {text-shadow: 3px 3px 1px #D40013, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D40013, 5px 5px 20px red">Text here.</p>
This text has shadow with #D40013 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D40013, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D40013, Direction=45, Strength=4)">Text</p>
This text has shadow with #D40013 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D40013; -webkit-box-shadow: 1px 1px 3px 2px #D40013; box-shadow: 1px 1px 3px 2px #D40013; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D40013; -webkit-box-shadow: 1px 1px 3px 2px #D40013; box-shadow:1px 1px 3px 2px #D40013;">
Div content here</div>
This text has color #D40013 on black background.
This text has color #D40013 on white background.
This text has black color on #D40013 background.
This text has white color on #D40013 background.