COLOR #5A7E51

HEX: #5A7E51
RGB: (90,126,81)

Color info

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

RGB color model

#5A7E51 color RGB value is (90,126,81).

  • red value is 90;
  • green value is 126;
  • blue value is 81.
RGB:
(90,126,81)
(35%,49%,32%)

RGB channels and saturation

R 90 of 255 = 35%
G 126 of 255 = 49%
B 81 of 255 = 32%

90
126
81

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

Portions of RGB colors in percentages

R + G + B =
90 + 126 + 81 = 297 (100%)
R 90 of 297 ~ 30.3%
G 126 of 297 ~ 42.42%
B 81 of 297 ~ 27.27%

%30.3
%42.42
%27.27

CMYK color model

#5A7E51 color CMYK value is (29,0,36,51).

  • cyan value is 28.57%
  • magenta value is 0.00%
  • yellow value is 35.71%
  • key color value is 50.59%
CMYK:
(29,0,36,51)
C29M0Y36K51 
(29%,0%,36%,51%)
(0.29/0.00/0.36/0.51)	

CMYK percentages

%28.57
%0
%35.71
%50.59

Codes

Color #5A7E51 in popluar color models

5A7E51
RGB9012681
HSL108°21.74%40.59%
HSB/HSV108°35.71%49.41%
CMYK28.57%0.00%35.71%
50.59%

Color #5A7E51 in popluar number systems.

HEX5A7E51
Decimal9012681
Binary101101011111101010001
Octal132176121

Shades and tints

Shades of #5A7E51

#5A7E51
(90,126,81)
#52734A
(82,115,74)
#4A6843
(74,104,67)
#425D3C
(66,93,60)
#3A5235
(58,82,53)
#32472E
(50,71,46)
#2A3C27
(42,60,39)
#223120
(34,49,32)
#1A2619
(26,38,25)
#121B12
(18,27,18)
#0A100B
(10,16,11)
#000000
(0,0,0)

Tints of #5A7E51

#5A7E51
(90,126,81)
#698960
(105,137,96)
#78946F
(120,148,111)
#879F7E
(135,159,126)
#96AA8D
(150,170,141)
#A5B59C
(165,181,156)
#B4C0AB
(180,192,171)
#C3CBBA
(195,203,186)
#D2D6C9
(210,214,201)
#E1E1D8
(225,225,216)
#F0ECE7
(240,236,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A7E51 color. Also use rgb(90,126,81) instead hex code.

Text Font Color

.myTextColor { color: #5A7E51; }

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

This text font color is #5A7E51.


Background Color

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

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

This div background color is #5A7E51.


Border color

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

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

This div border color is #5A7E51.


Opacity

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

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

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

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

This text has shadow with #5A7E51 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7E51 on black background.


Color preview on white background

This text has color #5A7E51 on white background.



Black color preview on #5A7E51 background

This text has black color on #5A7E51 background.


White color preview on #5A7E51 background

This text has white color on #5A7E51 background.