COLOR #5A8540

HEX: #5A8540
RGB: (90,133,64)

Color info

#5A8540 contains mainly red and green colors. Web safe color of #5A8540 is #669933 (or #693).

RGB color model

#5A8540 color RGB value is (90,133,64).

  • red value is 90;
  • green value is 133;
  • blue value is 64.
RGB:
(90,133,64)
(35%,52%,25%)

RGB channels and saturation

R 90 of 255 = 35%
G 133 of 255 = 52%
B 64 of 255 = 25%

90
133
64

R + G + B ~ 37%. #5A8540 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 133 + 64 = 287 (100%)
R 90 of 287 ~ 31.36%
G 133 of 287 ~ 46.34%
B 64 of 287 ~ 22.3%

%31.36
%46.34
%22.3

CMYK color model

#5A8540 color CMYK value is (32,0,52,48).

  • cyan value is 32.33%
  • magenta value is 0.00%
  • yellow value is 51.88%
  • key color value is 47.84%
CMYK:
(32,0,52,48)
C32M0Y52K48 
(32%,0%,52%,48%)
(0.32/0.00/0.52/0.48)	

CMYK percentages

%32.33
%0
%51.88
%47.84

Codes

Color #5A8540 in popluar color models

5A8540
RGB9013364
HSL97°35.03%38.63%
HSB/HSV97°51.88%52.16%
CMYK32.33%0.00%51.88%
47.84%

Color #5A8540 in popluar number systems.

HEX5A8540
Decimal9013364
Binary1011010100001011000000
Octal132205100

Shades and tints

Shades of #5A8540

#5A8540
(90,133,64)
#52793B
(82,121,59)
#4A6D36
(74,109,54)
#426131
(66,97,49)
#3A552C
(58,85,44)
#324927
(50,73,39)
#2A3D22
(42,61,34)
#22311D
(34,49,29)
#1A2518
(26,37,24)
#121913
(18,25,19)
#0A0D0E
(10,13,14)
#000000
(0,0,0)

Tints of #5A8540

#5A8540
(90,133,64)
#699051
(105,144,81)
#789B62
(120,155,98)
#87A673
(135,166,115)
#96B184
(150,177,132)
#A5BC95
(165,188,149)
#B4C7A6
(180,199,166)
#C3D2B7
(195,210,183)
#D2DDC8
(210,221,200)
#E1E8D9
(225,232,217)
#F0F3EA
(240,243,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A8540 color. Also use rgb(90,133,64) instead hex code.

Text Font Color

.myTextColor { color: #5A8540; }

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

This text font color is #5A8540.


Background Color

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

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

This div background color is #5A8540.


Border color

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

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

This div border color is #5A8540.


Opacity

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

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

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

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

This text has shadow with #5A8540 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A8540 on black background.


Color preview on white background

This text has color #5A8540 on white background.



Black color preview on #5A8540 background

This text has black color on #5A8540 background.


White color preview on #5A8540 background

This text has white color on #5A8540 background.