COLOR #5A8157

HEX: #5A8157 RGB: (90,129,87)

Color info

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

RGB color model

#5A8157 color RGB value is (90,129,87).

RGB: (90,129,87) (35%, 51%, 34%)

RGB channels and saturation

R 90 of 255 = 35%
G 129 of 255 = 51%
B 87 of 255 = 34%

90
129
87

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

Portions of RGB colors in percentages

R + G + B = 90 + 129 + 87 = 306 (100%)
R 90 of 306 ~ 29.41%
G 129 of 306 ~ 42.16%
B 87 of 306 ~ 28.43'%

%29.41
%42.16
%28.43

CMYK color model

#5A8157 color CMYK value is (30,0,33,49).

  • cyan value is 30.23%
  • magenta value is 0.00%
  • yellow value is 32.56%
  • key color value is 49.41%

CMYK: (30,0,33,49)
C30M0Y33K49 (30%, 0%, 33%, 49%)
(0.30 / 0.00 / 0.33 / 0.49)

CMYK percentages

%30.23
%0
%32.56
%49.41

Codes

Color #5A8157 in popluar color models

5A 81 57
RGB 90 129 87
HSL 116° 19.44% 42.35%
HSB/HSV 116° 32.56% 50.59%
CMYK 30.23% 0.00% 32.56%
49.41%

Color #5A8157 in popluar number systems.

HEX 5A 81 57
Decimal 90 129 87
Binary 1011010 10000001 1010111
Octal 132 201 127

Shades and tints

Shades of #5A8157

#5A8157
(90,129,87)
#527650
(82,118,80)
#4A6B49
(74,107,73)
#426042
(66,96,66)
#3A553B
(58,85,59)
#324A34
(50,74,52)
#2A3F2D
(42,63,45)
#223426
(34,52,38)
#1A291F
(26,41,31)
#121E18
(18,30,24)
#0A1311
(10,19,17)
#000000
(0,0,0)

Tints of #5A8157

#5A8157
(90,129,87)
#698C66
(105,140,102)
#789775
(120,151,117)
#87A284
(135,162,132)
#96AD93
(150,173,147)
#A5B8A2
(165,184,162)
#B4C3B1
(180,195,177)
#C3CEC0
(195,206,192)
#D2D9CF
(210,217,207)
#E1E4DE
(225,228,222)
#F0EFED
(240,239,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A8157; }

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

This text font color is #5A8157.

Background Color

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

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

This div background color is #5A8157.

Border color

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

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

This div border color is #5A8157.

Opacity

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

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

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

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

This text has shadow with #5A8157 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A8157.

Preview

Color preview on black background

This text has color #5A8157 on black background.


Color preview on white background

This text has color #5A8157 on white background.


Black color preview on #5A8157 background

This text has black color on #5A8157 background.


White color preview on #5A8157 background

This text has white color on #5A8157 background.


Related colors

Complementary color

Complementary color for #hex is #A57EA8.


I love getcolorcode.com

Triadic colors

1 #575A81 and #81575A with #5A8157 are triadic colors.

2 #57815A and #815A57 with #5A8157 are triadic colors.