HEX: #FAF276
RGB: (250,242,118)
#FAF276 contains mainly red and green colors. Web safe color of #FAF276 is #FFFF66 (or #FF6).
#FAF276 color RGB value is (250,242,118).
RGB: (250,242,118) (98%,95%,46%)
R 250 of 255 = 98%
G 242 of 255 = 95%
B 118 of 255 = 46%
R + G + B ~ 80%. #FAF276 is quite light color.
R + G + B =
250 + 242 + 118 = 610 (100%)
R 250 of 610 ~ 40.98%
G 242 of 610 ~ 39.67%
B 118 of 610 ~ 19.34%
#FAF276 color CMYK value is (0,3,53,2).
CMYK: (0,3,53,2) C0M3Y53K2 (0%,3%,53%,2%) (0.00/0.03/0.53/0.02)
FA | F2 | 76 | |
---|---|---|---|
RGB | 250 | 242 | 118 |
HSL | 56° | 92.96% | 72.16% |
HSB/HSV | 56° | 52.80% | 98.04% |
CMYK | 0.00% | 3.20% | 52.80% |
1.96% |
HEX | FA | F2 | 76 |
Decimal | 250 | 242 | 118 |
Binary | 11111010 | 11110010 | 1110110 |
Octal | 372 | 362 | 166 |
Examples of css and html codes for elements with #FAF276 color. Also use rgb(250,242,118) instead hex code.
.myTextColor { color: #FAF276; }
<p style="color:#FAF276">This sample text font color is #FAF276.</p>
This text font color is #FAF276.
.myBgColor { background-color: #FAF276; }
<div style="background-color:#FAF276">Inner text</div>
This div background color is #FAF276.
.myBorderColor { border: 1px solid #FAF276; }
<div style="border:3px solid #FAF276">Div</div>
This div border color is #FAF276.
.myOpacity80 { color: #FAF276; opacity: 0.8; }
<p style="color:#FAF276;opacity:0.8;">80%</p>
Text with #FAF276 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FAF276;}
<p style="text-shadow: 3px 3px 1px #FAF276">Text here.</p>
This text has shadow with #FAF276 color.
.textShadow {text-shadow: 3px 3px 1px #FAF276, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FAF276, 5px 5px 20px red">Text here.</p>
This text has shadow with #FAF276 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FAF276, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FAF276, Direction=45, Strength=4)">Text</p>
This text has shadow with #FAF276 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FAF276; -webkit-box-shadow: 1px 1px 3px 2px #FAF276; box-shadow: 1px 1px 3px 2px #FAF276; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FAF276; -webkit-box-shadow: 1px 1px 3px 2px #FAF276; box-shadow:1px 1px 3px 2px #FAF276;">
Div content here</div>
This text has color #FAF276 on black background.
This text has color #FAF276 on white background.
This text has black color on #FAF276 background.
This text has white color on #FAF276 background.