COLOR #5A7D22

HEX: #5A7D22
RGB: (90,125,34)

Color info

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

RGB color model

#5A7D22 color RGB value is (90,125,34).

  • red value is 90;
  • green value is 125;
  • blue value is 34.
RGB:
(90,125,34)
(35%,49%,13%)

RGB channels and saturation

R 90 of 255 = 35%
G 125 of 255 = 49%
B 34 of 255 = 13%

90
125
34

R + G + B ~ 32%. #5A7D22 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 125 + 34 = 249 (100%)
R 90 of 249 ~ 36.14%
G 125 of 249 ~ 50.2%
B 34 of 249 ~ 13.65%

%36.14
%50.2
%13.65

CMYK color model

#5A7D22 color CMYK value is (28,0,73,51).

  • cyan value is 28.00%
  • magenta value is 0.00%
  • yellow value is 72.80%
  • key color value is 50.98%
CMYK:
(28,0,73,51)
C28M0Y73K51 
(28%,0%,73%,51%)
(0.28/0.00/0.73/0.51)	

CMYK percentages

%28
%0
%72.8
%50.98

Codes

Color #5A7D22 in popluar color models

5A7D22
RGB9012534
HSL83°57.23%31.18%
HSB/HSV83°72.80%49.02%
CMYK28.00%0.00%72.80%
50.98%

Color #5A7D22 in popluar number systems.

HEX5A7D22
Decimal9012534
Binary10110101111101100010
Octal13217542

Shades and tints

Shades of #5A7D22

#5A7D22
(90,125,34)
#52721F
(82,114,31)
#4A671C
(74,103,28)
#425C19
(66,92,25)
#3A5116
(58,81,22)
#324613
(50,70,19)
#2A3B10
(42,59,16)
#22300D
(34,48,13)
#1A250A
(26,37,10)
#121A07
(18,26,7)
#0A0F04
(10,15,4)
#000000
(0,0,0)

Tints of #5A7D22

#5A7D22
(90,125,34)
#698836
(105,136,54)
#78934A
(120,147,74)
#879E5E
(135,158,94)
#96A972
(150,169,114)
#A5B486
(165,180,134)
#B4BF9A
(180,191,154)
#C3CAAE
(195,202,174)
#D2D5C2
(210,213,194)
#E1E0D6
(225,224,214)
#F0EBEA
(240,235,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A7D22 color. Also use rgb(90,125,34) instead hex code.

Text Font Color

.myTextColor { color: #5A7D22; }

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

This text font color is #5A7D22.


Background Color

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

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

This div background color is #5A7D22.


Border color

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

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

This div border color is #5A7D22.


Opacity

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

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

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

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

This text has shadow with #5A7D22 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7D22 on black background.


Color preview on white background

This text has color #5A7D22 on white background.



Black color preview on #5A7D22 background

This text has black color on #5A7D22 background.


White color preview on #5A7D22 background

This text has white color on #5A7D22 background.