HEX: #F01818
RGB: (240,24,24)
#F01818 contains mainly red color. Web safe color of #F01818 is #FF0000 (or #F00).
#F01818 color RGB value is (240,24,24).
RGB: (240,24,24) (94%,9%,9%)
R 240 of 255 = 94%
G 24 of 255 = 9%
B 24 of 255 = 9%
R + G + B ~ 37%. #F01818 is quite dark color.
R + G + B =
240 + 24 + 24 = 288 (100%)
R 240 of 288 ~ 83.33%
G 24 of 288 ~ 8.33%
B 24 of 288 ~ 8.33%
#F01818 color CMYK value is (0,90,90,6).
CMYK: (0,90,90,6) C0M90Y90K6 (0%,90%,90%,6%) (0.00/0.90/0.90/0.06)
F0 | 18 | 18 | |
---|---|---|---|
RGB | 240 | 24 | 24 |
HSL | 0° | 87.80% | 51.76% |
HSB/HSV | 0° | 90.00% | 94.12% |
CMYK | 0.00% | 90.00% | 90.00% |
5.88% |
HEX | F0 | 18 | 18 |
Decimal | 240 | 24 | 24 |
Binary | 11110000 | 11000 | 11000 |
Octal | 360 | 30 | 30 |
Examples of css and html codes for elements with #F01818 color. Also use rgb(240,24,24) instead hex code.
.myTextColor { color: #F01818; }
<p style="color:#F01818">This sample text font color is #F01818.</p>
This text font color is #F01818.
.myBgColor { background-color: #F01818; }
<div style="background-color:#F01818">Inner text</div>
This div background color is #F01818.
.myBorderColor { border: 1px solid #F01818; }
<div style="border:3px solid #F01818">Div</div>
This div border color is #F01818.
.myOpacity80 { color: #F01818; opacity: 0.8; }
<p style="color:#F01818;opacity:0.8;">80%</p>
Text with #F01818 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F01818;}
<p style="text-shadow: 3px 3px 1px #F01818">Text here.</p>
This text has shadow with #F01818 color.
.textShadow {text-shadow: 3px 3px 1px #F01818, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F01818, 5px 5px 20px red">Text here.</p>
This text has shadow with #F01818 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F01818, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F01818, Direction=45, Strength=4)">Text</p>
This text has shadow with #F01818 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F01818; -webkit-box-shadow: 1px 1px 3px 2px #F01818; box-shadow: 1px 1px 3px 2px #F01818; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F01818; -webkit-box-shadow: 1px 1px 3px 2px #F01818; box-shadow:1px 1px 3px 2px #F01818;">
Div content here</div>
This text has color #F01818 on black background.
This text has color #F01818 on white background.
This text has black color on #F01818 background.
This text has white color on #F01818 background.