HEX: #F0FAC4
RGB: (240,250,196)
#F0FAC4 contains red, green and blue colors in about the same proportion. Web safe color of #F0FAC4 is #FFFFCC (or #FFC).
#F0FAC4 color RGB value is (240,250,196).
RGB: (240,250,196) (94%,98%,77%)
R 240 of 255 = 94%
G 250 of 255 = 98%
B 196 of 255 = 77%
R + G + B ~ 90%. #F0FAC4 is light color.
R + G + B =
240 + 250 + 196 = 686 (100%)
R 240 of 686 ~ 34.99%
G 250 of 686 ~ 36.44%
B 196 of 686 ~ 28.57%
#F0FAC4 color CMYK value is (4,0,22,2).
CMYK: (4,0,22,2) C4M0Y22K2 (4%,0%,22%,2%) (0.04/0.00/0.22/0.02)
F0 | FA | C4 | |
---|---|---|---|
RGB | 240 | 250 | 196 |
HSL | 71° | 84.38% | 87.45% |
HSB/HSV | 71° | 21.60% | 98.04% |
CMYK | 4.00% | 0.00% | 21.60% |
1.96% |
HEX | F0 | FA | C4 |
Decimal | 240 | 250 | 196 |
Binary | 11110000 | 11111010 | 11000100 |
Octal | 360 | 372 | 304 |
Examples of css and html codes for elements with #F0FAC4 color. Also use rgb(240,250,196) instead hex code.
.myTextColor { color: #F0FAC4; }
<p style="color:#F0FAC4">This sample text font color is #F0FAC4.</p>
This text font color is #F0FAC4.
.myBgColor { background-color: #F0FAC4; }
<div style="background-color:#F0FAC4">Inner text</div>
This div background color is #F0FAC4.
.myBorderColor { border: 1px solid #F0FAC4; }
<div style="border:3px solid #F0FAC4">Div</div>
This div border color is #F0FAC4.
.myOpacity80 { color: #F0FAC4; opacity: 0.8; }
<p style="color:#F0FAC4;opacity:0.8;">80%</p>
Text with #F0FAC4 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0FAC4;}
<p style="text-shadow: 3px 3px 1px #F0FAC4">Text here.</p>
This text has shadow with #F0FAC4 color.
.textShadow {text-shadow: 3px 3px 1px #F0FAC4, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0FAC4, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0FAC4 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0FAC4, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0FAC4, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0FAC4 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0FAC4; -webkit-box-shadow: 1px 1px 3px 2px #F0FAC4; box-shadow: 1px 1px 3px 2px #F0FAC4; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0FAC4; -webkit-box-shadow: 1px 1px 3px 2px #F0FAC4; box-shadow:1px 1px 3px 2px #F0FAC4;">
Div content here</div>
This text has color #F0FAC4 on black background.
This text has color #F0FAC4 on white background.
This text has black color on #F0FAC4 background.
This text has white color on #F0FAC4 background.