COLOR #5A7956

HEX: #5A7956 RGB: (90,121,86)

Color info

#5A7956 contains red, green and blue colors in about the same proportion. Web safe color of #5A7956 is #666666 (or #666).

RGB color model

#5A7956 color RGB value is (90,121,86).

RGB: (90,121,86) (35%, 47%, 34%)

RGB channels and saturation

R 90 of 255 = 35%
G 121 of 255 = 47%
B 86 of 255 = 34%

90
121
86

R + G + B ~ 39%. #5A7956 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 121 + 86 = 297 (100%)
R 90 of 297 ~ 30.3%
G 121 of 297 ~ 40.74%
B 86 of 297 ~ 28.96'%

%30.3
%40.74
%28.96

CMYK color model

#5A7956 color CMYK value is (26,0,29,53).

  • cyan value is 25.62%
  • magenta value is 0.00%
  • yellow value is 28.93%
  • key color value is 52.55%

CMYK: (26,0,29,53)
C26M0Y29K53 (26%, 0%, 29%, 53%)
(0.26 / 0.00 / 0.29 / 0.53)

CMYK percentages

%25.62
%0
%28.93
%52.55

Codes

Color #5A7956 in popluar color models

5A 79 56
RGB 90 121 86
HSL 113° 16.91% 40.59%
HSB/HSV 113° 28.93% 47.45%
CMYK 25.62% 0.00% 28.93%
52.55%

Color #5A7956 in popluar number systems.

HEX 5A 79 56
Decimal 90 121 86
Binary 1011010 1111001 1010110
Octal 132 171 126

Shades and tints

Shades of #5A7956

#5A7956
(90,121,86)
#526E4F
(82,110,79)
#4A6348
(74,99,72)
#425841
(66,88,65)
#3A4D3A
(58,77,58)
#324233
(50,66,51)
#2A372C
(42,55,44)
#222C25
(34,44,37)
#1A211E
(26,33,30)
#121617
(18,22,23)
#0A0B10
(10,11,16)
#000000
(0,0,0)

Tints of #5A7956

#5A7956
(90,121,86)
#698565
(105,133,101)
#789174
(120,145,116)
#879D83
(135,157,131)
#96A992
(150,169,146)
#A5B5A1
(165,181,161)
#B4C1B0
(180,193,176)
#C3CDBF
(195,205,191)
#D2D9CE
(210,217,206)
#E1E5DD
(225,229,221)
#F0F1EC
(240,241,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A7956 color. Also use rgb(90,121,86) instead hex code.

Text Font Color

.myTextColor { color: #5A7956; }

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

This text font color is #5A7956.

Background Color

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

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

This div background color is #5A7956.

Border color

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

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

This div border color is #5A7956.

Opacity

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

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

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

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

This text has shadow with #5A7956 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A7956.

Preview

Color preview on black background

This text has color #5A7956 on black background.


Color preview on white background

This text has color #5A7956 on white background.


Black color preview on #5A7956 background

This text has black color on #5A7956 background.


White color preview on #5A7956 background

This text has white color on #5A7956 background.


Related colors

Complementary color

Complementary color for #hex is #A586A9.


I love getcolorcode.com

Triadic colors

1 #565A79 and #79565A with #5A7956 are triadic colors.

2 #56795A and #795A56 with #5A7956 are triadic colors.