HEX: #F0B40B
RGB: (240,180,11)
#F0B40B contains mainly red color. Web safe color of #F0B40B is #FFCC00 (or #FC0).
#F0B40B color RGB value is (240,180,11).
RGB: (240,180,11) (94%,71%,4%)
R 240 of 255 = 94%
G 180 of 255 = 71%
B 11 of 255 = 4%
R + G + B ~ 56%. #F0B40B is middle color (not dark and not light).
R + G + B =
240 + 180 + 11 = 431 (100%)
R 240 of 431 ~ 55.68%
G 180 of 431 ~ 41.76%
B 11 of 431 ~ 2.55%
#F0B40B color CMYK value is (0,25,95,6).
CMYK: (0,25,95,6) C0M25Y95K6 (0%,25%,95%,6%) (0.00/0.25/0.95/0.06)
F0 | B4 | 0B | |
---|---|---|---|
RGB | 240 | 180 | 11 |
HSL | 44° | 91.24% | 49.22% |
HSB/HSV | 44° | 95.42% | 94.12% |
CMYK | 0.00% | 25.00% | 95.42% |
5.88% |
HEX | F0 | B4 | 0B |
Decimal | 240 | 180 | 11 |
Binary | 11110000 | 10110100 | 1011 |
Octal | 360 | 264 | 13 |
Examples of css and html codes for elements with #F0B40B color. Also use rgb(240,180,11) instead hex code.
.myTextColor { color: #F0B40B; }
<p style="color:#F0B40B">This sample text font color is #F0B40B.</p>
This text font color is #F0B40B.
.myBgColor { background-color: #F0B40B; }
<div style="background-color:#F0B40B">Inner text</div>
This div background color is #F0B40B.
.myBorderColor { border: 1px solid #F0B40B; }
<div style="border:3px solid #F0B40B">Div</div>
This div border color is #F0B40B.
.myOpacity80 { color: #F0B40B; opacity: 0.8; }
<p style="color:#F0B40B;opacity:0.8;">80%</p>
Text with #F0B40B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0B40B;}
<p style="text-shadow: 3px 3px 1px #F0B40B">Text here.</p>
This text has shadow with #F0B40B color.
.textShadow {text-shadow: 3px 3px 1px #F0B40B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0B40B, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0B40B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0B40B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0B40B, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0B40B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0B40B; -webkit-box-shadow: 1px 1px 3px 2px #F0B40B; box-shadow: 1px 1px 3px 2px #F0B40B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0B40B; -webkit-box-shadow: 1px 1px 3px 2px #F0B40B; box-shadow:1px 1px 3px 2px #F0B40B;">
Div content here</div>
This text has color #F0B40B on black background.
This text has color #F0B40B on white background.
This text has black color on #F0B40B background.
This text has white color on #F0B40B background.