HEX: #F8D97D
RGB: (248,217,125)
#F8D97D contains mainly red and green colors. Web safe color of #F8D97D is #FFCC66 (or #FC6).
#F8D97D color RGB value is (248,217,125).
RGB: (248,217,125) (97%,85%,49%)
R 248 of 255 = 97%
G 217 of 255 = 85%
B 125 of 255 = 49%
R + G + B ~ 77%. #F8D97D is quite light color.
R + G + B =
248 + 217 + 125 = 590 (100%)
R 248 of 590 ~ 42.03%
G 217 of 590 ~ 36.78%
B 125 of 590 ~ 21.19%
#F8D97D color CMYK value is (0,13,50,3).
CMYK: (0,13,50,3) C0M13Y50K3 (0%,13%,50%,3%) (0.00/0.13/0.50/0.03)
F8 | D9 | 7D | |
---|---|---|---|
RGB | 248 | 217 | 125 |
HSL | 45° | 89.78% | 73.14% |
HSB/HSV | 45° | 49.60% | 97.25% |
CMYK | 0.00% | 12.50% | 49.60% |
2.75% |
HEX | F8 | D9 | 7D |
Decimal | 248 | 217 | 125 |
Binary | 11111000 | 11011001 | 1111101 |
Octal | 370 | 331 | 175 |
Examples of css and html codes for elements with #F8D97D color. Also use rgb(248,217,125) instead hex code.
.myTextColor { color: #F8D97D; }
<p style="color:#F8D97D">This sample text font color is #F8D97D.</p>
This text font color is #F8D97D.
.myBgColor { background-color: #F8D97D; }
<div style="background-color:#F8D97D">Inner text</div>
This div background color is #F8D97D.
.myBorderColor { border: 1px solid #F8D97D; }
<div style="border:3px solid #F8D97D">Div</div>
This div border color is #F8D97D.
.myOpacity80 { color: #F8D97D; opacity: 0.8; }
<p style="color:#F8D97D;opacity:0.8;">80%</p>
Text with #F8D97D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F8D97D;}
<p style="text-shadow: 3px 3px 1px #F8D97D">Text here.</p>
This text has shadow with #F8D97D color.
.textShadow {text-shadow: 3px 3px 1px #F8D97D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F8D97D, 5px 5px 20px red">Text here.</p>
This text has shadow with #F8D97D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F8D97D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F8D97D, Direction=45, Strength=4)">Text</p>
This text has shadow with #F8D97D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F8D97D; -webkit-box-shadow: 1px 1px 3px 2px #F8D97D; box-shadow: 1px 1px 3px 2px #F8D97D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F8D97D; -webkit-box-shadow: 1px 1px 3px 2px #F8D97D; box-shadow:1px 1px 3px 2px #F8D97D;">
Div content here</div>
This text has color #F8D97D on black background.
This text has color #F8D97D on white background.
This text has black color on #F8D97D background.
This text has white color on #F8D97D background.