HEX: #EC0606
RGB: (236,6,6)
#EC0606 contains mainly red color. Web safe color of #EC0606 is #FF0000 (or #F00).
#EC0606 color RGB value is (236,6,6).
RGB: (236,6,6) (93%,2%,2%)
R 236 of 255 = 93%
G 6 of 255 = 2%
B 6 of 255 = 2%
R + G + B ~ 32%. #EC0606 is quite dark color.
R + G + B =
236 + 6 + 6 = 248 (100%)
R 236 of 248 ~ 95.16%
G 6 of 248 ~ 2.42%
B 6 of 248 ~ 2.42%
#EC0606 color CMYK value is (0,97,97,7).
CMYK: (0,97,97,7) C0M97Y97K7 (0%,97%,97%,7%) (0.00/0.97/0.97/0.07)
EC | 06 | 06 | |
---|---|---|---|
RGB | 236 | 6 | 6 |
HSL | 0° | 95.04% | 47.45% |
HSB/HSV | 0° | 97.46% | 92.55% |
CMYK | 0.00% | 97.46% | 97.46% |
7.45% |
HEX | EC | 06 | 06 |
Decimal | 236 | 6 | 6 |
Binary | 11101100 | 110 | 110 |
Octal | 354 | 6 | 6 |
Examples of css and html codes for elements with #EC0606 color. Also use rgb(236,6,6) instead hex code.
.myTextColor { color: #EC0606; }
<p style="color:#EC0606">This sample text font color is #EC0606.</p>
This text font color is #EC0606.
.myBgColor { background-color: #EC0606; }
<div style="background-color:#EC0606">Inner text</div>
This div background color is #EC0606.
.myBorderColor { border: 1px solid #EC0606; }
<div style="border:3px solid #EC0606">Div</div>
This div border color is #EC0606.
.myOpacity80 { color: #EC0606; opacity: 0.8; }
<p style="color:#EC0606;opacity:0.8;">80%</p>
Text with #EC0606 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #EC0606;}
<p style="text-shadow: 3px 3px 1px #EC0606">Text here.</p>
This text has shadow with #EC0606 color.
.textShadow {text-shadow: 3px 3px 1px #EC0606, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #EC0606, 5px 5px 20px red">Text here.</p>
This text has shadow with #EC0606 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#EC0606, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#EC0606, Direction=45, Strength=4)">Text</p>
This text has shadow with #EC0606 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #EC0606; -webkit-box-shadow: 1px 1px 3px 2px #EC0606; box-shadow: 1px 1px 3px 2px #EC0606; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #EC0606; -webkit-box-shadow: 1px 1px 3px 2px #EC0606; box-shadow:1px 1px 3px 2px #EC0606;">
Div content here</div>
This text has color #EC0606 on black background.
This text has color #EC0606 on white background.
This text has black color on #EC0606 background.
This text has white color on #EC0606 background.