HEX: #F0F6AB
RGB: (240,246,171)
#F0F6AB contains mainly red and green colors. Web safe color of #F0F6AB is #FFFF99 (or #FF9).
#F0F6AB color RGB value is (240,246,171).
RGB: (240,246,171) (94%,96%,67%)
R 240 of 255 = 94%
G 246 of 255 = 96%
B 171 of 255 = 67%
R + G + B ~ 86%. #F0F6AB is light color.
R + G + B =
240 + 246 + 171 = 657 (100%)
R 240 of 657 ~ 36.53%
G 246 of 657 ~ 37.44%
B 171 of 657 ~ 26.03%
#F0F6AB color CMYK value is (2,0,30,4).
CMYK: (2,0,30,4) C2M0Y30K4 (2%,0%,30%,4%) (0.02/0.00/0.30/0.04)
F0 | F6 | AB | |
---|---|---|---|
RGB | 240 | 246 | 171 |
HSL | 65° | 80.65% | 81.76% |
HSB/HSV | 65° | 30.49% | 96.47% |
CMYK | 2.44% | 0.00% | 30.49% |
3.53% |
HEX | F0 | F6 | AB |
Decimal | 240 | 246 | 171 |
Binary | 11110000 | 11110110 | 10101011 |
Octal | 360 | 366 | 253 |
Examples of css and html codes for elements with #F0F6AB color. Also use rgb(240,246,171) instead hex code.
.myTextColor { color: #F0F6AB; }
<p style="color:#F0F6AB">This sample text font color is #F0F6AB.</p>
This text font color is #F0F6AB.
.myBgColor { background-color: #F0F6AB; }
<div style="background-color:#F0F6AB">Inner text</div>
This div background color is #F0F6AB.
.myBorderColor { border: 1px solid #F0F6AB; }
<div style="border:3px solid #F0F6AB">Div</div>
This div border color is #F0F6AB.
.myOpacity80 { color: #F0F6AB; opacity: 0.8; }
<p style="color:#F0F6AB;opacity:0.8;">80%</p>
Text with #F0F6AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0F6AB;}
<p style="text-shadow: 3px 3px 1px #F0F6AB">Text here.</p>
This text has shadow with #F0F6AB color.
.textShadow {text-shadow: 3px 3px 1px #F0F6AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0F6AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0F6AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0F6AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0F6AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0F6AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0F6AB; -webkit-box-shadow: 1px 1px 3px 2px #F0F6AB; box-shadow: 1px 1px 3px 2px #F0F6AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0F6AB; -webkit-box-shadow: 1px 1px 3px 2px #F0F6AB; box-shadow:1px 1px 3px 2px #F0F6AB;">
Div content here</div>
This text has color #F0F6AB on black background.
This text has color #F0F6AB on white background.
This text has black color on #F0F6AB background.
This text has white color on #F0F6AB background.