COLOR #F0F5AF

HEX: #F0F5AF RGB: (240,245,175)

Color info

#F0F5AF contains mainly red and green colors. Web safe color of #F0F5AF is #FFFF99 (or #FF9).

RGB color model

#F0F5AF color RGB value is (240,245,175).

RGB: (240,245,175) (94%, 96%, 69%)

RGB channels and saturation

R 240 of 255 = 94%
G 245 of 255 = 96%
B 175 of 255 = 69%

240
245
175

R + G + B ~ 86%. #F0F5AF is light color.

Portions of RGB colors in percentages

R + G + B = 240 + 245 + 175 = 660 (100%)
R 240 of 660 ~ 36.36%
G 245 of 660 ~ 37.12%
B 175 of 660 ~ 26.52'%

%36.36
%37.12
%26.52

CMYK color model

#F0F5AF color CMYK value is (2,0,29,4).

  • cyan value is 2.04%
  • magenta value is 0.00%
  • yellow value is 28.57%
  • key color value is 3.92%

CMYK: (2,0,29,4)
C2M0Y29K4 (2%, 0%, 29%, 4%)
(0.02 / 0.00 / 0.29 / 0.04)

CMYK percentages

%2.04
%0
%28.57
%3.92

Codes

Color #F0F5AF in popluar color models

F0 F5 AF
RGB 240 245 175
HSL 64° 77.78% 82.35%
HSB/HSV 64° 28.57% 96.08%
CMYK 2.04% 0.00% 28.57%
3.92%

Color #F0F5AF in popluar number systems.

HEX F0 F5 AF
Decimal 240 245 175
Binary 11110000 11110101 10101111
Octal 360 365 257

Shades and tints

Shades of #F0F5AF

#F0F5AF
(240,245,175)
#DBDFA0
(219,223,160)
#C6C991
(198,201,145)
#B1B382
(177,179,130)
#9C9D73
(156,157,115)
#878764
(135,135,100)
#727155
(114,113,85)
#5D5B46
(93,91,70)
#484537
(72,69,55)
#332F28
(51,47,40)
#1E1919
(30,25,25)
#000000
(0,0,0)

Tints of #F0F5AF

#F0F5AF
(240,245,175)
#F1F5B6
(241,245,182)
#F2F5BD
(242,245,189)
#F3F5C4
(243,245,196)
#F4F5CB
(244,245,203)
#F5F5D2
(245,245,210)
#F6F5D9
(246,245,217)
#F7F5E0
(247,245,224)
#F8F5E7
(248,245,231)
#F9F5EE
(249,245,238)
#FAF5F5
(250,245,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #F0F5AF color. Also use rgb(240,245,175) instead hex code.

Text Font Color

.myTextColor { color: #F0F5AF; }

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

This text font color is #F0F5AF.

Background Color

.myBgColor { background-color: #F0F5AF; }

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

This div background color is #F0F5AF.

Border color

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

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

This div border color is #F0F5AF.

Opacity

.myOpacity80 { color: #F0F5AF; opacity: 0.8; }

<p style="color:#F0F5AF;opacity:0.8;">80%</p>

Text with #F0F5AF 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 #F0F5AF;}

<p style="text-shadow: 3px 3px 1px #F0F5AF">Text here.</p>

This text has shadow with #F0F5AF color.


.textShadow {text-shadow: 3px 3px 1px #F0F5AF', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #F0F5AF, 5px 5px 20px red">Text here.</p>

This text has shadow with #F0F5AF primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0F5AF, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#F0F5AF, Direction=45, Strength=4)">Text</p>

This text has shadow with #F0F5AF and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #F0F5AF;
-webkit-box-shadow: 1px 1px 3px 2px #F0F5AF;
box-shadow: 1px 1px 3px 2px #F0F5AF;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #F0F5AF; -webkit-box-shadow: 1px 1px 3px 2px #F0F5AF; box-shadow:1px 1px 3px 2px #F0F5AF;">
Div content here
</div>

This div box has shadow with color #F0F5AF.

Preview

Color preview on black background

This text has color #F0F5AF on black background.


Color preview on white background

This text has color #F0F5AF on white background.


Black color preview on #F0F5AF background

This text has black color on #F0F5AF background.


White color preview on #F0F5AF background

This text has white color on #F0F5AF background.


Related colors

Complementary color

Complementary color for #hex is #0F0A50.


I love getcolorcode.com

Triadic colors

1 #AFF0F5 and #F5AFF0 with #F0F5AF are triadic colors.

2 #AFF5F0 and #F5F0AF with #F0F5AF are triadic colors.