HEX: #F8BA3B
RGB: (248,186,59)
#F8BA3B contains mainly red color. Web safe color of #F8BA3B is #FFCC33 (or #FC3).
#F8BA3B color RGB value is (248,186,59).
RGB: (248,186,59) (97%,73%,23%)
R 248 of 255 = 97%
G 186 of 255 = 73%
B 59 of 255 = 23%
R + G + B ~ 64%. #F8BA3B is quite light color.
R + G + B =
248 + 186 + 59 = 493 (100%)
R 248 of 493 ~ 50.3%
G 186 of 493 ~ 37.73%
B 59 of 493 ~ 11.97%
#F8BA3B color CMYK value is (0,25,76,3).
CMYK: (0,25,76,3) C0M25Y76K3 (0%,25%,76%,3%) (0.00/0.25/0.76/0.03)
F8 | BA | 3B | |
---|---|---|---|
RGB | 248 | 186 | 59 |
HSL | 40° | 93.10% | 60.20% |
HSB/HSV | 40° | 76.21% | 97.25% |
CMYK | 0.00% | 25.00% | 76.21% |
2.75% |
HEX | F8 | BA | 3B |
Decimal | 248 | 186 | 59 |
Binary | 11111000 | 10111010 | 111011 |
Octal | 370 | 272 | 73 |
Examples of css and html codes for elements with #F8BA3B color. Also use rgb(248,186,59) instead hex code.
.myTextColor { color: #F8BA3B; }
<p style="color:#F8BA3B">This sample text font color is #F8BA3B.</p>
This text font color is #F8BA3B.
.myBgColor { background-color: #F8BA3B; }
<div style="background-color:#F8BA3B">Inner text</div>
This div background color is #F8BA3B.
.myBorderColor { border: 1px solid #F8BA3B; }
<div style="border:3px solid #F8BA3B">Div</div>
This div border color is #F8BA3B.
.myOpacity80 { color: #F8BA3B; opacity: 0.8; }
<p style="color:#F8BA3B;opacity:0.8;">80%</p>
Text with #F8BA3B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F8BA3B;}
<p style="text-shadow: 3px 3px 1px #F8BA3B">Text here.</p>
This text has shadow with #F8BA3B color.
.textShadow {text-shadow: 3px 3px 1px #F8BA3B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F8BA3B, 5px 5px 20px red">Text here.</p>
This text has shadow with #F8BA3B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F8BA3B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F8BA3B, Direction=45, Strength=4)">Text</p>
This text has shadow with #F8BA3B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F8BA3B; -webkit-box-shadow: 1px 1px 3px 2px #F8BA3B; box-shadow: 1px 1px 3px 2px #F8BA3B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F8BA3B; -webkit-box-shadow: 1px 1px 3px 2px #F8BA3B; box-shadow:1px 1px 3px 2px #F8BA3B;">
Div content here</div>
This text has color #F8BA3B on black background.
This text has color #F8BA3B on white background.
This text has black color on #F8BA3B background.
This text has white color on #F8BA3B background.