HEX: #F6E97B
RGB: (246,233,123)
#F6E97B contains mainly red and green colors. Web safe color of #F6E97B is #FFFF66 (or #FF6).
#F6E97B color RGB value is (246,233,123).
RGB: (246,233,123) (96%,91%,48%)
R 246 of 255 = 96%
G 233 of 255 = 91%
B 123 of 255 = 48%
R + G + B ~ 78%. #F6E97B is quite light color.
R + G + B =
246 + 233 + 123 = 602 (100%)
R 246 of 602 ~ 40.86%
G 233 of 602 ~ 38.7%
B 123 of 602 ~ 20.43%
#F6E97B color CMYK value is (0,5,50,4).
CMYK: (0,5,50,4) C0M5Y50K4 (0%,5%,50%,4%) (0.00/0.05/0.50/0.04)
F6 | E9 | 7B | |
---|---|---|---|
RGB | 246 | 233 | 123 |
HSL | 54° | 87.23% | 72.35% |
HSB/HSV | 54° | 50.00% | 96.47% |
CMYK | 0.00% | 5.28% | 50.00% |
3.53% |
HEX | F6 | E9 | 7B |
Decimal | 246 | 233 | 123 |
Binary | 11110110 | 11101001 | 1111011 |
Octal | 366 | 351 | 173 |
Examples of css and html codes for elements with #F6E97B color. Also use rgb(246,233,123) instead hex code.
.myTextColor { color: #F6E97B; }
<p style="color:#F6E97B">This sample text font color is #F6E97B.</p>
This text font color is #F6E97B.
.myBgColor { background-color: #F6E97B; }
<div style="background-color:#F6E97B">Inner text</div>
This div background color is #F6E97B.
.myBorderColor { border: 1px solid #F6E97B; }
<div style="border:3px solid #F6E97B">Div</div>
This div border color is #F6E97B.
.myOpacity80 { color: #F6E97B; opacity: 0.8; }
<p style="color:#F6E97B;opacity:0.8;">80%</p>
Text with #F6E97B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F6E97B;}
<p style="text-shadow: 3px 3px 1px #F6E97B">Text here.</p>
This text has shadow with #F6E97B color.
.textShadow {text-shadow: 3px 3px 1px #F6E97B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F6E97B, 5px 5px 20px red">Text here.</p>
This text has shadow with #F6E97B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F6E97B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F6E97B, Direction=45, Strength=4)">Text</p>
This text has shadow with #F6E97B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F6E97B; -webkit-box-shadow: 1px 1px 3px 2px #F6E97B; box-shadow: 1px 1px 3px 2px #F6E97B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F6E97B; -webkit-box-shadow: 1px 1px 3px 2px #F6E97B; box-shadow:1px 1px 3px 2px #F6E97B;">
Div content here</div>
This text has color #F6E97B on black background.
This text has color #F6E97B on white background.
This text has black color on #F6E97B background.
This text has white color on #F6E97B background.