HEX: #E3151D
RGB: (227,21,29)
#E3151D contains mainly red color. Web safe color of #E3151D is #CC0033 (or #C03).
#E3151D color RGB value is (227,21,29).
RGB: (227,21,29) (89%,8%,11%)
R 227 of 255 = 89%
G 21 of 255 = 8%
B 29 of 255 = 11%
R + G + B ~ 36%. #E3151D is quite dark color.
R + G + B =
227 + 21 + 29 = 277 (100%)
R 227 of 277 ~ 81.95%
G 21 of 277 ~ 7.58%
B 29 of 277 ~ 10.47%
#E3151D color CMYK value is (0,91,87,11).
CMYK: (0,91,87,11) C0M91Y87K11 (0%,91%,87%,11%) (0.00/0.91/0.87/0.11)
E3 | 15 | 1D | |
---|---|---|---|
RGB | 227 | 21 | 29 |
HSL | 358° | 83.06% | 48.63% |
HSB/HSV | 358° | 90.75% | 89.02% |
CMYK | 0.00% | 90.75% | 87.22% |
10.98% |
HEX | E3 | 15 | 1D |
Decimal | 227 | 21 | 29 |
Binary | 11100011 | 10101 | 11101 |
Octal | 343 | 25 | 35 |
Examples of css and html codes for elements with #E3151D color. Also use rgb(227,21,29) instead hex code.
.myTextColor { color: #E3151D; }
<p style="color:#E3151D">This sample text font color is #E3151D.</p>
This text font color is #E3151D.
.myBgColor { background-color: #E3151D; }
<div style="background-color:#E3151D">Inner text</div>
This div background color is #E3151D.
.myBorderColor { border: 1px solid #E3151D; }
<div style="border:3px solid #E3151D">Div</div>
This div border color is #E3151D.
.myOpacity80 { color: #E3151D; opacity: 0.8; }
<p style="color:#E3151D;opacity:0.8;">80%</p>
Text with #E3151D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E3151D;}
<p style="text-shadow: 3px 3px 1px #E3151D">Text here.</p>
This text has shadow with #E3151D color.
.textShadow {text-shadow: 3px 3px 1px #E3151D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E3151D, 5px 5px 20px red">Text here.</p>
This text has shadow with #E3151D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E3151D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E3151D, Direction=45, Strength=4)">Text</p>
This text has shadow with #E3151D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E3151D; -webkit-box-shadow: 1px 1px 3px 2px #E3151D; box-shadow: 1px 1px 3px 2px #E3151D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E3151D; -webkit-box-shadow: 1px 1px 3px 2px #E3151D; box-shadow:1px 1px 3px 2px #E3151D;">
Div content here</div>
This text has color #E3151D on black background.
This text has color #E3151D on white background.
This text has black color on #E3151D background.
This text has white color on #E3151D background.