HEX: #E5150F
RGB: (229,21,15)
#E5150F contains mainly red color. Web safe color of #E5150F is #CC0000 (or #C00).
#E5150F color RGB value is (229,21,15).
RGB: (229,21,15) (90%,8%,6%)
R 229 of 255 = 90%
G 21 of 255 = 8%
B 15 of 255 = 6%
R + G + B ~ 35%. #E5150F is quite dark color.
R + G + B =
229 + 21 + 15 = 265 (100%)
R 229 of 265 ~ 86.42%
G 21 of 265 ~ 7.92%
B 15 of 265 ~ 5.66%
#E5150F color CMYK value is (0,91,93,10).
CMYK: (0,91,93,10) C0M91Y93K10 (0%,91%,93%,10%) (0.00/0.91/0.93/0.10)
E5 | 15 | 0F | |
---|---|---|---|
RGB | 229 | 21 | 15 |
HSL | 2° | 87.70% | 47.84% |
HSB/HSV | 2° | 93.45% | 89.80% |
CMYK | 0.00% | 90.83% | 93.45% |
10.20% |
HEX | E5 | 15 | 0F |
Decimal | 229 | 21 | 15 |
Binary | 11100101 | 10101 | 1111 |
Octal | 345 | 25 | 17 |
Examples of css and html codes for elements with #E5150F color. Also use rgb(229,21,15) instead hex code.
.myTextColor { color: #E5150F; }
<p style="color:#E5150F">This sample text font color is #E5150F.</p>
This text font color is #E5150F.
.myBgColor { background-color: #E5150F; }
<div style="background-color:#E5150F">Inner text</div>
This div background color is #E5150F.
.myBorderColor { border: 1px solid #E5150F; }
<div style="border:3px solid #E5150F">Div</div>
This div border color is #E5150F.
.myOpacity80 { color: #E5150F; opacity: 0.8; }
<p style="color:#E5150F;opacity:0.8;">80%</p>
Text with #E5150F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E5150F;}
<p style="text-shadow: 3px 3px 1px #E5150F">Text here.</p>
This text has shadow with #E5150F color.
.textShadow {text-shadow: 3px 3px 1px #E5150F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E5150F, 5px 5px 20px red">Text here.</p>
This text has shadow with #E5150F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E5150F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E5150F, Direction=45, Strength=4)">Text</p>
This text has shadow with #E5150F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E5150F; -webkit-box-shadow: 1px 1px 3px 2px #E5150F; box-shadow: 1px 1px 3px 2px #E5150F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E5150F; -webkit-box-shadow: 1px 1px 3px 2px #E5150F; box-shadow:1px 1px 3px 2px #E5150F;">
Div content here</div>
This text has color #E5150F on black background.
This text has color #E5150F on white background.
This text has black color on #E5150F background.
This text has white color on #E5150F background.