COLOR #5A7A4B

HEX: #5A7A4B
RGB: (90,122,75)

Color info

#5A7A4B contains red, green and blue colors in about the same proportion. Web safe color of #5A7A4B is #666633 (or #663).

RGB color model

#5A7A4B color RGB value is (90,122,75).

  • red value is 90;
  • green value is 122;
  • blue value is 75.
RGB:
(90,122,75)
(35%,48%,29%)

RGB channels and saturation

R 90 of 255 = 35%
G 122 of 255 = 48%
B 75 of 255 = 29%

90
122
75

R + G + B ~ 37%. #5A7A4B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 122 + 75 = 287 (100%)
R 90 of 287 ~ 31.36%
G 122 of 287 ~ 42.51%
B 75 of 287 ~ 26.13%

%31.36
%42.51
%26.13

CMYK color model

#5A7A4B color CMYK value is (26,0,39,52).

  • cyan value is 26.23%
  • magenta value is 0.00%
  • yellow value is 38.52%
  • key color value is 52.16%
CMYK:
(26,0,39,52)
C26M0Y39K52 
(26%,0%,39%,52%)
(0.26/0.00/0.39/0.52)	

CMYK percentages

%26.23
%0
%38.52
%52.16

Codes

Color #5A7A4B in popluar color models

5A7A4B
RGB9012275
HSL101°23.86%38.63%
HSB/HSV101°38.52%47.84%
CMYK26.23%0.00%38.52%
52.16%

Color #5A7A4B in popluar number systems.

HEX5A7A4B
Decimal9012275
Binary101101011110101001011
Octal132172113

Shades and tints

Shades of #5A7A4B

#5A7A4B
(90,122,75)
#526F45
(82,111,69)
#4A643F
(74,100,63)
#425939
(66,89,57)
#3A4E33
(58,78,51)
#32432D
(50,67,45)
#2A3827
(42,56,39)
#222D21
(34,45,33)
#1A221B
(26,34,27)
#121715
(18,23,21)
#0A0C0F
(10,12,15)
#000000
(0,0,0)

Tints of #5A7A4B

#5A7A4B
(90,122,75)
#69865B
(105,134,91)
#78926B
(120,146,107)
#879E7B
(135,158,123)
#96AA8B
(150,170,139)
#A5B69B
(165,182,155)
#B4C2AB
(180,194,171)
#C3CEBB
(195,206,187)
#D2DACB
(210,218,203)
#E1E6DB
(225,230,219)
#F0F2EB
(240,242,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7A4B; }

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

This text font color is #5A7A4B.


Background Color

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

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

This div background color is #5A7A4B.


Border color

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

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

This div border color is #5A7A4B.


Opacity

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

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

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

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

This text has shadow with #5A7A4B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7A4B on black background.


Color preview on white background

This text has color #5A7A4B on white background.



Black color preview on #5A7A4B background

This text has black color on #5A7A4B background.


White color preview on #5A7A4B background

This text has white color on #5A7A4B background.