COLOR #5A7E5B

HEX: #5A7E5B RGB: (90,126,91)

Color info

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

RGB color model

#5A7E5B color RGB value is (90,126,91).

RGB: (90,126,91) (35%, 49%, 36%)

RGB channels and saturation

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

90
126
91

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

Portions of RGB colors in percentages

R + G + B = 90 + 126 + 91 = 307 (100%)
R 90 of 307 ~ 29.32%
G 126 of 307 ~ 41.04%
B 91 of 307 ~ 29.64'%

%29.32
%41.04
%29.64

CMYK color model

#5A7E5B color CMYK value is (29,0,28,51).

  • cyan value is 28.57%
  • magenta value is 0.00%
  • yellow value is 27.78%
  • key color value is 50.59%
CMYK: (29,0,28,51) C29M0Y28K51 (29%,0%,28%,51%) (0.29/0.00/0.28/0.51) 

CMYK percentages

%28.57
%0
%27.78
%50.59

Codes

Color #5A7E5B in popluar color models

5A 7E 5B
RGB 90 126 91
HSL 122° 16.67% 42.35%
HSB/HSV 122° 28.57% 49.41%
CMYK 28.57% 0.00% 27.78%
50.59%

Color #5A7E5B in popluar number systems.

HEX 5A 7E 5B
Decimal 90 126 91
Binary 1011010 1111110 1011011
Octal 132 176 133

Shades and tints

Shades of #5A7E5B

#5A7E5B
(90,126,91)
#527353
(82,115,83)
#4A684B
(74,104,75)
#425D43
(66,93,67)
#3A523B
(58,82,59)
#324733
(50,71,51)
#2A3C2B
(42,60,43)
#223123
(34,49,35)
#1A261B
(26,38,27)
#121B13
(18,27,19)
#0A100B
(10,16,11)
#000000
(0,0,0)

Tints of #5A7E5B

#5A7E5B
(90,126,91)
#698969
(105,137,105)
#789477
(120,148,119)
#879F85
(135,159,133)
#96AA93
(150,170,147)
#A5B5A1
(165,181,161)
#B4C0AF
(180,192,175)
#C3CBBD
(195,203,189)
#D2D6CB
(210,214,203)
#E1E1D9
(225,225,217)
#F0ECE7
(240,236,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7E5B; }

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

This text font color is #5A7E5B.

Background Color

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

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

This div background color is #5A7E5B.

Border color

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

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

This div border color is #5A7E5B.

Opacity

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

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

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

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

This text has shadow with #5A7E5B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A7E5B.

Preview

Color preview on black background

This text has color #5A7E5B on black background.


Color preview on white background

This text has color #5A7E5B on white background.


Black color preview on #5A7E5B background

This text has black color on #5A7E5B background.


White color preview on #5A7E5B background

This text has white color on #5A7E5B background.


Related colors

Complementary color

Complementary color for #hex is #A581A4.


I love getcolorcode.com

Triadic colors

1 #5B5A7E and #7E5B5A with #5A7E5B are triadic colors.

2 #5B7E5A and #7E5A5B with #5A7E5B are triadic colors.