COLOR #5A8C5C

HEX: #5A8C5C
RGB: (90,140,92)

Color info

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

RGB color model

#5A8C5C color RGB value is (90,140,92).

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

RGB channels and saturation

R 90 of 255 = 35%
G 140 of 255 = 55%
B 92 of 255 = 36%

90
140
92

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

Portions of RGB colors in percentages

R + G + B =
90 + 140 + 92 = 322 (100%)
R 90 of 322 ~ 27.95%
G 140 of 322 ~ 43.48%
B 92 of 322 ~ 28.57%

%27.95
%43.48
%28.57

CMYK color model

#5A8C5C color CMYK value is (36,0,34,45).

  • cyan value is 35.71%
  • magenta value is 0.00%
  • yellow value is 34.29%
  • key color value is 45.10%
CMYK:
(36,0,34,45)
C36M0Y34K45 
(36%,0%,34%,45%)
(0.36/0.00/0.34/0.45)	

CMYK percentages

%35.71
%0
%34.29
%45.1

Codes

Color #5A8C5C in popluar color models

5A8C5C
RGB9014092
HSL122°21.74%45.10%
HSB/HSV122°35.71%54.90%
CMYK35.71%0.00%34.29%
45.10%

Color #5A8C5C in popluar number systems.

HEX5A8C5C
Decimal9014092
Binary1011010100011001011100
Octal132214134

Shades and tints

Shades of #5A8C5C

#5A8C5C
(90,140,92)
#528054
(82,128,84)
#4A744C
(74,116,76)
#426844
(66,104,68)
#3A5C3C
(58,92,60)
#325034
(50,80,52)
#2A442C
(42,68,44)
#223824
(34,56,36)
#1A2C1C
(26,44,28)
#122014
(18,32,20)
#0A140C
(10,20,12)
#000000
(0,0,0)

Tints of #5A8C5C

#5A8C5C
(90,140,92)
#69966A
(105,150,106)
#78A078
(120,160,120)
#87AA86
(135,170,134)
#96B494
(150,180,148)
#A5BEA2
(165,190,162)
#B4C8B0
(180,200,176)
#C3D2BE
(195,210,190)
#D2DCCC
(210,220,204)
#E1E6DA
(225,230,218)
#F0F0E8
(240,240,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A8C5C; }

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

This text font color is #5A8C5C.


Background Color

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

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

This div background color is #5A8C5C.


Border color

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

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

This div border color is #5A8C5C.


Opacity

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

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

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

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

This text has shadow with #5A8C5C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A8C5C on black background.


Color preview on white background

This text has color #5A8C5C on white background.



Black color preview on #5A8C5C background

This text has black color on #5A8C5C background.


White color preview on #5A8C5C background

This text has white color on #5A8C5C background.