HEX: #F8E4A5
RGB: (248,228,165)
#F8E4A5 contains mainly red and green colors. Web safe color of #F8E4A5 is #FFCC99 (or #FC9).
#F8E4A5 color RGB value is (248,228,165).
RGB: (248,228,165) (97%,89%,65%)
R 248 of 255 = 97%
G 228 of 255 = 89%
B 165 of 255 = 65%
R + G + B ~ 84%. #F8E4A5 is quite light color.
R + G + B =
248 + 228 + 165 = 641 (100%)
R 248 of 641 ~ 38.69%
G 228 of 641 ~ 35.57%
B 165 of 641 ~ 25.74%
#F8E4A5 color CMYK value is (0,8,33,3).
CMYK: (0,8,33,3) C0M8Y33K3 (0%,8%,33%,3%) (0.00/0.08/0.33/0.03)
F8 | E4 | A5 | |
---|---|---|---|
RGB | 248 | 228 | 165 |
HSL | 46° | 85.57% | 80.98% |
HSB/HSV | 46° | 33.47% | 97.25% |
CMYK | 0.00% | 8.06% | 33.47% |
2.75% |
HEX | F8 | E4 | A5 |
Decimal | 248 | 228 | 165 |
Binary | 11111000 | 11100100 | 10100101 |
Octal | 370 | 344 | 245 |
Examples of css and html codes for elements with #F8E4A5 color. Also use rgb(248,228,165) instead hex code.
.myTextColor { color: #F8E4A5; }
<p style="color:#F8E4A5">This sample text font color is #F8E4A5.</p>
This text font color is #F8E4A5.
.myBgColor { background-color: #F8E4A5; }
<div style="background-color:#F8E4A5">Inner text</div>
This div background color is #F8E4A5.
.myBorderColor { border: 1px solid #F8E4A5; }
<div style="border:3px solid #F8E4A5">Div</div>
This div border color is #F8E4A5.
.myOpacity80 { color: #F8E4A5; opacity: 0.8; }
<p style="color:#F8E4A5;opacity:0.8;">80%</p>
Text with #F8E4A5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F8E4A5;}
<p style="text-shadow: 3px 3px 1px #F8E4A5">Text here.</p>
This text has shadow with #F8E4A5 color.
.textShadow {text-shadow: 3px 3px 1px #F8E4A5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F8E4A5, 5px 5px 20px red">Text here.</p>
This text has shadow with #F8E4A5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F8E4A5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F8E4A5, Direction=45, Strength=4)">Text</p>
This text has shadow with #F8E4A5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F8E4A5; -webkit-box-shadow: 1px 1px 3px 2px #F8E4A5; box-shadow: 1px 1px 3px 2px #F8E4A5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F8E4A5; -webkit-box-shadow: 1px 1px 3px 2px #F8E4A5; box-shadow:1px 1px 3px 2px #F8E4A5;">
Div content here</div>
This text has color #F8E4A5 on black background.
This text has color #F8E4A5 on white background.
This text has black color on #F8E4A5 background.
This text has white color on #F8E4A5 background.