HEX: #F5F0AD
RGB: (245,240,173)
#F5F0AD contains mainly red and green colors. Web safe color of #F5F0AD is #FFFF99 (or #FF9).
#F5F0AD color RGB value is (245,240,173).
RGB: (245,240,173) (96%,94%,68%)
R 245 of 255 = 96%
G 240 of 255 = 94%
B 173 of 255 = 68%
R + G + B ~ 86%. #F5F0AD is light color.
R + G + B =
245 + 240 + 173 = 658 (100%)
R 245 of 658 ~ 37.23%
G 240 of 658 ~ 36.47%
B 173 of 658 ~ 26.29%
#F5F0AD color CMYK value is (0,2,29,4).
CMYK: (0,2,29,4) C0M2Y29K4 (0%,2%,29%,4%) (0.00/0.02/0.29/0.04)
F5 | F0 | AD | |
---|---|---|---|
RGB | 245 | 240 | 173 |
HSL | 56° | 78.26% | 81.96% |
HSB/HSV | 56° | 29.39% | 96.08% |
CMYK | 0.00% | 2.04% | 29.39% |
3.92% |
HEX | F5 | F0 | AD |
Decimal | 245 | 240 | 173 |
Binary | 11110101 | 11110000 | 10101101 |
Octal | 365 | 360 | 255 |
Examples of css and html codes for elements with #F5F0AD color. Also use rgb(245,240,173) instead hex code.
.myTextColor { color: #F5F0AD; }
<p style="color:#F5F0AD">This sample text font color is #F5F0AD.</p>
This text font color is #F5F0AD.
.myBgColor { background-color: #F5F0AD; }
<div style="background-color:#F5F0AD">Inner text</div>
This div background color is #F5F0AD.
.myBorderColor { border: 1px solid #F5F0AD; }
<div style="border:3px solid #F5F0AD">Div</div>
This div border color is #F5F0AD.
.myOpacity80 { color: #F5F0AD; opacity: 0.8; }
<p style="color:#F5F0AD;opacity:0.8;">80%</p>
Text with #F5F0AD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F5F0AD;}
<p style="text-shadow: 3px 3px 1px #F5F0AD">Text here.</p>
This text has shadow with #F5F0AD color.
.textShadow {text-shadow: 3px 3px 1px #F5F0AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F5F0AD, 5px 5px 20px red">Text here.</p>
This text has shadow with #F5F0AD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F5F0AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F5F0AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #F5F0AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F5F0AD; -webkit-box-shadow: 1px 1px 3px 2px #F5F0AD; box-shadow: 1px 1px 3px 2px #F5F0AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F5F0AD; -webkit-box-shadow: 1px 1px 3px 2px #F5F0AD; box-shadow:1px 1px 3px 2px #F5F0AD;">
Div content here</div>
This text has color #F5F0AD on black background.
This text has color #F5F0AD on white background.
This text has black color on #F5F0AD background.
This text has white color on #F5F0AD background.