HEX: #F0E68C
RGB: (240,230,140)
Color name is Khaki. #F0E68C contains mainly red and green colors. Web safe color of #F0E68C is #FFCC99 (or #FC9).
#F0E68C color RGB value is (240,230,140).
RGB: (240,230,140) (94%,90%,55%)
R 240 of 255 = 94%
G 230 of 255 = 90%
B 140 of 255 = 55%
R + G + B ~ 80%. #F0E68C is quite light color.
R + G + B =
240 + 230 + 140 = 610 (100%)
R 240 of 610 ~ 39.34%
G 230 of 610 ~ 37.7%
B 140 of 610 ~ 22.95%
#F0E68C color CMYK value is (0,4,42,6).
CMYK: (0,4,42,6) C0M4Y42K6 (0%,4%,42%,6%) (0.00/0.04/0.42/0.06)
F0 | E6 | 8C | |
---|---|---|---|
RGB | 240 | 230 | 140 |
HSL | 54° | 76.92% | 74.51% |
HSB/HSV | 54° | 41.67% | 94.12% |
CMYK | 0.00% | 4.17% | 41.67% |
5.88% |
HEX | F0 | E6 | 8C |
Decimal | 240 | 230 | 140 |
Binary | 11110000 | 11100110 | 10001100 |
Octal | 360 | 346 | 214 |
Examples of css and html codes for elements with #F0E68C color. Also use rgb(240,230,140) instead hex code.
.myTextColor { color: #F0E68C; }
<p style="color:#F0E68C">This sample text font color is #F0E68C.</p>
This text font color is #F0E68C.
.myBgColor { background-color: #F0E68C; }
<div style="background-color:#F0E68C">Inner text</div>
This div background color is #F0E68C.
.myBorderColor { border: 1px solid #F0E68C; }
<div style="border:3px solid #F0E68C">Div</div>
This div border color is #F0E68C.
.myOpacity80 { color: #F0E68C; opacity: 0.8; }
<p style="color:#F0E68C;opacity:0.8;">80%</p>
Text with #F0E68C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0E68C;}
<p style="text-shadow: 3px 3px 1px #F0E68C">Text here.</p>
This text has shadow with #F0E68C color.
.textShadow {text-shadow: 3px 3px 1px #F0E68C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0E68C, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0E68C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0E68C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0E68C, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0E68C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0E68C; -webkit-box-shadow: 1px 1px 3px 2px #F0E68C; box-shadow: 1px 1px 3px 2px #F0E68C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0E68C; -webkit-box-shadow: 1px 1px 3px 2px #F0E68C; box-shadow:1px 1px 3px 2px #F0E68C;">
Div content here</div>
This text has color #F0E68C on black background.
This text has color #F0E68C on white background.
This text has black color on #F0E68C background.
This text has white color on #F0E68C background.