COLOR #5A7E52

HEX: #5A7E52
RGB: (90,126,82)

Color info

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

RGB color model

#5A7E52 color RGB value is (90,126,82).

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

RGB channels and saturation

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

90
126
82

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

Portions of RGB colors in percentages

R + G + B =
90 + 126 + 82 = 298 (100%)
R 90 of 298 ~ 30.2%
G 126 of 298 ~ 42.28%
B 82 of 298 ~ 27.52%

%30.2
%42.28
%27.52

CMYK color model

#5A7E52 color CMYK value is (29,0,35,51).

  • cyan value is 28.57%
  • magenta value is 0.00%
  • yellow value is 34.92%
  • key color value is 50.59%
CMYK:
(29,0,35,51)
C29M0Y35K51 
(29%,0%,35%,51%)
(0.29/0.00/0.35/0.51)	

CMYK percentages

%28.57
%0
%34.92
%50.59

Codes

Color #5A7E52 in popluar color models

5A7E52
RGB9012682
HSL109°21.15%40.78%
HSB/HSV109°34.92%49.41%
CMYK28.57%0.00%34.92%
50.59%

Color #5A7E52 in popluar number systems.

HEX5A7E52
Decimal9012682
Binary101101011111101010010
Octal132176122

Shades and tints

Shades of #5A7E52

#5A7E52
(90,126,82)
#52734B
(82,115,75)
#4A6844
(74,104,68)
#425D3D
(66,93,61)
#3A5236
(58,82,54)
#32472F
(50,71,47)
#2A3C28
(42,60,40)
#223121
(34,49,33)
#1A261A
(26,38,26)
#121B13
(18,27,19)
#0A100C
(10,16,12)
#000000
(0,0,0)

Tints of #5A7E52

#5A7E52
(90,126,82)
#698961
(105,137,97)
#789470
(120,148,112)
#879F7F
(135,159,127)
#96AA8E
(150,170,142)
#A5B59D
(165,181,157)
#B4C0AC
(180,192,172)
#C3CBBB
(195,203,187)
#D2D6CA
(210,214,202)
#E1E1D9
(225,225,217)
#F0ECE8
(240,236,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7E52; }

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

This text font color is #5A7E52.


Background Color

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

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

This div background color is #5A7E52.


Border color

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

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

This div border color is #5A7E52.


Opacity

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

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

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

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

This text has shadow with #5A7E52 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7E52 on black background.


Color preview on white background

This text has color #5A7E52 on white background.



Black color preview on #5A7E52 background

This text has black color on #5A7E52 background.


White color preview on #5A7E52 background

This text has white color on #5A7E52 background.