HEX: #E70C18
RGB: (231,12,24)
#E70C18 contains mainly red color. Web safe color of #E70C18 is #FF0000 (or #F00).
#E70C18 color RGB value is (231,12,24).
RGB: (231,12,24) (91%,5%,9%)
R 231 of 255 = 91%
G 12 of 255 = 5%
B 24 of 255 = 9%
R + G + B ~ 35%. #E70C18 is quite dark color.
R + G + B =
231 + 12 + 24 = 267 (100%)
R 231 of 267 ~ 86.52%
G 12 of 267 ~ 4.49%
B 24 of 267 ~ 8.99%
#E70C18 color CMYK value is (0,95,90,9).
CMYK: (0,95,90,9) C0M95Y90K9 (0%,95%,90%,9%) (0.00/0.95/0.90/0.09)
E7 | 0C | 18 | |
---|---|---|---|
RGB | 231 | 12 | 24 |
HSL | 357° | 90.12% | 47.65% |
HSB/HSV | 357° | 94.81% | 90.59% |
CMYK | 0.00% | 94.81% | 89.61% |
9.41% |
HEX | E7 | 0C | 18 |
Decimal | 231 | 12 | 24 |
Binary | 11100111 | 1100 | 11000 |
Octal | 347 | 14 | 30 |
Examples of css and html codes for elements with #E70C18 color. Also use rgb(231,12,24) instead hex code.
.myTextColor { color: #E70C18; }
<p style="color:#E70C18">This sample text font color is #E70C18.</p>
This text font color is #E70C18.
.myBgColor { background-color: #E70C18; }
<div style="background-color:#E70C18">Inner text</div>
This div background color is #E70C18.
.myBorderColor { border: 1px solid #E70C18; }
<div style="border:3px solid #E70C18">Div</div>
This div border color is #E70C18.
.myOpacity80 { color: #E70C18; opacity: 0.8; }
<p style="color:#E70C18;opacity:0.8;">80%</p>
Text with #E70C18 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E70C18;}
<p style="text-shadow: 3px 3px 1px #E70C18">Text here.</p>
This text has shadow with #E70C18 color.
.textShadow {text-shadow: 3px 3px 1px #E70C18, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E70C18, 5px 5px 20px red">Text here.</p>
This text has shadow with #E70C18 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E70C18, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E70C18, Direction=45, Strength=4)">Text</p>
This text has shadow with #E70C18 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E70C18; -webkit-box-shadow: 1px 1px 3px 2px #E70C18; box-shadow: 1px 1px 3px 2px #E70C18; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E70C18; -webkit-box-shadow: 1px 1px 3px 2px #E70C18; box-shadow:1px 1px 3px 2px #E70C18;">
Div content here</div>
This text has color #E70C18 on black background.
This text has color #E70C18 on white background.
This text has black color on #E70C18 background.
This text has white color on #E70C18 background.