COLOR #5A8A5C

HEX: #5A8A5C
RGB: (90,138,92)

Color info

#5A8A5C contains red, green and blue colors in about the same proportion. Web safe color of #5A8A5C is #669966 (or #696).

RGB color model

#5A8A5C color RGB value is (90,138,92).

  • red value is 90;
  • green value is 138;
  • blue value is 92.
RGB:
(90,138,92)
(35%,54%,36%)

RGB channels and saturation

R 90 of 255 = 35%
G 138 of 255 = 54%
B 92 of 255 = 36%

90
138
92

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

Portions of RGB colors in percentages

R + G + B =
90 + 138 + 92 = 320 (100%)
R 90 of 320 ~ 28.13%
G 138 of 320 ~ 43.13%
B 92 of 320 ~ 28.75%

%28.13
%43.13
%28.75

CMYK color model

#5A8A5C color CMYK value is (35,0,33,46).

  • cyan value is 34.78%
  • magenta value is 0.00%
  • yellow value is 33.33%
  • key color value is 45.88%
CMYK:
(35,0,33,46)
C35M0Y33K46 
(35%,0%,33%,46%)
(0.35/0.00/0.33/0.46)	

CMYK percentages

%34.78
%0
%33.33
%45.88

Codes

Color #5A8A5C in popluar color models

5A8A5C
RGB9013892
HSL123°21.05%44.71%
HSB/HSV123°34.78%54.12%
CMYK34.78%0.00%33.33%
45.88%

Color #5A8A5C in popluar number systems.

HEX5A8A5C
Decimal9013892
Binary1011010100010101011100
Octal132212134

Shades and tints

Shades of #5A8A5C

#5A8A5C
(90,138,92)
#527E54
(82,126,84)
#4A724C
(74,114,76)
#426644
(66,102,68)
#3A5A3C
(58,90,60)
#324E34
(50,78,52)
#2A422C
(42,66,44)
#223624
(34,54,36)
#1A2A1C
(26,42,28)
#121E14
(18,30,20)
#0A120C
(10,18,12)
#000000
(0,0,0)

Tints of #5A8A5C

#5A8A5C
(90,138,92)
#69946A
(105,148,106)
#789E78
(120,158,120)
#87A886
(135,168,134)
#96B294
(150,178,148)
#A5BCA2
(165,188,162)
#B4C6B0
(180,198,176)
#C3D0BE
(195,208,190)
#D2DACC
(210,218,204)
#E1E4DA
(225,228,218)
#F0EEE8
(240,238,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A8A5C; }

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

This text font color is #5A8A5C.


Background Color

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

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

This div background color is #5A8A5C.


Border color

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

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

This div border color is #5A8A5C.


Opacity

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

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

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

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

This text has shadow with #5A8A5C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A8A5C on black background.


Color preview on white background

This text has color #5A8A5C on white background.



Black color preview on #5A8A5C background

This text has black color on #5A8A5C background.


White color preview on #5A8A5C background

This text has white color on #5A8A5C background.