HEX: #F9F7AB
RGB: (249,247,171)
#F9F7AB contains mainly red and green colors. Web safe color of #F9F7AB is #FFFF99 (or #FF9).
#F9F7AB color RGB value is (249,247,171).
RGB: (249,247,171) (98%,97%,67%)
R 249 of 255 = 98%
G 247 of 255 = 97%
B 171 of 255 = 67%
R + G + B ~ 87%. #F9F7AB is light color.
R + G + B =
249 + 247 + 171 = 667 (100%)
R 249 of 667 ~ 37.33%
G 247 of 667 ~ 37.03%
B 171 of 667 ~ 25.64%
#F9F7AB color CMYK value is (0,1,31,2).
CMYK: (0,1,31,2) C0M1Y31K2 (0%,1%,31%,2%) (0.00/0.01/0.31/0.02)
F9 | F7 | AB | |
---|---|---|---|
RGB | 249 | 247 | 171 |
HSL | 58° | 86.67% | 82.35% |
HSB/HSV | 58° | 31.33% | 97.65% |
CMYK | 0.00% | 0.80% | 31.33% |
2.35% |
HEX | F9 | F7 | AB |
Decimal | 249 | 247 | 171 |
Binary | 11111001 | 11110111 | 10101011 |
Octal | 371 | 367 | 253 |
Examples of css and html codes for elements with #F9F7AB color. Also use rgb(249,247,171) instead hex code.
.myTextColor { color: #F9F7AB; }
<p style="color:#F9F7AB">This sample text font color is #F9F7AB.</p>
This text font color is #F9F7AB.
.myBgColor { background-color: #F9F7AB; }
<div style="background-color:#F9F7AB">Inner text</div>
This div background color is #F9F7AB.
.myBorderColor { border: 1px solid #F9F7AB; }
<div style="border:3px solid #F9F7AB">Div</div>
This div border color is #F9F7AB.
.myOpacity80 { color: #F9F7AB; opacity: 0.8; }
<p style="color:#F9F7AB;opacity:0.8;">80%</p>
Text with #F9F7AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F9F7AB;}
<p style="text-shadow: 3px 3px 1px #F9F7AB">Text here.</p>
This text has shadow with #F9F7AB color.
.textShadow {text-shadow: 3px 3px 1px #F9F7AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F9F7AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #F9F7AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F9F7AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F9F7AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #F9F7AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F9F7AB; -webkit-box-shadow: 1px 1px 3px 2px #F9F7AB; box-shadow: 1px 1px 3px 2px #F9F7AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F9F7AB; -webkit-box-shadow: 1px 1px 3px 2px #F9F7AB; box-shadow:1px 1px 3px 2px #F9F7AB;">
Div content here</div>
This text has color #F9F7AB on black background.
This text has color #F9F7AB on white background.
This text has black color on #F9F7AB background.
This text has white color on #F9F7AB background.