COLOR #5A7F20

HEX: #5A7F20
RGB: (90,127,32)

Color info

#5A7F20 contains mainly red and green colors. Web safe color of #5A7F20 is #666633 (or #663).

RGB color model

#5A7F20 color RGB value is (90,127,32).

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

RGB channels and saturation

R 90 of 255 = 35%
G 127 of 255 = 50%
B 32 of 255 = 13%

90
127
32

R + G + B ~ 33%. #5A7F20 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 127 + 32 = 249 (100%)
R 90 of 249 ~ 36.14%
G 127 of 249 ~ 51%
B 32 of 249 ~ 12.85%

%36.14
%51
%12.85

CMYK color model

#5A7F20 color CMYK value is (29,0,75,50).

  • cyan value is 29.13%
  • magenta value is 0.00%
  • yellow value is 74.80%
  • key color value is 50.20%
CMYK:
(29,0,75,50)
C29M0Y75K50 
(29%,0%,75%,50%)
(0.29/0.00/0.75/0.50)	

CMYK percentages

%29.13
%0
%74.8
%50.2

Codes

Color #5A7F20 in popluar color models

5A7F20
RGB9012732
HSL83°59.75%31.18%
HSB/HSV83°74.80%49.80%
CMYK29.13%0.00%74.80%
50.20%

Color #5A7F20 in popluar number systems.

HEX5A7F20
Decimal9012732
Binary10110101111111100000
Octal13217740

Shades and tints

Shades of #5A7F20

#5A7F20
(90,127,32)
#52741E
(82,116,30)
#4A691C
(74,105,28)
#425E1A
(66,94,26)
#3A5318
(58,83,24)
#324816
(50,72,22)
#2A3D14
(42,61,20)
#223212
(34,50,18)
#1A2710
(26,39,16)
#121C0E
(18,28,14)
#0A110C
(10,17,12)
#000000
(0,0,0)

Tints of #5A7F20

#5A7F20
(90,127,32)
#698A34
(105,138,52)
#789548
(120,149,72)
#87A05C
(135,160,92)
#96AB70
(150,171,112)
#A5B684
(165,182,132)
#B4C198
(180,193,152)
#C3CCAC
(195,204,172)
#D2D7C0
(210,215,192)
#E1E2D4
(225,226,212)
#F0EDE8
(240,237,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7F20; }

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

This text font color is #5A7F20.


Background Color

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

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

This div background color is #5A7F20.


Border color

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

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

This div border color is #5A7F20.


Opacity

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

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

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

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

This text has shadow with #5A7F20 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7F20 on black background.


Color preview on white background

This text has color #5A7F20 on white background.



Black color preview on #5A7F20 background

This text has black color on #5A7F20 background.


White color preview on #5A7F20 background

This text has white color on #5A7F20 background.