HEX: #F0502D
RGB: (240,80,45)
#F0502D contains mainly red color. Web safe color of #F0502D is #FF6633 (or #F63).
#F0502D color RGB value is (240,80,45).
RGB: (240,80,45) (94%,31%,18%)
R 240 of 255 = 94%
G 80 of 255 = 31%
B 45 of 255 = 18%
R + G + B ~ 48%. #F0502D is middle color (not dark and not light).
R + G + B =
240 + 80 + 45 = 365 (100%)
R 240 of 365 ~ 65.75%
G 80 of 365 ~ 21.92%
B 45 of 365 ~ 12.33%
#F0502D color CMYK value is (0,67,81,6).
CMYK: (0,67,81,6) C0M67Y81K6 (0%,67%,81%,6%) (0.00/0.67/0.81/0.06)
F0 | 50 | 2D | |
---|---|---|---|
RGB | 240 | 80 | 45 |
HSL | 11° | 86.67% | 55.88% |
HSB/HSV | 11° | 81.25% | 94.12% |
CMYK | 0.00% | 66.67% | 81.25% |
5.88% |
HEX | F0 | 50 | 2D |
Decimal | 240 | 80 | 45 |
Binary | 11110000 | 1010000 | 101101 |
Octal | 360 | 120 | 55 |
Examples of css and html codes for elements with #F0502D color. Also use rgb(240,80,45) instead hex code.
.myTextColor { color: #F0502D; }
<p style="color:#F0502D">This sample text font color is #F0502D.</p>
This text font color is #F0502D.
.myBgColor { background-color: #F0502D; }
<div style="background-color:#F0502D">Inner text</div>
This div background color is #F0502D.
.myBorderColor { border: 1px solid #F0502D; }
<div style="border:3px solid #F0502D">Div</div>
This div border color is #F0502D.
.myOpacity80 { color: #F0502D; opacity: 0.8; }
<p style="color:#F0502D;opacity:0.8;">80%</p>
Text with #F0502D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0502D;}
<p style="text-shadow: 3px 3px 1px #F0502D">Text here.</p>
This text has shadow with #F0502D color.
.textShadow {text-shadow: 3px 3px 1px #F0502D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0502D, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0502D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0502D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0502D, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0502D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0502D; -webkit-box-shadow: 1px 1px 3px 2px #F0502D; box-shadow: 1px 1px 3px 2px #F0502D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0502D; -webkit-box-shadow: 1px 1px 3px 2px #F0502D; box-shadow:1px 1px 3px 2px #F0502D;">
Div content here</div>
This text has color #F0502D on black background.
This text has color #F0502D on white background.
This text has black color on #F0502D background.
This text has white color on #F0502D background.