COLOR #5A7F4F

HEX: #5A7F4F RGB: (90,127,79)

Color info

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

RGB color model

#5A7F4F color RGB value is (90,127,79).

RGB: (90,127,79) (35%, 50%, 31%)

RGB channels and saturation

R 90 of 255 = 35%
G 127 of 255 = 50%
B 79 of 255 = 31%

90
127
79

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

Portions of RGB colors in percentages

R + G + B = 90 + 127 + 79 = 296 (100%)
R 90 of 296 ~ 30.41%
G 127 of 296 ~ 42.91%
B 79 of 296 ~ 26.69'%

%30.41
%42.91
%26.69

CMYK color model

#5A7F4F color CMYK value is (29,0,38,50).

  • cyan value is 29.13%
  • magenta value is 0.00%
  • yellow value is 37.80%
  • key color value is 50.20%

CMYK: (29,0,38,50)
C29M0Y38K50 (29%, 0%, 38%, 50%)
(0.29 / 0.00 / 0.38 / 0.50)

CMYK percentages

%29.13
%0
%37.8
%50.2

Codes

Color #5A7F4F in popluar color models

5A 7F 4F
RGB 90 127 79
HSL 106° 23.30% 40.39%
HSB/HSV 106° 37.80% 49.80%
CMYK 29.13% 0.00% 37.80%
50.20%

Color #5A7F4F in popluar number systems.

HEX 5A 7F 4F
Decimal 90 127 79
Binary 1011010 1111111 1001111
Octal 132 177 117

Shades and tints

Shades of #5A7F4F

#5A7F4F
(90,127,79)
#527448
(82,116,72)
#4A6941
(74,105,65)
#425E3A
(66,94,58)
#3A5333
(58,83,51)
#32482C
(50,72,44)
#2A3D25
(42,61,37)
#22321E
(34,50,30)
#1A2717
(26,39,23)
#121C10
(18,28,16)
#0A1109
(10,17,9)
#000000
(0,0,0)

Tints of #5A7F4F

#5A7F4F
(90,127,79)
#698A5F
(105,138,95)
#78956F
(120,149,111)
#87A07F
(135,160,127)
#96AB8F
(150,171,143)
#A5B69F
(165,182,159)
#B4C1AF
(180,193,175)
#C3CCBF
(195,204,191)
#D2D7CF
(210,215,207)
#E1E2DF
(225,226,223)
#F0EDEF
(240,237,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A7F4F color. Also use rgb(90,127,79) instead hex code.

Text Font Color

.myTextColor { color: #5A7F4F; }

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

This text font color is #5A7F4F.

Background Color

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

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

This div background color is #5A7F4F.

Border color

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

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

This div border color is #5A7F4F.

Opacity

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

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

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

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

This text has shadow with #5A7F4F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A7F4F.

Preview

Color preview on black background

This text has color #5A7F4F on black background.


Color preview on white background

This text has color #5A7F4F on white background.


Black color preview on #5A7F4F background

This text has black color on #5A7F4F background.


White color preview on #5A7F4F background

This text has white color on #5A7F4F background.


Related colors

Complementary color

Complementary color for #hex is #A580B0.


I love getcolorcode.com

Triadic colors

1 #4F5A7F and #7F4F5A with #5A7F4F are triadic colors.

2 #4F7F5A and #7F5A4F with #5A7F4F are triadic colors.