COLOR #5A8950

HEX: #5A8950
RGB: (90,137,80)

Color info

#5A8950 contains red, green and blue colors in about the same proportion. Web safe color of #5A8950 is #669966 (or #696).

RGB color model

#5A8950 color RGB value is (90,137,80).

  • red value is 90;
  • green value is 137;
  • blue value is 80.
RGB:
(90,137,80)
(35%,54%,31%)

RGB channels and saturation

R 90 of 255 = 35%
G 137 of 255 = 54%
B 80 of 255 = 31%

90
137
80

R + G + B ~ 40%. #5A8950 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
90 + 137 + 80 = 307 (100%)
R 90 of 307 ~ 29.32%
G 137 of 307 ~ 44.63%
B 80 of 307 ~ 26.06%

%29.32
%44.63
%26.06

CMYK color model

#5A8950 color CMYK value is (34,0,42,46).

  • cyan value is 34.31%
  • magenta value is 0.00%
  • yellow value is 41.61%
  • key color value is 46.27%
CMYK:
(34,0,42,46)
C34M0Y42K46 
(34%,0%,42%,46%)
(0.34/0.00/0.42/0.46)	

CMYK percentages

%34.31
%0
%41.61
%46.27

Codes

Color #5A8950 in popluar color models

5A8950
RGB9013780
HSL109°26.27%42.55%
HSB/HSV109°41.61%53.73%
CMYK34.31%0.00%41.61%
46.27%

Color #5A8950 in popluar number systems.

HEX5A8950
Decimal9013780
Binary1011010100010011010000
Octal132211120

Shades and tints

Shades of #5A8950

#5A8950
(90,137,80)
#527D49
(82,125,73)
#4A7142
(74,113,66)
#42653B
(66,101,59)
#3A5934
(58,89,52)
#324D2D
(50,77,45)
#2A4126
(42,65,38)
#22351F
(34,53,31)
#1A2918
(26,41,24)
#121D11
(18,29,17)
#0A110A
(10,17,10)
#000000
(0,0,0)

Tints of #5A8950

#5A8950
(90,137,80)
#69935F
(105,147,95)
#789D6E
(120,157,110)
#87A77D
(135,167,125)
#96B18C
(150,177,140)
#A5BB9B
(165,187,155)
#B4C5AA
(180,197,170)
#C3CFB9
(195,207,185)
#D2D9C8
(210,217,200)
#E1E3D7
(225,227,215)
#F0EDE6
(240,237,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A8950 color. Also use rgb(90,137,80) instead hex code.

Text Font Color

.myTextColor { color: #5A8950; }

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

This text font color is #5A8950.


Background Color

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

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

This div background color is #5A8950.


Border color

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

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

This div border color is #5A8950.


Opacity

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

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

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

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

This text has shadow with #5A8950 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A8950 on black background.


Color preview on white background

This text has color #5A8950 on white background.



Black color preview on #5A8950 background

This text has black color on #5A8950 background.


White color preview on #5A8950 background

This text has white color on #5A8950 background.