HEX: #FAF2D7
RGB: (250,242,215)
#FAF2D7 contains red, green and blue colors in about the same proportion. Web safe color of #FAF2D7 is #FFFFCC (or #FFC).
#FAF2D7 color RGB value is (250,242,215).
RGB: (250,242,215) (98%,95%,84%)
R 250 of 255 = 98%
G 242 of 255 = 95%
B 215 of 255 = 84%
R + G + B ~ 92%. #FAF2D7 is light color.
R + G + B =
250 + 242 + 215 = 707 (100%)
R 250 of 707 ~ 35.36%
G 242 of 707 ~ 34.23%
B 215 of 707 ~ 30.41%
#FAF2D7 color CMYK value is (0,3,14,2).
CMYK: (0,3,14,2) C0M3Y14K2 (0%,3%,14%,2%) (0.00/0.03/0.14/0.02)
FA | F2 | D7 | |
---|---|---|---|
RGB | 250 | 242 | 215 |
HSL | 46° | 77.78% | 91.18% |
HSB/HSV | 46° | 14.00% | 98.04% |
CMYK | 0.00% | 3.20% | 14.00% |
1.96% |
HEX | FA | F2 | D7 |
Decimal | 250 | 242 | 215 |
Binary | 11111010 | 11110010 | 11010111 |
Octal | 372 | 362 | 327 |
Examples of css and html codes for elements with #FAF2D7 color. Also use rgb(250,242,215) instead hex code.
.myTextColor { color: #FAF2D7; }
<p style="color:#FAF2D7">This sample text font color is #FAF2D7.</p>
This text font color is #FAF2D7.
.myBgColor { background-color: #FAF2D7; }
<div style="background-color:#FAF2D7">Inner text</div>
This div background color is #FAF2D7.
.myBorderColor { border: 1px solid #FAF2D7; }
<div style="border:3px solid #FAF2D7">Div</div>
This div border color is #FAF2D7.
.myOpacity80 { color: #FAF2D7; opacity: 0.8; }
<p style="color:#FAF2D7;opacity:0.8;">80%</p>
Text with #FAF2D7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FAF2D7;}
<p style="text-shadow: 3px 3px 1px #FAF2D7">Text here.</p>
This text has shadow with #FAF2D7 color.
.textShadow {text-shadow: 3px 3px 1px #FAF2D7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FAF2D7, 5px 5px 20px red">Text here.</p>
This text has shadow with #FAF2D7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FAF2D7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FAF2D7, Direction=45, Strength=4)">Text</p>
This text has shadow with #FAF2D7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FAF2D7; -webkit-box-shadow: 1px 1px 3px 2px #FAF2D7; box-shadow: 1px 1px 3px 2px #FAF2D7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FAF2D7; -webkit-box-shadow: 1px 1px 3px 2px #FAF2D7; box-shadow:1px 1px 3px 2px #FAF2D7;">
Div content here</div>
This text has color #FAF2D7 on black background.
This text has color #FAF2D7 on white background.
This text has black color on #FAF2D7 background.
This text has white color on #FAF2D7 background.