COLOR #5A7C14

HEX: #5A7C14
RGB: (90,124,20)

Color info

#5A7C14 contains mainly red and green colors. Web safe color of #5A7C14 is #666600 (or #660).

RGB color model

#5A7C14 color RGB value is (90,124,20).

  • red value is 90;
  • green value is 124;
  • blue value is 20.
RGB:
(90,124,20)
(35%,49%,8%)

RGB channels and saturation

R 90 of 255 = 35%
G 124 of 255 = 49%
B 20 of 255 = 8%

90
124
20

R + G + B ~ 31%. #5A7C14 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 124 + 20 = 234 (100%)
R 90 of 234 ~ 38.46%
G 124 of 234 ~ 52.99%
B 20 of 234 ~ 8.55%

%38.46
%52.99

CMYK color model

#5A7C14 color CMYK value is (27,0,84,51).

  • cyan value is 27.42%
  • magenta value is 0.00%
  • yellow value is 83.87%
  • key color value is 51.37%
CMYK:
(27,0,84,51)
C27M0Y84K51 
(27%,0%,84%,51%)
(0.27/0.00/0.84/0.51)	

CMYK percentages

%27.42
%0
%83.87
%51.37

Codes

Color #5A7C14 in popluar color models

5A7C14
RGB9012420
HSL80°72.22%28.24%
HSB/HSV80°83.87%48.63%
CMYK27.42%0.00%83.87%
51.37%

Color #5A7C14 in popluar number systems.

HEX5A7C14
Decimal9012420
Binary1011010111110010100
Octal13217424

Shades and tints

Shades of #5A7C14

#5A7C14
(90,124,20)
#527113
(82,113,19)
#4A6612
(74,102,18)
#425B11
(66,91,17)
#3A5010
(58,80,16)
#32450F
(50,69,15)
#2A3A0E
(42,58,14)
#222F0D
(34,47,13)
#1A240C
(26,36,12)
#12190B
(18,25,11)
#0A0E0A
(10,14,10)
#000000
(0,0,0)

Tints of #5A7C14

#5A7C14
(90,124,20)
#698729
(105,135,41)
#78923E
(120,146,62)
#879D53
(135,157,83)
#96A868
(150,168,104)
#A5B37D
(165,179,125)
#B4BE92
(180,190,146)
#C3C9A7
(195,201,167)
#D2D4BC
(210,212,188)
#E1DFD1
(225,223,209)
#F0EAE6
(240,234,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A7C14 color. Also use rgb(90,124,20) instead hex code.

Text Font Color

.myTextColor { color: #5A7C14; }

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

This text font color is #5A7C14.


Background Color

.myBgColor { background-color: #5A7C14; }

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

This div background color is #5A7C14.


Border color

.myBorderColor { border: 1px solid #5A7C14; }

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

This div border color is #5A7C14.


Opacity

.myOpacity80 { color: #5A7C14; opacity: 0.8; }

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

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

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

This text has shadow with #5A7C14 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7C14 on black background.


Color preview on white background

This text has color #5A7C14 on white background.



Black color preview on #5A7C14 background

This text has black color on #5A7C14 background.


White color preview on #5A7C14 background

This text has white color on #5A7C14 background.