HEX: #EC342E
RGB: (236,52,46)
#EC342E contains mainly red color. Web safe color of #EC342E is #FF3333 (or #F33).
#EC342E color RGB value is (236,52,46).
RGB: (236,52,46) (93%,20%,18%)
R 236 of 255 = 93%
G 52 of 255 = 20%
B 46 of 255 = 18%
R + G + B ~ 44%. #EC342E is middle color (not dark and not light).
R + G + B =
236 + 52 + 46 = 334 (100%)
R 236 of 334 ~ 70.66%
G 52 of 334 ~ 15.57%
B 46 of 334 ~ 13.77%
#EC342E color CMYK value is (0,78,81,7).
CMYK: (0,78,81,7) C0M78Y81K7 (0%,78%,81%,7%) (0.00/0.78/0.81/0.07)
EC | 34 | 2E | |
---|---|---|---|
RGB | 236 | 52 | 46 |
HSL | 2° | 83.33% | 55.29% |
HSB/HSV | 2° | 80.51% | 92.55% |
CMYK | 0.00% | 77.97% | 80.51% |
7.45% |
HEX | EC | 34 | 2E |
Decimal | 236 | 52 | 46 |
Binary | 11101100 | 110100 | 101110 |
Octal | 354 | 64 | 56 |
Examples of css and html codes for elements with #EC342E color. Also use rgb(236,52,46) instead hex code.
.myTextColor { color: #EC342E; }
<p style="color:#EC342E">This sample text font color is #EC342E.</p>
This text font color is #EC342E.
.myBgColor { background-color: #EC342E; }
<div style="background-color:#EC342E">Inner text</div>
This div background color is #EC342E.
.myBorderColor { border: 1px solid #EC342E; }
<div style="border:3px solid #EC342E">Div</div>
This div border color is #EC342E.
.myOpacity80 { color: #EC342E; opacity: 0.8; }
<p style="color:#EC342E;opacity:0.8;">80%</p>
Text with #EC342E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #EC342E;}
<p style="text-shadow: 3px 3px 1px #EC342E">Text here.</p>
This text has shadow with #EC342E color.
.textShadow {text-shadow: 3px 3px 1px #EC342E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #EC342E, 5px 5px 20px red">Text here.</p>
This text has shadow with #EC342E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#EC342E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#EC342E, Direction=45, Strength=4)">Text</p>
This text has shadow with #EC342E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #EC342E; -webkit-box-shadow: 1px 1px 3px 2px #EC342E; box-shadow: 1px 1px 3px 2px #EC342E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #EC342E; -webkit-box-shadow: 1px 1px 3px 2px #EC342E; box-shadow:1px 1px 3px 2px #EC342E;">
Div content here</div>
This text has color #EC342E on black background.
This text has color #EC342E on white background.
This text has black color on #EC342E background.
This text has white color on #EC342E background.