COLOR #5A7B4C

HEX: #5A7B4C
RGB: (90,123,76)

Color info

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

RGB color model

#5A7B4C color RGB value is (90,123,76).

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

RGB channels and saturation

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

90
123
76

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

Portions of RGB colors in percentages

R + G + B =
90 + 123 + 76 = 289 (100%)
R 90 of 289 ~ 31.14%
G 123 of 289 ~ 42.56%
B 76 of 289 ~ 26.3%

%31.14
%42.56
%26.3

CMYK color model

#5A7B4C color CMYK value is (27,0,38,52).

  • cyan value is 26.83%
  • magenta value is 0.00%
  • yellow value is 38.21%
  • key color value is 51.76%
CMYK:
(27,0,38,52)
C27M0Y38K52 
(27%,0%,38%,52%)
(0.27/0.00/0.38/0.52)	

CMYK percentages

%26.83
%0
%38.21
%51.76

Codes

Color #5A7B4C in popluar color models

5A7B4C
RGB9012376
HSL102°23.62%39.02%
HSB/HSV102°38.21%48.24%
CMYK26.83%0.00%38.21%
51.76%

Color #5A7B4C in popluar number systems.

HEX5A7B4C
Decimal9012376
Binary101101011110111001100
Octal132173114

Shades and tints

Shades of #5A7B4C

#5A7B4C
(90,123,76)
#527046
(82,112,70)
#4A6540
(74,101,64)
#425A3A
(66,90,58)
#3A4F34
(58,79,52)
#32442E
(50,68,46)
#2A3928
(42,57,40)
#222E22
(34,46,34)
#1A231C
(26,35,28)
#121816
(18,24,22)
#0A0D10
(10,13,16)
#000000
(0,0,0)

Tints of #5A7B4C

#5A7B4C
(90,123,76)
#69875C
(105,135,92)
#78936C
(120,147,108)
#879F7C
(135,159,124)
#96AB8C
(150,171,140)
#A5B79C
(165,183,156)
#B4C3AC
(180,195,172)
#C3CFBC
(195,207,188)
#D2DBCC
(210,219,204)
#E1E7DC
(225,231,220)
#F0F3EC
(240,243,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7B4C; }

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

This text font color is #5A7B4C.


Background Color

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

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

This div background color is #5A7B4C.


Border color

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

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

This div border color is #5A7B4C.


Opacity

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

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

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

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

This text has shadow with #5A7B4C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7B4C on black background.


Color preview on white background

This text has color #5A7B4C on white background.



Black color preview on #5A7B4C background

This text has black color on #5A7B4C background.


White color preview on #5A7B4C background

This text has white color on #5A7B4C background.