HEX: #FAF2DD
RGB: (250,242,221)
#FAF2DD contains red, green and blue colors in about the same proportion. Web safe color of #FAF2DD is #FFFFCC (or #FFC).
#FAF2DD color RGB value is (250,242,221).
RGB: (250,242,221) (98%,95%,87%)
R 250 of 255 = 98%
G 242 of 255 = 95%
B 221 of 255 = 87%
R + G + B ~ 93%. #FAF2DD is light color.
R + G + B =
250 + 242 + 221 = 713 (100%)
R 250 of 713 ~ 35.06%
G 242 of 713 ~ 33.94%
B 221 of 713 ~ 31%
#FAF2DD color CMYK value is (0,3,12,2).
CMYK: (0,3,12,2) C0M3Y12K2 (0%,3%,12%,2%) (0.00/0.03/0.12/0.02)
FA | F2 | DD | |
---|---|---|---|
RGB | 250 | 242 | 221 |
HSL | 43° | 74.36% | 92.35% |
HSB/HSV | 43° | 11.60% | 98.04% |
CMYK | 0.00% | 3.20% | 11.60% |
1.96% |
HEX | FA | F2 | DD |
Decimal | 250 | 242 | 221 |
Binary | 11111010 | 11110010 | 11011101 |
Octal | 372 | 362 | 335 |
Examples of css and html codes for elements with #FAF2DD color. Also use rgb(250,242,221) instead hex code.
.myTextColor { color: #FAF2DD; }
<p style="color:#FAF2DD">This sample text font color is #FAF2DD.</p>
This text font color is #FAF2DD.
.myBgColor { background-color: #FAF2DD; }
<div style="background-color:#FAF2DD">Inner text</div>
This div background color is #FAF2DD.
.myBorderColor { border: 1px solid #FAF2DD; }
<div style="border:3px solid #FAF2DD">Div</div>
This div border color is #FAF2DD.
.myOpacity80 { color: #FAF2DD; opacity: 0.8; }
<p style="color:#FAF2DD;opacity:0.8;">80%</p>
Text with #FAF2DD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FAF2DD;}
<p style="text-shadow: 3px 3px 1px #FAF2DD">Text here.</p>
This text has shadow with #FAF2DD color.
.textShadow {text-shadow: 3px 3px 1px #FAF2DD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FAF2DD, 5px 5px 20px red">Text here.</p>
This text has shadow with #FAF2DD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FAF2DD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FAF2DD, Direction=45, Strength=4)">Text</p>
This text has shadow with #FAF2DD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FAF2DD; -webkit-box-shadow: 1px 1px 3px 2px #FAF2DD; box-shadow: 1px 1px 3px 2px #FAF2DD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FAF2DD; -webkit-box-shadow: 1px 1px 3px 2px #FAF2DD; box-shadow:1px 1px 3px 2px #FAF2DD;">
Div content here</div>
This text has color #FAF2DD on black background.
This text has color #FAF2DD on white background.
This text has black color on #FAF2DD background.
This text has white color on #FAF2DD background.