COLOR #5A7D5B

HEX: #5A7D5B
RGB: (90,125,91)

Color info

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

RGB color model

#5A7D5B color RGB value is (90,125,91).

  • red value is 90;
  • green value is 125;
  • blue value is 91.
RGB:
(90,125,91)
(35%,49%,36%)

RGB channels and saturation

R 90 of 255 = 35%
G 125 of 255 = 49%
B 91 of 255 = 36%

90
125
91

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

Portions of RGB colors in percentages

R + G + B =
90 + 125 + 91 = 306 (100%)
R 90 of 306 ~ 29.41%
G 125 of 306 ~ 40.85%
B 91 of 306 ~ 29.74%

%29.41
%40.85
%29.74

CMYK color model

#5A7D5B color CMYK value is (28,0,27,51).

  • cyan value is 28.00%
  • magenta value is 0.00%
  • yellow value is 27.20%
  • key color value is 50.98%
CMYK:
(28,0,27,51)
C28M0Y27K51 
(28%,0%,27%,51%)
(0.28/0.00/0.27/0.51)	

CMYK percentages

%28
%0
%27.2
%50.98

Codes

Color #5A7D5B in popluar color models

5A7D5B
RGB9012591
HSL122°16.28%42.16%
HSB/HSV122°28.00%49.02%
CMYK28.00%0.00%27.20%
50.98%

Color #5A7D5B in popluar number systems.

HEX5A7D5B
Decimal9012591
Binary101101011111011011011
Octal132175133

Shades and tints

Shades of #5A7D5B

#5A7D5B
(90,125,91)
#527253
(82,114,83)
#4A674B
(74,103,75)
#425C43
(66,92,67)
#3A513B
(58,81,59)
#324633
(50,70,51)
#2A3B2B
(42,59,43)
#223023
(34,48,35)
#1A251B
(26,37,27)
#121A13
(18,26,19)
#0A0F0B
(10,15,11)
#000000
(0,0,0)

Tints of #5A7D5B

#5A7D5B
(90,125,91)
#698869
(105,136,105)
#789377
(120,147,119)
#879E85
(135,158,133)
#96A993
(150,169,147)
#A5B4A1
(165,180,161)
#B4BFAF
(180,191,175)
#C3CABD
(195,202,189)
#D2D5CB
(210,213,203)
#E1E0D9
(225,224,217)
#F0EBE7
(240,235,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A7D5B color. Also use rgb(90,125,91) instead hex code.

Text Font Color

.myTextColor { color: #5A7D5B; }

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

This text font color is #5A7D5B.


Background Color

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

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

This div background color is #5A7D5B.


Border color

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

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

This div border color is #5A7D5B.


Opacity

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

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

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

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

This text has shadow with #5A7D5B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7D5B on black background.


Color preview on white background

This text has color #5A7D5B on white background.



Black color preview on #5A7D5B background

This text has black color on #5A7D5B background.


White color preview on #5A7D5B background

This text has white color on #5A7D5B background.