HEX: #E4231B
RGB: (228,35,27)
#E4231B contains mainly red color. Web safe color of #E4231B is #CC3333 (or #C33).
#E4231B color RGB value is (228,35,27).
RGB: (228,35,27) (89%,14%,11%)
R 228 of 255 = 89%
G 35 of 255 = 14%
B 27 of 255 = 11%
R + G + B ~ 38%. #E4231B is quite dark color.
R + G + B =
228 + 35 + 27 = 290 (100%)
R 228 of 290 ~ 78.62%
G 35 of 290 ~ 12.07%
B 27 of 290 ~ 9.31%
#E4231B color CMYK value is (0,85,88,11).
CMYK: (0,85,88,11) C0M85Y88K11 (0%,85%,88%,11%) (0.00/0.85/0.88/0.11)
E4 | 23 | 1B | |
---|---|---|---|
RGB | 228 | 35 | 27 |
HSL | 2° | 78.82% | 50.00% |
HSB/HSV | 2° | 88.16% | 89.41% |
CMYK | 0.00% | 84.65% | 88.16% |
10.59% |
HEX | E4 | 23 | 1B |
Decimal | 228 | 35 | 27 |
Binary | 11100100 | 100011 | 11011 |
Octal | 344 | 43 | 33 |
Examples of css and html codes for elements with #E4231B color. Also use rgb(228,35,27) instead hex code.
.myTextColor { color: #E4231B; }
<p style="color:#E4231B">This sample text font color is #E4231B.</p>
This text font color is #E4231B.
.myBgColor { background-color: #E4231B; }
<div style="background-color:#E4231B">Inner text</div>
This div background color is #E4231B.
.myBorderColor { border: 1px solid #E4231B; }
<div style="border:3px solid #E4231B">Div</div>
This div border color is #E4231B.
.myOpacity80 { color: #E4231B; opacity: 0.8; }
<p style="color:#E4231B;opacity:0.8;">80%</p>
Text with #E4231B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E4231B;}
<p style="text-shadow: 3px 3px 1px #E4231B">Text here.</p>
This text has shadow with #E4231B color.
.textShadow {text-shadow: 3px 3px 1px #E4231B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E4231B, 5px 5px 20px red">Text here.</p>
This text has shadow with #E4231B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E4231B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E4231B, Direction=45, Strength=4)">Text</p>
This text has shadow with #E4231B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E4231B; -webkit-box-shadow: 1px 1px 3px 2px #E4231B; box-shadow: 1px 1px 3px 2px #E4231B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E4231B; -webkit-box-shadow: 1px 1px 3px 2px #E4231B; box-shadow:1px 1px 3px 2px #E4231B;">
Div content here</div>
This text has color #E4231B on black background.
This text has color #E4231B on white background.
This text has black color on #E4231B background.
This text has white color on #E4231B background.