HEX: #F0A802
RGB: (240,168,2)
#F0A802 contains mainly red color. Web safe color of #F0A802 is #FF9900 (or #F90).
#F0A802 color RGB value is (240,168,2).
RGB: (240,168,2)
(94%, 66%, 1%)
R 240 of 255 = 94%
G 168 of 255 = 66%
B 2 of 255 = 1%
R + G + B ~ 54%. #F0A802 is middle color (not dark and not light).
R + G + B = 240 + 168 + 2 = 410 (100%)
R 240 of 410 ~ 58.54%
G 168 of 410 ~ 40.98%
B 2 of 410 ~ 0.49'%
#F0A802 color CMYK value is (0,30,99,6).
CMYK: (0,30,99,6)
C0M30Y99K6 (0%, 30%, 99%, 6%)
(0.00 / 0.30 / 0.99 / 0.06)
Color #F0A802 in popluar color models
F0 | A8 | 02 | |
---|---|---|---|
RGB | 240 | 168 | 2 |
HSL | 42° | 98.35% | 47.45% |
HSB/HSV | 42° | 99.17% | 94.12% |
CMYK | 0.00% | 30.00% | 99.17% |
5.88% |
Color #F0A802 in popluar number systems.
HEX | F0 | A8 | 02 |
Decimal | 240 | 168 | 2 |
Binary | 11110000 | 10101000 | 10 |
Octal | 360 | 250 | 2 |
Shades of #F0A802
Tints of #F0A802
Examples of css and html codes for elements with #F0A802 color. Also use rgb(240,168,2) instead hex code.
.myTextColor { color: #F0A802; }
<p style="color:#F0A802">This sample text font color is #F0A802.</p>
This text font color is #F0A802.
.myBgColor { background-color: #F0A802; }
<div style="background-color:#F0A802">Inner text</div>
This div background color is #F0A802.
.myBorderColor { border: 1px solid #F0A802; }
<div style="border:3px solid #F0A802">Div</div>
This div border color is #F0A802.
.myOpacity80 { color: #F0A802; opacity: 0.8; }
<p style="color:#F0A802;opacity:0.8;">80%</p>
Text with #F0A802 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0A802;}
<p style="text-shadow: 3px 3px 1px #F0A802">Text here.</p>
This text has shadow with #F0A802 color.
.textShadow {text-shadow: 3px 3px 1px #F0A802', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0A802, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0A802 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0A802, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0A802, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0A802 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #F0A802;
-webkit-box-shadow: 1px 1px 3px 2px #F0A802;
box-shadow: 1px 1px 3px 2px #F0A802;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #F0A802; -webkit-box-shadow: 1px 1px 3px 2px #F0A802; box-shadow:1px 1px 3px 2px #F0A802;">
Div content here
</div>
This text has color #F0A802 on black background.
This text has color #F0A802 on white background.
This text has black color on #F0A802 background.
This text has white color on #F0A802 background.
Complementary color for #hex is #0F57FD.