HEX: #FDF2A6
RGB: (253,242,166)
#FDF2A6 contains mainly red and green colors. Web safe color of #FDF2A6 is #FFFF99 (or #FF9).
#FDF2A6 color RGB value is (253,242,166).
RGB: (253,242,166) (99%,95%,65%)
R 253 of 255 = 99%
G 242 of 255 = 95%
B 166 of 255 = 65%
R + G + B ~ 86%. #FDF2A6 is light color.
R + G + B =
253 + 242 + 166 = 661 (100%)
R 253 of 661 ~ 38.28%
G 242 of 661 ~ 36.61%
B 166 of 661 ~ 25.11%
#FDF2A6 color CMYK value is (0,4,34,1).
CMYK: (0,4,34,1) C0M4Y34K1 (0%,4%,34%,1%) (0.00/0.04/0.34/0.01)
FD | F2 | A6 | |
---|---|---|---|
RGB | 253 | 242 | 166 |
HSL | 52° | 95.60% | 82.16% |
HSB/HSV | 52° | 34.39% | 99.22% |
CMYK | 0.00% | 4.35% | 34.39% |
0.78% |
HEX | FD | F2 | A6 |
Decimal | 253 | 242 | 166 |
Binary | 11111101 | 11110010 | 10100110 |
Octal | 375 | 362 | 246 |
Examples of css and html codes for elements with #FDF2A6 color. Also use rgb(253,242,166) instead hex code.
.myTextColor { color: #FDF2A6; }
<p style="color:#FDF2A6">This sample text font color is #FDF2A6.</p>
This text font color is #FDF2A6.
.myBgColor { background-color: #FDF2A6; }
<div style="background-color:#FDF2A6">Inner text</div>
This div background color is #FDF2A6.
.myBorderColor { border: 1px solid #FDF2A6; }
<div style="border:3px solid #FDF2A6">Div</div>
This div border color is #FDF2A6.
.myOpacity80 { color: #FDF2A6; opacity: 0.8; }
<p style="color:#FDF2A6;opacity:0.8;">80%</p>
Text with #FDF2A6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FDF2A6;}
<p style="text-shadow: 3px 3px 1px #FDF2A6">Text here.</p>
This text has shadow with #FDF2A6 color.
.textShadow {text-shadow: 3px 3px 1px #FDF2A6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FDF2A6, 5px 5px 20px red">Text here.</p>
This text has shadow with #FDF2A6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FDF2A6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FDF2A6, Direction=45, Strength=4)">Text</p>
This text has shadow with #FDF2A6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FDF2A6; -webkit-box-shadow: 1px 1px 3px 2px #FDF2A6; box-shadow: 1px 1px 3px 2px #FDF2A6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FDF2A6; -webkit-box-shadow: 1px 1px 3px 2px #FDF2A6; box-shadow:1px 1px 3px 2px #FDF2A6;">
Div content here</div>
This text has color #FDF2A6 on black background.
This text has color #FDF2A6 on white background.
This text has black color on #FDF2A6 background.
This text has white color on #FDF2A6 background.