HEX: #F20313
RGB: (242,3,19)
#F20313 contains mainly red color. Web safe color of #F20313 is #FF0000 (or #F00).
#F20313 color RGB value is (242,3,19).
RGB: (242,3,19) (95%,1%,7%)
R 242 of 255 = 95%
G 3 of 255 = 1%
B 19 of 255 = 7%
R + G + B ~ 34%. #F20313 is quite dark color.
R + G + B =
242 + 3 + 19 = 264 (100%)
R 242 of 264 ~ 91.67%
G 3 of 264 ~ 1.14%
B 19 of 264 ~ 7.2%
#F20313 color CMYK value is (0,99,92,5).
CMYK: (0,99,92,5) C0M99Y92K5 (0%,99%,92%,5%) (0.00/0.99/0.92/0.05)
F2 | 03 | 13 | |
---|---|---|---|
RGB | 242 | 3 | 19 |
HSL | 356° | 97.55% | 48.04% |
HSB/HSV | 356° | 98.76% | 94.90% |
CMYK | 0.00% | 98.76% | 92.15% |
5.10% |
HEX | F2 | 03 | 13 |
Decimal | 242 | 3 | 19 |
Binary | 11110010 | 11 | 10011 |
Octal | 362 | 3 | 23 |
Examples of css and html codes for elements with #F20313 color. Also use rgb(242,3,19) instead hex code.
.myTextColor { color: #F20313; }
<p style="color:#F20313">This sample text font color is #F20313.</p>
This text font color is #F20313.
.myBgColor { background-color: #F20313; }
<div style="background-color:#F20313">Inner text</div>
This div background color is #F20313.
.myBorderColor { border: 1px solid #F20313; }
<div style="border:3px solid #F20313">Div</div>
This div border color is #F20313.
.myOpacity80 { color: #F20313; opacity: 0.8; }
<p style="color:#F20313;opacity:0.8;">80%</p>
Text with #F20313 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F20313;}
<p style="text-shadow: 3px 3px 1px #F20313">Text here.</p>
This text has shadow with #F20313 color.
.textShadow {text-shadow: 3px 3px 1px #F20313, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F20313, 5px 5px 20px red">Text here.</p>
This text has shadow with #F20313 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F20313, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F20313, Direction=45, Strength=4)">Text</p>
This text has shadow with #F20313 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F20313; -webkit-box-shadow: 1px 1px 3px 2px #F20313; box-shadow: 1px 1px 3px 2px #F20313; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F20313; -webkit-box-shadow: 1px 1px 3px 2px #F20313; box-shadow:1px 1px 3px 2px #F20313;">
Div content here</div>
This text has color #F20313 on black background.
This text has color #F20313 on white background.
This text has black color on #F20313 background.
This text has white color on #F20313 background.