COLOR #5A8131

HEX: #5A8131
RGB: (90,129,49)

Color info

#5A8131 contains mainly red and green colors. Web safe color of #5A8131 is #669933 (or #693).

RGB color model

#5A8131 color RGB value is (90,129,49).

  • red value is 90;
  • green value is 129;
  • blue value is 49.
RGB:
(90,129,49)
(35%,51%,19%)

RGB channels and saturation

R 90 of 255 = 35%
G 129 of 255 = 51%
B 49 of 255 = 19%

90
129
49

R + G + B ~ 35%. #5A8131 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 129 + 49 = 268 (100%)
R 90 of 268 ~ 33.58%
G 129 of 268 ~ 48.13%
B 49 of 268 ~ 18.28%

%33.58
%48.13
%18.28

CMYK color model

#5A8131 color CMYK value is (30,0,62,49).

  • cyan value is 30.23%
  • magenta value is 0.00%
  • yellow value is 62.02%
  • key color value is 49.41%
CMYK:
(30,0,62,49)
C30M0Y62K49 
(30%,0%,62%,49%)
(0.30/0.00/0.62/0.49)	

CMYK percentages

%30.23
%0
%62.02
%49.41

Codes

Color #5A8131 in popluar color models

5A8131
RGB9012949
HSL89°44.94%34.90%
HSB/HSV89°62.02%50.59%
CMYK30.23%0.00%62.02%
49.41%

Color #5A8131 in popluar number systems.

HEX5A8131
Decimal9012949
Binary101101010000001110001
Octal13220161

Shades and tints

Shades of #5A8131

#5A8131
(90,129,49)
#52762D
(82,118,45)
#4A6B29
(74,107,41)
#426025
(66,96,37)
#3A5521
(58,85,33)
#324A1D
(50,74,29)
#2A3F19
(42,63,25)
#223415
(34,52,21)
#1A2911
(26,41,17)
#121E0D
(18,30,13)
#0A1309
(10,19,9)
#000000
(0,0,0)

Tints of #5A8131

#5A8131
(90,129,49)
#698C43
(105,140,67)
#789755
(120,151,85)
#87A267
(135,162,103)
#96AD79
(150,173,121)
#A5B88B
(165,184,139)
#B4C39D
(180,195,157)
#C3CEAF
(195,206,175)
#D2D9C1
(210,217,193)
#E1E4D3
(225,228,211)
#F0EFE5
(240,239,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A8131 color. Also use rgb(90,129,49) instead hex code.

Text Font Color

.myTextColor { color: #5A8131; }

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

This text font color is #5A8131.


Background Color

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

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

This div background color is #5A8131.


Border color

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

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

This div border color is #5A8131.


Opacity

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

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

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

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

This text has shadow with #5A8131 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A8131 on black background.


Color preview on white background

This text has color #5A8131 on white background.



Black color preview on #5A8131 background

This text has black color on #5A8131 background.


White color preview on #5A8131 background

This text has white color on #5A8131 background.