HEX: #FEFAF2
RGB: (254,250,242)
#FEFAF2 contains red, green and blue colors in about the same proportion. Web safe color of #FEFAF2 is #FFFFFF (or #FFF).
#FEFAF2 color RGB value is (254,250,242).
RGB: (254,250,242) (100%,98%,95%)
R 254 of 255 = 100%
G 250 of 255 = 98%
B 242 of 255 = 95%
R + G + B ~ 98%. #FEFAF2 is light color.
R + G + B =
254 + 250 + 242 = 746 (100%)
R 254 of 746 ~ 34.05%
G 250 of 746 ~ 33.51%
B 242 of 746 ~ 32.44%
#FEFAF2 color CMYK value is (0,2,5,0).
CMYK: (0,2,5,0) C0M2Y5K0 (0%,2%,5%,0%) (0.00/0.02/0.05/0.00)
FE | FA | F2 | |
---|---|---|---|
RGB | 254 | 250 | 242 |
HSL | 40° | 85.71% | 97.25% |
HSB/HSV | 40° | 4.72% | 99.61% |
CMYK | 0.00% | 1.57% | 4.72% |
0.39% |
HEX | FE | FA | F2 |
Decimal | 254 | 250 | 242 |
Binary | 11111110 | 11111010 | 11110010 |
Octal | 376 | 372 | 362 |
Examples of css and html codes for elements with #FEFAF2 color. Also use rgb(254,250,242) instead hex code.
.myTextColor { color: #FEFAF2; }
<p style="color:#FEFAF2">This sample text font color is #FEFAF2.</p>
This text font color is #FEFAF2.
.myBgColor { background-color: #FEFAF2; }
<div style="background-color:#FEFAF2">Inner text</div>
This div background color is #FEFAF2.
.myBorderColor { border: 1px solid #FEFAF2; }
<div style="border:3px solid #FEFAF2">Div</div>
This div border color is #FEFAF2.
.myOpacity80 { color: #FEFAF2; opacity: 0.8; }
<p style="color:#FEFAF2;opacity:0.8;">80%</p>
Text with #FEFAF2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FEFAF2;}
<p style="text-shadow: 3px 3px 1px #FEFAF2">Text here.</p>
This text has shadow with #FEFAF2 color.
.textShadow {text-shadow: 3px 3px 1px #FEFAF2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FEFAF2, 5px 5px 20px red">Text here.</p>
This text has shadow with #FEFAF2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FEFAF2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FEFAF2, Direction=45, Strength=4)">Text</p>
This text has shadow with #FEFAF2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FEFAF2; -webkit-box-shadow: 1px 1px 3px 2px #FEFAF2; box-shadow: 1px 1px 3px 2px #FEFAF2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FEFAF2; -webkit-box-shadow: 1px 1px 3px 2px #FEFAF2; box-shadow:1px 1px 3px 2px #FEFAF2;">
Div content here</div>
This text has color #FEFAF2 on black background.
This text has color #FEFAF2 on white background.
This text has black color on #FEFAF2 background.
This text has white color on #FEFAF2 background.