COLOR #F0C018

HEX: #F0C018
RGB: (240,192,24)

Color info

#F0C018 contains mainly red and green colors. Web safe color of #F0C018 is #FFCC00 (or #FC0).

RGB color model

#F0C018 color RGB value is (240,192,24).

  • red value is 240;
  • green value is 192;
  • blue value is 24.
RGB:
(240,192,24)
(94%,75%,9%)

RGB channels and saturation

R 240 of 255 = 94%
G 192 of 255 = 75%
B 24 of 255 = 9%

240
192
24

R + G + B ~ 59%. #F0C018 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
240 + 192 + 24 = 456 (100%)
R 240 of 456 ~ 52.63%
G 192 of 456 ~ 42.11%
B 24 of 456 ~ 5.26%

%52.63
%42.11

CMYK color model

#F0C018 color CMYK value is (0,20,90,6).

  • cyan value is 0.00%
  • magenta value is 20.00%
  • yellow value is 90.00%
  • key color value is 5.88%
CMYK:
(0,20,90,6)
C0M20Y90K6 
(0%,20%,90%,6%)
(0.00/0.20/0.90/0.06)	

CMYK percentages

%0
%20
%90
%5.88

Codes

Color #F0C018 in popluar color models

F0C018
RGB24019224
HSL47°87.80%51.76%
HSB/HSV47°90.00%94.12%
CMYK0.00%20.00%90.00%
5.88%

Color #F0C018 in popluar number systems.

HEXF0C018
Decimal24019224
Binary111100001100000011000
Octal36030030

Shades and tints

Shades of #F0C018

#F0C018
(240,192,24)
#DBAF16
(219,175,22)
#C69E14
(198,158,20)
#B18D12
(177,141,18)
#9C7C10
(156,124,16)
#876B0E
(135,107,14)
#725A0C
(114,90,12)
#5D490A
(93,73,10)
#483808
(72,56,8)
#332706
(51,39,6)
#1E1604
(30,22,4)
#000000
(0,0,0)

Tints of #F0C018

#F0C018
(240,192,24)
#F1C52D
(241,197,45)
#F2CA42
(242,202,66)
#F3CF57
(243,207,87)
#F4D46C
(244,212,108)
#F5D981
(245,217,129)
#F6DE96
(246,222,150)
#F7E3AB
(247,227,171)
#F8E8C0
(248,232,192)
#F9EDD5
(249,237,213)
#FAF2EA
(250,242,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #F0C018 color. Also use rgb(240,192,24) instead hex code.

Text Font Color

.myTextColor { color: #F0C018; }

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

This text font color is #F0C018.


Background Color

.myBgColor { background-color: #F0C018; }

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

This div background color is #F0C018.


Border color

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

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

This div border color is #F0C018.


Opacity

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

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

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

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

This text has shadow with #F0C018 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #F0C018 on black background.


Color preview on white background

This text has color #F0C018 on white background.



Black color preview on #F0C018 background

This text has black color on #F0C018 background.


White color preview on #F0C018 background

This text has white color on #F0C018 background.