HEX: #F8D318
RGB: (248,211,24)
#F8D318 contains mainly red and green colors. Web safe color of #F8D318 is #FFCC00 (or #FC0).
#F8D318 color RGB value is (248,211,24).
RGB: (248,211,24) (97%,83%,9%)
R 248 of 255 = 97%
G 211 of 255 = 83%
B 24 of 255 = 9%
R + G + B ~ 63%. #F8D318 is quite light color.
R + G + B =
248 + 211 + 24 = 483 (100%)
R 248 of 483 ~ 51.35%
G 211 of 483 ~ 43.69%
B 24 of 483 ~ 4.97%
#F8D318 color CMYK value is (0,15,90,3).
CMYK: (0,15,90,3) C0M15Y90K3 (0%,15%,90%,3%) (0.00/0.15/0.90/0.03)
F8 | D3 | 18 | |
---|---|---|---|
RGB | 248 | 211 | 24 |
HSL | 50° | 94.12% | 53.33% |
HSB/HSV | 50° | 90.32% | 97.25% |
CMYK | 0.00% | 14.92% | 90.32% |
2.75% |
HEX | F8 | D3 | 18 |
Decimal | 248 | 211 | 24 |
Binary | 11111000 | 11010011 | 11000 |
Octal | 370 | 323 | 30 |
Examples of css and html codes for elements with #F8D318 color. Also use rgb(248,211,24) instead hex code.
.myTextColor { color: #F8D318; }
<p style="color:#F8D318">This sample text font color is #F8D318.</p>
This text font color is #F8D318.
.myBgColor { background-color: #F8D318; }
<div style="background-color:#F8D318">Inner text</div>
This div background color is #F8D318.
.myBorderColor { border: 1px solid #F8D318; }
<div style="border:3px solid #F8D318">Div</div>
This div border color is #F8D318.
.myOpacity80 { color: #F8D318; opacity: 0.8; }
<p style="color:#F8D318;opacity:0.8;">80%</p>
Text with #F8D318 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F8D318;}
<p style="text-shadow: 3px 3px 1px #F8D318">Text here.</p>
This text has shadow with #F8D318 color.
.textShadow {text-shadow: 3px 3px 1px #F8D318, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F8D318, 5px 5px 20px red">Text here.</p>
This text has shadow with #F8D318 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F8D318, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F8D318, Direction=45, Strength=4)">Text</p>
This text has shadow with #F8D318 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F8D318; -webkit-box-shadow: 1px 1px 3px 2px #F8D318; box-shadow: 1px 1px 3px 2px #F8D318; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F8D318; -webkit-box-shadow: 1px 1px 3px 2px #F8D318; box-shadow:1px 1px 3px 2px #F8D318;">
Div content here</div>
This text has color #F8D318 on black background.
This text has color #F8D318 on white background.
This text has black color on #F8D318 background.
This text has white color on #F8D318 background.