HEX: #FAF198
RGB: (250,241,152)
#FAF198 contains mainly red and green colors. Web safe color of #FAF198 is #FFFF99 (or #FF9).
#FAF198 color RGB value is (250,241,152).
RGB: (250,241,152) (98%,95%,60%)
R 250 of 255 = 98%
G 241 of 255 = 95%
B 152 of 255 = 60%
R + G + B ~ 84%. #FAF198 is quite light color.
R + G + B =
250 + 241 + 152 = 643 (100%)
R 250 of 643 ~ 38.88%
G 241 of 643 ~ 37.48%
B 152 of 643 ~ 23.64%
#FAF198 color CMYK value is (0,4,39,2).
CMYK: (0,4,39,2) C0M4Y39K2 (0%,4%,39%,2%) (0.00/0.04/0.39/0.02)
FA | F1 | 98 | |
---|---|---|---|
RGB | 250 | 241 | 152 |
HSL | 54° | 90.74% | 78.82% |
HSB/HSV | 54° | 39.20% | 98.04% |
CMYK | 0.00% | 3.60% | 39.20% |
1.96% |
HEX | FA | F1 | 98 |
Decimal | 250 | 241 | 152 |
Binary | 11111010 | 11110001 | 10011000 |
Octal | 372 | 361 | 230 |
Examples of css and html codes for elements with #FAF198 color. Also use rgb(250,241,152) instead hex code.
.myTextColor { color: #FAF198; }
<p style="color:#FAF198">This sample text font color is #FAF198.</p>
This text font color is #FAF198.
.myBgColor { background-color: #FAF198; }
<div style="background-color:#FAF198">Inner text</div>
This div background color is #FAF198.
.myBorderColor { border: 1px solid #FAF198; }
<div style="border:3px solid #FAF198">Div</div>
This div border color is #FAF198.
.myOpacity80 { color: #FAF198; opacity: 0.8; }
<p style="color:#FAF198;opacity:0.8;">80%</p>
Text with #FAF198 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FAF198;}
<p style="text-shadow: 3px 3px 1px #FAF198">Text here.</p>
This text has shadow with #FAF198 color.
.textShadow {text-shadow: 3px 3px 1px #FAF198, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FAF198, 5px 5px 20px red">Text here.</p>
This text has shadow with #FAF198 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FAF198, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FAF198, Direction=45, Strength=4)">Text</p>
This text has shadow with #FAF198 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FAF198; -webkit-box-shadow: 1px 1px 3px 2px #FAF198; box-shadow: 1px 1px 3px 2px #FAF198; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FAF198; -webkit-box-shadow: 1px 1px 3px 2px #FAF198; box-shadow:1px 1px 3px 2px #FAF198;">
Div content here</div>
This text has color #FAF198 on black background.
This text has color #FAF198 on white background.
This text has black color on #FAF198 background.
This text has white color on #FAF198 background.