COLOR #F0E68C

HEX: #F0E68C
RGB: (240,230,140)

Color info

Color name is Khaki. #F0E68C contains mainly red and green colors. Web safe color of #F0E68C is #FFCC99 (or #FC9).

RGB color model

#F0E68C color RGB value is (240,230,140).

  • red value is 240;
  • green value is 230;
  • blue value is 140.
RGB:
(240,230,140)
(94%,90%,55%)

RGB channels and saturation

R 240 of 255 = 94%
G 230 of 255 = 90%
B 140 of 255 = 55%

240
230
140

R + G + B ~ 80%. #F0E68C is quite light color.

Portions of RGB colors in percentages

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%

%39.34
%37.7
%22.95

CMYK color model

#F0E68C color CMYK value is (0,4,42,6).

  • cyan value is 0.00%
  • magenta value is 4.17%
  • yellow value is 41.67%
  • key color value is 5.88%
CMYK:
(0,4,42,6)
C0M4Y42K6 
(0%,4%,42%,6%)
(0.00/0.04/0.42/0.06)	

CMYK percentages

%0
%4.17
%41.67
%5.88

Codes

Color #F0E68C in popluar color models

F0E68C
RGB240230140
HSL54°76.92%74.51%
HSB/HSV54°41.67%94.12%
CMYK0.00%4.17%41.67%
5.88%

Color #F0E68C in popluar number systems.

HEXF0E68C
Decimal240230140
Binary111100001110011010001100
Octal360346214

Shades and tints

Shades of #F0E68C

#F0E68C
(240,230,140)
#DBD280
(219,210,128)
#C6BE74
(198,190,116)
#B1AA68
(177,170,104)
#9C965C
(156,150,92)
#878250
(135,130,80)
#726E44
(114,110,68)
#5D5A38
(93,90,56)
#48462C
(72,70,44)
#333220
(51,50,32)
#1E1E14
(30,30,20)
#000000
(0,0,0)

Tints of #F0E68C

#F0E68C
(240,230,140)
#F1E896
(241,232,150)
#F2EAA0
(242,234,160)
#F3ECAA
(243,236,170)
#F4EEB4
(244,238,180)
#F5F0BE
(245,240,190)
#F6F2C8
(246,242,200)
#F7F4D2
(247,244,210)
#F8F6DC
(248,246,220)
#F9F8E6
(249,248,230)
#FAFAF0
(250,250,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #F0E68C color. Also use rgb(240,230,140) instead hex code.

Text Font Color

.myTextColor { color: #F0E68C; }

<p style="color:#F0E68C">This sample text font color is #F0E68C.</p>

This text font color is #F0E68C.


Background Color

.myBgColor { background-color: #F0E68C; }

<div style="background-color:#F0E68C">Inner text</div>

This div background color is #F0E68C.


Border color

.myBorderColor { border: 1px solid #F0E68C; }

<div style="border:3px solid #F0E68C">Div</div>

This div border color is #F0E68C.


Opacity

.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%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.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.


Div box shadow color

/* 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 div box has shadow with color #F0E68C.

Preview

Color preview on black background

This text has color #F0E68C on black background.


Color preview on white background

This text has color #F0E68C on white background.



Black color preview on #F0E68C background

This text has black color on #F0E68C background.


White color preview on #F0E68C background

This text has white color on #F0E68C background.