HEX: #F8DB0A
RGB: (248,219,10)
#F8DB0A contains mainly red and green colors. Web safe color of #F8DB0A is #FFCC00 (or #FC0).
#F8DB0A color RGB value is (248,219,10).
RGB: (248,219,10) (97%,86%,4%)
R 248 of 255 = 97%
G 219 of 255 = 86%
B 10 of 255 = 4%
R + G + B ~ 62%. #F8DB0A is quite light color.
R + G + B =
248 + 219 + 10 = 477 (100%)
R 248 of 477 ~ 51.99%
G 219 of 477 ~ 45.91%
B 10 of 477 ~ 2.1%
#F8DB0A color CMYK value is (0,12,96,3).
CMYK: (0,12,96,3) C0M12Y96K3 (0%,12%,96%,3%) (0.00/0.12/0.96/0.03)
F8 | DB | 0A | |
---|---|---|---|
RGB | 248 | 219 | 10 |
HSL | 53° | 94.44% | 50.59% |
HSB/HSV | 53° | 95.97% | 97.25% |
CMYK | 0.00% | 11.69% | 95.97% |
2.75% |
HEX | F8 | DB | 0A |
Decimal | 248 | 219 | 10 |
Binary | 11111000 | 11011011 | 1010 |
Octal | 370 | 333 | 12 |
Examples of css and html codes for elements with #F8DB0A color. Also use rgb(248,219,10) instead hex code.
.myTextColor { color: #F8DB0A; }
<p style="color:#F8DB0A">This sample text font color is #F8DB0A.</p>
This text font color is #F8DB0A.
.myBgColor { background-color: #F8DB0A; }
<div style="background-color:#F8DB0A">Inner text</div>
This div background color is #F8DB0A.
.myBorderColor { border: 1px solid #F8DB0A; }
<div style="border:3px solid #F8DB0A">Div</div>
This div border color is #F8DB0A.
.myOpacity80 { color: #F8DB0A; opacity: 0.8; }
<p style="color:#F8DB0A;opacity:0.8;">80%</p>
Text with #F8DB0A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F8DB0A;}
<p style="text-shadow: 3px 3px 1px #F8DB0A">Text here.</p>
This text has shadow with #F8DB0A color.
.textShadow {text-shadow: 3px 3px 1px #F8DB0A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F8DB0A, 5px 5px 20px red">Text here.</p>
This text has shadow with #F8DB0A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F8DB0A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F8DB0A, Direction=45, Strength=4)">Text</p>
This text has shadow with #F8DB0A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F8DB0A; -webkit-box-shadow: 1px 1px 3px 2px #F8DB0A; box-shadow: 1px 1px 3px 2px #F8DB0A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F8DB0A; -webkit-box-shadow: 1px 1px 3px 2px #F8DB0A; box-shadow:1px 1px 3px 2px #F8DB0A;">
Div content here</div>
This text has color #F8DB0A on black background.
This text has color #F8DB0A on white background.
This text has black color on #F8DB0A background.
This text has white color on #F8DB0A background.