HEX: #F03131
RGB: (240,49,49)
#F03131 contains mainly red color. Web safe color of #F03131 is #FF3333 (or #F33).
#F03131 color RGB value is (240,49,49).
RGB: (240,49,49) (94%,19%,19%)
R 240 of 255 = 94%
G 49 of 255 = 19%
B 49 of 255 = 19%
R + G + B ~ 44%. #F03131 is middle color (not dark and not light).
R + G + B =
240 + 49 + 49 = 338 (100%)
R 240 of 338 ~ 71.01%
G 49 of 338 ~ 14.5%
B 49 of 338 ~ 14.5%
#F03131 color CMYK value is (0,80,80,6).
CMYK: (0,80,80,6) C0M80Y80K6 (0%,80%,80%,6%) (0.00/0.80/0.80/0.06)
F0 | 31 | 31 | |
---|---|---|---|
RGB | 240 | 49 | 49 |
HSL | 0° | 86.43% | 56.67% |
HSB/HSV | 0° | 79.58% | 94.12% |
CMYK | 0.00% | 79.58% | 79.58% |
5.88% |
HEX | F0 | 31 | 31 |
Decimal | 240 | 49 | 49 |
Binary | 11110000 | 110001 | 110001 |
Octal | 360 | 61 | 61 |
Examples of css and html codes for elements with #F03131 color. Also use rgb(240,49,49) instead hex code.
.myTextColor { color: #F03131; }
<p style="color:#F03131">This sample text font color is #F03131.</p>
This text font color is #F03131.
.myBgColor { background-color: #F03131; }
<div style="background-color:#F03131">Inner text</div>
This div background color is #F03131.
.myBorderColor { border: 1px solid #F03131; }
<div style="border:3px solid #F03131">Div</div>
This div border color is #F03131.
.myOpacity80 { color: #F03131; opacity: 0.8; }
<p style="color:#F03131;opacity:0.8;">80%</p>
Text with #F03131 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F03131;}
<p style="text-shadow: 3px 3px 1px #F03131">Text here.</p>
This text has shadow with #F03131 color.
.textShadow {text-shadow: 3px 3px 1px #F03131, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F03131, 5px 5px 20px red">Text here.</p>
This text has shadow with #F03131 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F03131, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F03131, Direction=45, Strength=4)">Text</p>
This text has shadow with #F03131 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F03131; -webkit-box-shadow: 1px 1px 3px 2px #F03131; box-shadow: 1px 1px 3px 2px #F03131; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F03131; -webkit-box-shadow: 1px 1px 3px 2px #F03131; box-shadow:1px 1px 3px 2px #F03131;">
Div content here</div>
This text has color #F03131 on black background.
This text has color #F03131 on white background.
This text has black color on #F03131 background.
This text has white color on #F03131 background.