HEX: #E42427
RGB: (228,36,39)
#E42427 contains mainly red color. Web safe color of #E42427 is #CC3333 (or #C33).
#E42427 color RGB value is (228,36,39).
RGB: (228,36,39) (89%,14%,15%)
R 228 of 255 = 89%
G 36 of 255 = 14%
B 39 of 255 = 15%
R + G + B ~ 39%. #E42427 is quite dark color.
R + G + B =
228 + 36 + 39 = 303 (100%)
R 228 of 303 ~ 75.25%
G 36 of 303 ~ 11.88%
B 39 of 303 ~ 12.87%
#E42427 color CMYK value is (0,84,83,11).
CMYK: (0,84,83,11) C0M84Y83K11 (0%,84%,83%,11%) (0.00/0.84/0.83/0.11)
E4 | 24 | 27 | |
---|---|---|---|
RGB | 228 | 36 | 39 |
HSL | 359° | 78.05% | 51.76% |
HSB/HSV | 359° | 84.21% | 89.41% |
CMYK | 0.00% | 84.21% | 82.89% |
10.59% |
HEX | E4 | 24 | 27 |
Decimal | 228 | 36 | 39 |
Binary | 11100100 | 100100 | 100111 |
Octal | 344 | 44 | 47 |
Examples of css and html codes for elements with #E42427 color. Also use rgb(228,36,39) instead hex code.
.myTextColor { color: #E42427; }
<p style="color:#E42427">This sample text font color is #E42427.</p>
This text font color is #E42427.
.myBgColor { background-color: #E42427; }
<div style="background-color:#E42427">Inner text</div>
This div background color is #E42427.
.myBorderColor { border: 1px solid #E42427; }
<div style="border:3px solid #E42427">Div</div>
This div border color is #E42427.
.myOpacity80 { color: #E42427; opacity: 0.8; }
<p style="color:#E42427;opacity:0.8;">80%</p>
Text with #E42427 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E42427;}
<p style="text-shadow: 3px 3px 1px #E42427">Text here.</p>
This text has shadow with #E42427 color.
.textShadow {text-shadow: 3px 3px 1px #E42427, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E42427, 5px 5px 20px red">Text here.</p>
This text has shadow with #E42427 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E42427, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E42427, Direction=45, Strength=4)">Text</p>
This text has shadow with #E42427 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E42427; -webkit-box-shadow: 1px 1px 3px 2px #E42427; box-shadow: 1px 1px 3px 2px #E42427; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E42427; -webkit-box-shadow: 1px 1px 3px 2px #E42427; box-shadow:1px 1px 3px 2px #E42427;">
Div content here</div>
This text has color #E42427 on black background.
This text has color #E42427 on white background.
This text has black color on #E42427 background.
This text has white color on #E42427 background.