HEX: #F20C11
RGB: (242,12,17)
#F20C11 contains mainly red color. Web safe color of #F20C11 is #FF0000 (or #F00).
#F20C11 color RGB value is (242,12,17).
RGB: (242,12,17) (95%,5%,7%)
R 242 of 255 = 95%
G 12 of 255 = 5%
B 17 of 255 = 7%
R + G + B ~ 36%. #F20C11 is quite dark color.
R + G + B =
242 + 12 + 17 = 271 (100%)
R 242 of 271 ~ 89.3%
G 12 of 271 ~ 4.43%
B 17 of 271 ~ 6.27%
#F20C11 color CMYK value is (0,95,93,5).
CMYK: (0,95,93,5) C0M95Y93K5 (0%,95%,93%,5%) (0.00/0.95/0.93/0.05)
F2 | 0C | 11 | |
---|---|---|---|
RGB | 242 | 12 | 17 |
HSL | 359° | 90.55% | 49.80% |
HSB/HSV | 359° | 95.04% | 94.90% |
CMYK | 0.00% | 95.04% | 92.98% |
5.10% |
HEX | F2 | 0C | 11 |
Decimal | 242 | 12 | 17 |
Binary | 11110010 | 1100 | 10001 |
Octal | 362 | 14 | 21 |
Examples of css and html codes for elements with #F20C11 color. Also use rgb(242,12,17) instead hex code.
.myTextColor { color: #F20C11; }
<p style="color:#F20C11">This sample text font color is #F20C11.</p>
This text font color is #F20C11.
.myBgColor { background-color: #F20C11; }
<div style="background-color:#F20C11">Inner text</div>
This div background color is #F20C11.
.myBorderColor { border: 1px solid #F20C11; }
<div style="border:3px solid #F20C11">Div</div>
This div border color is #F20C11.
.myOpacity80 { color: #F20C11; opacity: 0.8; }
<p style="color:#F20C11;opacity:0.8;">80%</p>
Text with #F20C11 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F20C11;}
<p style="text-shadow: 3px 3px 1px #F20C11">Text here.</p>
This text has shadow with #F20C11 color.
.textShadow {text-shadow: 3px 3px 1px #F20C11, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F20C11, 5px 5px 20px red">Text here.</p>
This text has shadow with #F20C11 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F20C11, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F20C11, Direction=45, Strength=4)">Text</p>
This text has shadow with #F20C11 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F20C11; -webkit-box-shadow: 1px 1px 3px 2px #F20C11; box-shadow: 1px 1px 3px 2px #F20C11; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F20C11; -webkit-box-shadow: 1px 1px 3px 2px #F20C11; box-shadow:1px 1px 3px 2px #F20C11;">
Div content here</div>
This text has color #F20C11 on black background.
This text has color #F20C11 on white background.
This text has black color on #F20C11 background.
This text has white color on #F20C11 background.