COLOR #5A7F5A

HEX: #5A7F5A
RGB: (90,127,90)

Color info

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

RGB color model

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

  • red value is 90;
  • green value is 127;
  • blue value is 90.
RGB:
(90,127,90)
(35%,50%,35%)

RGB channels and saturation

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

90
127
90

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

Portions of RGB colors in percentages

R + G + B =
90 + 127 + 90 = 307 (100%)
R 90 of 307 ~ 29.32%
G 127 of 307 ~ 41.37%
B 90 of 307 ~ 29.32%

%29.32
%41.37
%29.32

CMYK color model

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

  • cyan value is 29.13%
  • magenta value is 0.00%
  • yellow value is 29.13%
  • key color value is 50.20%
CMYK:
(29,0,29,50)
C29M0Y29K50 
(29%,0%,29%,50%)
(0.29/0.00/0.29/0.50)	

CMYK percentages

%29.13
%0
%29.13
%50.2

Codes

Color #5A7F5A in popluar color models

5A7F5A
RGB9012790
HSL120°17.05%42.55%
HSB/HSV120°29.13%49.80%
CMYK29.13%0.00%29.13%
50.20%

Color #5A7F5A in popluar number systems.

HEX5A7F5A
Decimal9012790
Binary101101011111111011010
Octal132177132

Shades and tints

Shades of #5A7F5A

#5A7F5A
(90,127,90)
#527452
(82,116,82)
#4A694A
(74,105,74)
#425E42
(66,94,66)
#3A533A
(58,83,58)
#324832
(50,72,50)
#2A3D2A
(42,61,42)
#223222
(34,50,34)
#1A271A
(26,39,26)
#121C12
(18,28,18)
#0A110A
(10,17,10)
#000000
(0,0,0)

Tints of #5A7F5A

#5A7F5A
(90,127,90)
#698A69
(105,138,105)
#789578
(120,149,120)
#87A087
(135,160,135)
#96AB96
(150,171,150)
#A5B6A5
(165,182,165)
#B4C1B4
(180,193,180)
#C3CCC3
(195,204,195)
#D2D7D2
(210,215,210)
#E1E2E1
(225,226,225)
#F0EDF0
(240,237,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7F5A; }

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

This text font color is #5A7F5A.


Background Color

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

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

This div background color is #5A7F5A.


Border color

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

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

This div border color is #5A7F5A.


Opacity

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

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

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

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

This text has shadow with #5A7F5A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7F5A on black background.


Color preview on white background

This text has color #5A7F5A on white background.



Black color preview on #5A7F5A background

This text has black color on #5A7F5A background.


White color preview on #5A7F5A background

This text has white color on #5A7F5A background.