COLOR #5A7B4D

HEX: #5A7B4D
RGB: (90,123,77)

Color info

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

RGB color model

#5A7B4D color RGB value is (90,123,77).

  • red value is 90;
  • green value is 123;
  • blue value is 77.
RGB:
(90,123,77)
(35%,48%,30%)

RGB channels and saturation

R 90 of 255 = 35%
G 123 of 255 = 48%
B 77 of 255 = 30%

90
123
77

R + G + B ~ 38%. #5A7B4D is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 123 + 77 = 290 (100%)
R 90 of 290 ~ 31.03%
G 123 of 290 ~ 42.41%
B 77 of 290 ~ 26.55%

%31.03
%42.41
%26.55

CMYK color model

#5A7B4D color CMYK value is (27,0,37,52).

  • cyan value is 26.83%
  • magenta value is 0.00%
  • yellow value is 37.40%
  • key color value is 51.76%
CMYK:
(27,0,37,52)
C27M0Y37K52 
(27%,0%,37%,52%)
(0.27/0.00/0.37/0.52)	

CMYK percentages

%26.83
%0
%37.4
%51.76

Codes

Color #5A7B4D in popluar color models

5A7B4D
RGB9012377
HSL103°23.00%39.22%
HSB/HSV103°37.40%48.24%
CMYK26.83%0.00%37.40%
51.76%

Color #5A7B4D in popluar number systems.

HEX5A7B4D
Decimal9012377
Binary101101011110111001101
Octal132173115

Shades and tints

Shades of #5A7B4D

#5A7B4D
(90,123,77)
#527046
(82,112,70)
#4A653F
(74,101,63)
#425A38
(66,90,56)
#3A4F31
(58,79,49)
#32442A
(50,68,42)
#2A3923
(42,57,35)
#222E1C
(34,46,28)
#1A2315
(26,35,21)
#12180E
(18,24,14)
#0A0D07
(10,13,7)
#000000
(0,0,0)

Tints of #5A7B4D

#5A7B4D
(90,123,77)
#69875D
(105,135,93)
#78936D
(120,147,109)
#879F7D
(135,159,125)
#96AB8D
(150,171,141)
#A5B79D
(165,183,157)
#B4C3AD
(180,195,173)
#C3CFBD
(195,207,189)
#D2DBCD
(210,219,205)
#E1E7DD
(225,231,221)
#F0F3ED
(240,243,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7B4D; }

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

This text font color is #5A7B4D.


Background Color

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

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

This div background color is #5A7B4D.


Border color

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

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

This div border color is #5A7B4D.


Opacity

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

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

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

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

This text has shadow with #5A7B4D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7B4D on black background.


Color preview on white background

This text has color #5A7B4D on white background.



Black color preview on #5A7B4D background

This text has black color on #5A7B4D background.


White color preview on #5A7B4D background

This text has white color on #5A7B4D background.