COLOR #5A8039

HEX: #5A8039
RGB: (90,128,57)

Color info

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

RGB color model

#5A8039 color RGB value is (90,128,57).

  • red value is 90;
  • green value is 128;
  • blue value is 57.
RGB:
(90,128,57)
(35%,50%,22%)

RGB channels and saturation

R 90 of 255 = 35%
G 128 of 255 = 50%
B 57 of 255 = 22%

90
128
57

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

Portions of RGB colors in percentages

R + G + B =
90 + 128 + 57 = 275 (100%)
R 90 of 275 ~ 32.73%
G 128 of 275 ~ 46.55%
B 57 of 275 ~ 20.73%

%32.73
%46.55
%20.73

CMYK color model

#5A8039 color CMYK value is (30,0,55,50).

  • cyan value is 29.69%
  • magenta value is 0.00%
  • yellow value is 55.47%
  • key color value is 49.80%
CMYK:
(30,0,55,50)
C30M0Y55K50 
(30%,0%,55%,50%)
(0.30/0.00/0.55/0.50)	

CMYK percentages

%29.69
%0
%55.47
%49.8

Codes

Color #5A8039 in popluar color models

5A8039
RGB9012857
HSL92°38.38%36.27%
HSB/HSV92°55.47%50.20%
CMYK29.69%0.00%55.47%
49.80%

Color #5A8039 in popluar number systems.

HEX5A8039
Decimal9012857
Binary101101010000000111001
Octal13220071

Shades and tints

Shades of #5A8039

#5A8039
(90,128,57)
#527534
(82,117,52)
#4A6A2F
(74,106,47)
#425F2A
(66,95,42)
#3A5425
(58,84,37)
#324920
(50,73,32)
#2A3E1B
(42,62,27)
#223316
(34,51,22)
#1A2811
(26,40,17)
#121D0C
(18,29,12)
#0A1207
(10,18,7)
#000000
(0,0,0)

Tints of #5A8039

#5A8039
(90,128,57)
#698B4B
(105,139,75)
#78965D
(120,150,93)
#87A16F
(135,161,111)
#96AC81
(150,172,129)
#A5B793
(165,183,147)
#B4C2A5
(180,194,165)
#C3CDB7
(195,205,183)
#D2D8C9
(210,216,201)
#E1E3DB
(225,227,219)
#F0EEED
(240,238,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A8039 color. Also use rgb(90,128,57) instead hex code.

Text Font Color

.myTextColor { color: #5A8039; }

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

This text font color is #5A8039.


Background Color

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

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

This div background color is #5A8039.


Border color

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

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

This div border color is #5A8039.


Opacity

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

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

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

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

This text has shadow with #5A8039 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A8039 on black background.


Color preview on white background

This text has color #5A8039 on white background.



Black color preview on #5A8039 background

This text has black color on #5A8039 background.


White color preview on #5A8039 background

This text has white color on #5A8039 background.