COLOR #5A9C20

HEX: #5A9C20
RGB: (90,156,32)

Color info

#5A9C20 contains mainly green color. Web safe color of #5A9C20 is #669933 (or #693).

RGB color model

#5A9C20 color RGB value is (90,156,32).

  • red value is 90;
  • green value is 156;
  • blue value is 32.
RGB:
(90,156,32)
(35%,61%,13%)

RGB channels and saturation

R 90 of 255 = 35%
G 156 of 255 = 61%
B 32 of 255 = 13%

90
156
32

R + G + B ~ 36%. #5A9C20 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 156 + 32 = 278 (100%)
R 90 of 278 ~ 32.37%
G 156 of 278 ~ 56.12%
B 32 of 278 ~ 11.51%

%32.37
%56.12
%11.51

CMYK color model

#5A9C20 color CMYK value is (42,0,79,39).

  • cyan value is 42.31%
  • magenta value is 0.00%
  • yellow value is 79.49%
  • key color value is 38.82%
CMYK:
(42,0,79,39)
C42M0Y79K39 
(42%,0%,79%,39%)
(0.42/0.00/0.79/0.39)	

CMYK percentages

%42.31
%0
%79.49
%38.82

Codes

Color #5A9C20 in popluar color models

5A9C20
RGB9015632
HSL92°65.96%36.86%
HSB/HSV92°79.49%61.18%
CMYK42.31%0.00%79.49%
38.82%

Color #5A9C20 in popluar number systems.

HEX5A9C20
Decimal9015632
Binary101101010011100100000
Octal13223440

Shades and tints

Shades of #5A9C20

#5A9C20
(90,156,32)
#528E1E
(82,142,30)
#4A801C
(74,128,28)
#42721A
(66,114,26)
#3A6418
(58,100,24)
#325616
(50,86,22)
#2A4814
(42,72,20)
#223A12
(34,58,18)
#1A2C10
(26,44,16)
#121E0E
(18,30,14)
#0A100C
(10,16,12)
#000000
(0,0,0)

Tints of #5A9C20

#5A9C20
(90,156,32)
#69A534
(105,165,52)
#78AE48
(120,174,72)
#87B75C
(135,183,92)
#96C070
(150,192,112)
#A5C984
(165,201,132)
#B4D298
(180,210,152)
#C3DBAC
(195,219,172)
#D2E4C0
(210,228,192)
#E1EDD4
(225,237,212)
#F0F6E8
(240,246,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A9C20 color. Also use rgb(90,156,32) instead hex code.

Text Font Color

.myTextColor { color: #5A9C20; }

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

This text font color is #5A9C20.


Background Color

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

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

This div background color is #5A9C20.


Border color

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

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

This div border color is #5A9C20.


Opacity

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

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

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

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

This text has shadow with #5A9C20 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A9C20 on black background.


Color preview on white background

This text has color #5A9C20 on white background.



Black color preview on #5A9C20 background

This text has black color on #5A9C20 background.


White color preview on #5A9C20 background

This text has white color on #5A9C20 background.