COLOR #5A9937

HEX: #5A9937
RGB: (90,153,55)

Color info

#5A9937 contains mainly green color. Web safe color of #5A9937 is #669933 (or #693).

RGB color model

#5A9937 color RGB value is (90,153,55).

  • red value is 90;
  • green value is 153;
  • blue value is 55.
RGB:
(90,153,55)
(35%,60%,22%)

RGB channels and saturation

R 90 of 255 = 35%
G 153 of 255 = 60%
B 55 of 255 = 22%

90
153
55

R + G + B ~ 39%. #5A9937 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 153 + 55 = 298 (100%)
R 90 of 298 ~ 30.2%
G 153 of 298 ~ 51.34%
B 55 of 298 ~ 18.46%

%30.2
%51.34
%18.46

CMYK color model

#5A9937 color CMYK value is (41,0,64,40).

  • cyan value is 41.18%
  • magenta value is 0.00%
  • yellow value is 64.05%
  • key color value is 40.00%
CMYK:
(41,0,64,40)
C41M0Y64K40 
(41%,0%,64%,40%)
(0.41/0.00/0.64/0.40)	

CMYK percentages

%41.18
%0
%64.05
%40

Codes

Color #5A9937 in popluar color models

5A9937
RGB9015355
HSL99°47.12%40.78%
HSB/HSV99°64.05%60.00%
CMYK41.18%0.00%64.05%
40.00%

Color #5A9937 in popluar number systems.

HEX5A9937
Decimal9015355
Binary101101010011001110111
Octal13223167

Shades and tints

Shades of #5A9937

#5A9937
(90,153,55)
#528C32
(82,140,50)
#4A7F2D
(74,127,45)
#427228
(66,114,40)
#3A6523
(58,101,35)
#32581E
(50,88,30)
#2A4B19
(42,75,25)
#223E14
(34,62,20)
#1A310F
(26,49,15)
#12240A
(18,36,10)
#0A1705
(10,23,5)
#000000
(0,0,0)

Tints of #5A9937

#5A9937
(90,153,55)
#69A249
(105,162,73)
#78AB5B
(120,171,91)
#87B46D
(135,180,109)
#96BD7F
(150,189,127)
#A5C691
(165,198,145)
#B4CFA3
(180,207,163)
#C3D8B5
(195,216,181)
#D2E1C7
(210,225,199)
#E1EAD9
(225,234,217)
#F0F3EB
(240,243,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A9937 color. Also use rgb(90,153,55) instead hex code.

Text Font Color

.myTextColor { color: #5A9937; }

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

This text font color is #5A9937.


Background Color

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

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

This div background color is #5A9937.


Border color

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

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

This div border color is #5A9937.


Opacity

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

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

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

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

This text has shadow with #5A9937 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A9937 on black background.


Color preview on white background

This text has color #5A9937 on white background.



Black color preview on #5A9937 background

This text has black color on #5A9937 background.


White color preview on #5A9937 background

This text has white color on #5A9937 background.