HEX: #F6D97F
RGB: (246,217,127)
#F6D97F contains mainly red and green colors. Web safe color of #F6D97F is #FFCC66 (or #FC6).
#F6D97F color RGB value is (246,217,127).
RGB: (246,217,127) (96%,85%,50%)
R 246 of 255 = 96%
G 217 of 255 = 85%
B 127 of 255 = 50%
R + G + B ~ 77%. #F6D97F is quite light color.
R + G + B =
246 + 217 + 127 = 590 (100%)
R 246 of 590 ~ 41.69%
G 217 of 590 ~ 36.78%
B 127 of 590 ~ 21.53%
#F6D97F color CMYK value is (0,12,48,4).
CMYK: (0,12,48,4) C0M12Y48K4 (0%,12%,48%,4%) (0.00/0.12/0.48/0.04)
F6 | D9 | 7F | |
---|---|---|---|
RGB | 246 | 217 | 127 |
HSL | 45° | 86.86% | 73.14% |
HSB/HSV | 45° | 48.37% | 96.47% |
CMYK | 0.00% | 11.79% | 48.37% |
3.53% |
HEX | F6 | D9 | 7F |
Decimal | 246 | 217 | 127 |
Binary | 11110110 | 11011001 | 1111111 |
Octal | 366 | 331 | 177 |
Examples of css and html codes for elements with #F6D97F color. Also use rgb(246,217,127) instead hex code.
.myTextColor { color: #F6D97F; }
<p style="color:#F6D97F">This sample text font color is #F6D97F.</p>
This text font color is #F6D97F.
.myBgColor { background-color: #F6D97F; }
<div style="background-color:#F6D97F">Inner text</div>
This div background color is #F6D97F.
.myBorderColor { border: 1px solid #F6D97F; }
<div style="border:3px solid #F6D97F">Div</div>
This div border color is #F6D97F.
.myOpacity80 { color: #F6D97F; opacity: 0.8; }
<p style="color:#F6D97F;opacity:0.8;">80%</p>
Text with #F6D97F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F6D97F;}
<p style="text-shadow: 3px 3px 1px #F6D97F">Text here.</p>
This text has shadow with #F6D97F color.
.textShadow {text-shadow: 3px 3px 1px #F6D97F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F6D97F, 5px 5px 20px red">Text here.</p>
This text has shadow with #F6D97F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F6D97F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F6D97F, Direction=45, Strength=4)">Text</p>
This text has shadow with #F6D97F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F6D97F; -webkit-box-shadow: 1px 1px 3px 2px #F6D97F; box-shadow: 1px 1px 3px 2px #F6D97F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F6D97F; -webkit-box-shadow: 1px 1px 3px 2px #F6D97F; box-shadow:1px 1px 3px 2px #F6D97F;">
Div content here</div>
This text has color #F6D97F on black background.
This text has color #F6D97F on white background.
This text has black color on #F6D97F background.
This text has white color on #F6D97F background.