HEX: #F0F0AD
RGB: (240,240,173)
#F0F0AD contains mainly red and green colors. Web safe color of #F0F0AD is #FFFF99 (or #FF9).
#F0F0AD color RGB value is (240,240,173).
RGB: (240,240,173) (94%,94%,68%)
R 240 of 255 = 94%
G 240 of 255 = 94%
B 173 of 255 = 68%
R + G + B ~ 85%. #F0F0AD is quite light color.
R + G + B =
240 + 240 + 173 = 653 (100%)
R 240 of 653 ~ 36.75%
G 240 of 653 ~ 36.75%
B 173 of 653 ~ 26.49%
#F0F0AD color CMYK value is (0,0,28,6).
CMYK: (0,0,28,6) C0M0Y28K6 (0%,0%,28%,6%) (0.00/0.00/0.28/0.06)
F0 | F0 | AD | |
---|---|---|---|
RGB | 240 | 240 | 173 |
HSL | 60° | 69.07% | 80.98% |
HSB/HSV | 60° | 27.92% | 94.12% |
CMYK | 0.00% | 0.00% | 27.92% |
5.88% |
HEX | F0 | F0 | AD |
Decimal | 240 | 240 | 173 |
Binary | 11110000 | 11110000 | 10101101 |
Octal | 360 | 360 | 255 |
Examples of css and html codes for elements with #F0F0AD color. Also use rgb(240,240,173) instead hex code.
.myTextColor { color: #F0F0AD; }
<p style="color:#F0F0AD">This sample text font color is #F0F0AD.</p>
This text font color is #F0F0AD.
.myBgColor { background-color: #F0F0AD; }
<div style="background-color:#F0F0AD">Inner text</div>
This div background color is #F0F0AD.
.myBorderColor { border: 1px solid #F0F0AD; }
<div style="border:3px solid #F0F0AD">Div</div>
This div border color is #F0F0AD.
.myOpacity80 { color: #F0F0AD; opacity: 0.8; }
<p style="color:#F0F0AD;opacity:0.8;">80%</p>
Text with #F0F0AD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0F0AD;}
<p style="text-shadow: 3px 3px 1px #F0F0AD">Text here.</p>
This text has shadow with #F0F0AD color.
.textShadow {text-shadow: 3px 3px 1px #F0F0AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0F0AD, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0F0AD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0F0AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0F0AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0F0AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0F0AD; -webkit-box-shadow: 1px 1px 3px 2px #F0F0AD; box-shadow: 1px 1px 3px 2px #F0F0AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0F0AD; -webkit-box-shadow: 1px 1px 3px 2px #F0F0AD; box-shadow:1px 1px 3px 2px #F0F0AD;">
Div content here</div>
This text has color #F0F0AD on black background.
This text has color #F0F0AD on white background.
This text has black color on #F0F0AD background.
This text has white color on #F0F0AD background.