COLOR #5A7131

HEX: #5A7131 RGB: (90,113,49)

Color info

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

RGB color model

#5A7131 color RGB value is (90,113,49).

RGB: (90,113,49) (35%, 44%, 19%)

RGB channels and saturation

R 90 of 255 = 35%
G 113 of 255 = 44%
B 49 of 255 = 19%

90
113
49

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

Portions of RGB colors in percentages

R + G + B = 90 + 113 + 49 = 252 (100%)
R 90 of 252 ~ 35.71%
G 113 of 252 ~ 44.84%
B 49 of 252 ~ 19.44'%

%35.71
%44.84
%19.44

CMYK color model

#5A7131 color CMYK value is (20,0,57,56).

  • cyan value is 20.35%
  • magenta value is 0.00%
  • yellow value is 56.64%
  • key color value is 55.69%

CMYK: (20,0,57,56)
C20M0Y57K56 (20%, 0%, 57%, 56%)
(0.20 / 0.00 / 0.57 / 0.56)

CMYK percentages

%20.35
%0
%56.64
%55.69

Codes

Color #5A7131 in popluar color models

5A 71 31
RGB 90 113 49
HSL 82° 39.51% 31.76%
HSB/HSV 82° 56.64% 44.31%
CMYK 20.35% 0.00% 56.64%
55.69%

Color #5A7131 in popluar number systems.

HEX 5A 71 31
Decimal 90 113 49
Binary 1011010 1110001 110001
Octal 132 161 61

Shades and tints

Shades of #5A7131

#5A7131
(90,113,49)
#52672D
(82,103,45)
#4A5D29
(74,93,41)
#425325
(66,83,37)
#3A4921
(58,73,33)
#323F1D
(50,63,29)
#2A3519
(42,53,25)
#222B15
(34,43,21)
#1A2111
(26,33,17)
#12170D
(18,23,13)
#0A0D09
(10,13,9)
#000000
(0,0,0)

Tints of #5A7131

#5A7131
(90,113,49)
#697D43
(105,125,67)
#788955
(120,137,85)
#879567
(135,149,103)
#96A179
(150,161,121)
#A5AD8B
(165,173,139)
#B4B99D
(180,185,157)
#C3C5AF
(195,197,175)
#D2D1C1
(210,209,193)
#E1DDD3
(225,221,211)
#F0E9E5
(240,233,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7131; }

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

This text font color is #5A7131.

Background Color

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

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

This div background color is #5A7131.

Border color

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

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

This div border color is #5A7131.

Opacity

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

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

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

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

This text has shadow with #5A7131 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A7131.

Preview

Color preview on black background

This text has color #5A7131 on black background.


Color preview on white background

This text has color #5A7131 on white background.


Black color preview on #5A7131 background

This text has black color on #5A7131 background.


White color preview on #5A7131 background

This text has white color on #5A7131 background.


Related colors

Complementary color

Complementary color for #hex is #A58ECE.


I love getcolorcode.com

Triadic colors

1 #315A71 and #71315A with #5A7131 are triadic colors.

2 #31715A and #715A31 with #5A7131 are triadic colors.