COLOR #5A8B51

HEX: #5A8B51
RGB: (90,139,81)

Color info

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

RGB color model

#5A8B51 color RGB value is (90,139,81).

  • red value is 90;
  • green value is 139;
  • blue value is 81.
RGB:
(90,139,81)
(35%,55%,32%)

RGB channels and saturation

R 90 of 255 = 35%
G 139 of 255 = 55%
B 81 of 255 = 32%

90
139
81

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

Portions of RGB colors in percentages

R + G + B =
90 + 139 + 81 = 310 (100%)
R 90 of 310 ~ 29.03%
G 139 of 310 ~ 44.84%
B 81 of 310 ~ 26.13%

%29.03
%44.84
%26.13

CMYK color model

#5A8B51 color CMYK value is (35,0,42,45).

  • cyan value is 35.25%
  • magenta value is 0.00%
  • yellow value is 41.73%
  • key color value is 45.49%
CMYK:
(35,0,42,45)
C35M0Y42K45 
(35%,0%,42%,45%)
(0.35/0.00/0.42/0.45)	

CMYK percentages

%35.25
%0
%41.73
%45.49

Codes

Color #5A8B51 in popluar color models

5A8B51
RGB9013981
HSL111°26.36%43.14%
HSB/HSV111°41.73%54.51%
CMYK35.25%0.00%41.73%
45.49%

Color #5A8B51 in popluar number systems.

HEX5A8B51
Decimal9013981
Binary1011010100010111010001
Octal132213121

Shades and tints

Shades of #5A8B51

#5A8B51
(90,139,81)
#527F4A
(82,127,74)
#4A7343
(74,115,67)
#42673C
(66,103,60)
#3A5B35
(58,91,53)
#324F2E
(50,79,46)
#2A4327
(42,67,39)
#223720
(34,55,32)
#1A2B19
(26,43,25)
#121F12
(18,31,18)
#0A130B
(10,19,11)
#000000
(0,0,0)

Tints of #5A8B51

#5A8B51
(90,139,81)
#699560
(105,149,96)
#789F6F
(120,159,111)
#87A97E
(135,169,126)
#96B38D
(150,179,141)
#A5BD9C
(165,189,156)
#B4C7AB
(180,199,171)
#C3D1BA
(195,209,186)
#D2DBC9
(210,219,201)
#E1E5D8
(225,229,216)
#F0EFE7
(240,239,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A8B51 color. Also use rgb(90,139,81) instead hex code.

Text Font Color

.myTextColor { color: #5A8B51; }

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

This text font color is #5A8B51.


Background Color

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

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

This div background color is #5A8B51.


Border color

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

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

This div border color is #5A8B51.


Opacity

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

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

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

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

This text has shadow with #5A8B51 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A8B51 on black background.


Color preview on white background

This text has color #5A8B51 on white background.



Black color preview on #5A8B51 background

This text has black color on #5A8B51 background.


White color preview on #5A8B51 background

This text has white color on #5A8B51 background.