HEX: #F0002F
RGB: (240,0,47)
#F0002F contains mainly red color. Web safe color of #F0002F is #FF0033 (or #F03).
#F0002F color RGB value is (240,0,47).
RGB: (240,0,47) (94%,0%,18%)
R 240 of 255 = 94%
G 0 of 255 = 0%
B 47 of 255 = 18%
R + G + B ~ 37%. #F0002F is quite dark color.
R + G + B =
240 + 0 + 47 = 287 (100%)
R 240 of 287 ~ 83.62%
G 0 of 287 ~ 0%
B 47 of 287 ~ 16.38%
#F0002F color CMYK value is (0,100,80,6).
CMYK: (0,100,80,6) C0M100Y80K6 (0%,100%,80%,6%) (0.00/1.00/0.80/0.06)
F0 | 00 | 2F | |
---|---|---|---|
RGB | 240 | 0 | 47 |
HSL | 348° | 100.00% | 47.06% |
HSB/HSV | 348° | 100.00% | 94.12% |
CMYK | 0.00% | 100.00% | 80.42% |
5.88% |
HEX | F0 | 00 | 2F |
Decimal | 240 | 0 | 47 |
Binary | 11110000 | 0 | 101111 |
Octal | 360 | 0 | 57 |
Examples of css and html codes for elements with #F0002F color. Also use rgb(240,0,47) instead hex code.
.myTextColor { color: #F0002F; }
<p style="color:#F0002F">This sample text font color is #F0002F.</p>
This text font color is #F0002F.
.myBgColor { background-color: #F0002F; }
<div style="background-color:#F0002F">Inner text</div>
This div background color is #F0002F.
.myBorderColor { border: 1px solid #F0002F; }
<div style="border:3px solid #F0002F">Div</div>
This div border color is #F0002F.
.myOpacity80 { color: #F0002F; opacity: 0.8; }
<p style="color:#F0002F;opacity:0.8;">80%</p>
Text with #F0002F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0002F;}
<p style="text-shadow: 3px 3px 1px #F0002F">Text here.</p>
This text has shadow with #F0002F color.
.textShadow {text-shadow: 3px 3px 1px #F0002F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0002F, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0002F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0002F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0002F, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0002F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0002F; -webkit-box-shadow: 1px 1px 3px 2px #F0002F; box-shadow: 1px 1px 3px 2px #F0002F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0002F; -webkit-box-shadow: 1px 1px 3px 2px #F0002F; box-shadow:1px 1px 3px 2px #F0002F;">
Div content here</div>
This text has color #F0002F on black background.
This text has color #F0002F on white background.
This text has black color on #F0002F background.
This text has white color on #F0002F background.