HEX: #FFF2AF
RGB: (255,242,175)
#FFF2AF contains mainly red and green colors. Web safe color of #FFF2AF is #FFFF99 (or #FF9).
#FFF2AF color RGB value is (255,242,175).
RGB: (255,242,175) (100%,95%,69%)
R 255 of 255 = 100%
G 242 of 255 = 95%
B 175 of 255 = 69%
R + G + B ~ 88%. #FFF2AF is light color.
R + G + B =
255 + 242 + 175 = 672 (100%)
R 255 of 672 ~ 37.95%
G 242 of 672 ~ 36.01%
B 175 of 672 ~ 26.04%
#FFF2AF color CMYK value is (0,5,31,0).
CMYK: (0,5,31,0) C0M5Y31K0 (0%,5%,31%,0%) (0.00/0.05/0.31/0.00)
FF | F2 | AF | |
---|---|---|---|
RGB | 255 | 242 | 175 |
HSL | 50° | 100.00% | 84.31% |
HSB/HSV | 50° | 31.37% | 100.00% |
CMYK | 0.00% | 5.10% | 31.37% |
0.00% |
HEX | FF | F2 | AF |
Decimal | 255 | 242 | 175 |
Binary | 11111111 | 11110010 | 10101111 |
Octal | 377 | 362 | 257 |
Examples of css and html codes for elements with #FFF2AF color. Also use rgb(255,242,175) instead hex code.
.myTextColor { color: #FFF2AF; }
<p style="color:#FFF2AF">This sample text font color is #FFF2AF.</p>
This text font color is #FFF2AF.
.myBgColor { background-color: #FFF2AF; }
<div style="background-color:#FFF2AF">Inner text</div>
This div background color is #FFF2AF.
.myBorderColor { border: 1px solid #FFF2AF; }
<div style="border:3px solid #FFF2AF">Div</div>
This div border color is #FFF2AF.
.myOpacity80 { color: #FFF2AF; opacity: 0.8; }
<p style="color:#FFF2AF;opacity:0.8;">80%</p>
Text with #FFF2AF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FFF2AF;}
<p style="text-shadow: 3px 3px 1px #FFF2AF">Text here.</p>
This text has shadow with #FFF2AF color.
.textShadow {text-shadow: 3px 3px 1px #FFF2AF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FFF2AF, 5px 5px 20px red">Text here.</p>
This text has shadow with #FFF2AF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FFF2AF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FFF2AF, Direction=45, Strength=4)">Text</p>
This text has shadow with #FFF2AF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FFF2AF; -webkit-box-shadow: 1px 1px 3px 2px #FFF2AF; box-shadow: 1px 1px 3px 2px #FFF2AF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FFF2AF; -webkit-box-shadow: 1px 1px 3px 2px #FFF2AF; box-shadow:1px 1px 3px 2px #FFF2AF;">
Div content here</div>
This text has color #FFF2AF on black background.
This text has color #FFF2AF on white background.
This text has black color on #FFF2AF background.
This text has white color on #FFF2AF background.