COLOR #5A842E

HEX: #5A842E
RGB: (90,132,46)

Color info

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

RGB color model

#5A842E color RGB value is (90,132,46).

  • red value is 90;
  • green value is 132;
  • blue value is 46.
RGB:
(90,132,46)
(35%,52%,18%)

RGB channels and saturation

R 90 of 255 = 35%
G 132 of 255 = 52%
B 46 of 255 = 18%

90
132
46

R + G + B ~ 35%. #5A842E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 132 + 46 = 268 (100%)
R 90 of 268 ~ 33.58%
G 132 of 268 ~ 49.25%
B 46 of 268 ~ 17.16%

%33.58
%49.25
%17.16

CMYK color model

#5A842E color CMYK value is (32,0,65,48).

  • cyan value is 31.82%
  • magenta value is 0.00%
  • yellow value is 65.15%
  • key color value is 48.24%
CMYK:
(32,0,65,48)
C32M0Y65K48 
(32%,0%,65%,48%)
(0.32/0.00/0.65/0.48)	

CMYK percentages

%31.82
%0
%65.15
%48.24

Codes

Color #5A842E in popluar color models

5A842E
RGB9013246
HSL89°48.31%34.90%
HSB/HSV89°65.15%51.76%
CMYK31.82%0.00%65.15%
48.24%

Color #5A842E in popluar number systems.

HEX5A842E
Decimal9013246
Binary101101010000100101110
Octal13220456

Shades and tints

Shades of #5A842E

#5A842E
(90,132,46)
#52782A
(82,120,42)
#4A6C26
(74,108,38)
#426022
(66,96,34)
#3A541E
(58,84,30)
#32481A
(50,72,26)
#2A3C16
(42,60,22)
#223012
(34,48,18)
#1A240E
(26,36,14)
#12180A
(18,24,10)
#0A0C06
(10,12,6)
#000000
(0,0,0)

Tints of #5A842E

#5A842E
(90,132,46)
#698F41
(105,143,65)
#789A54
(120,154,84)
#87A567
(135,165,103)
#96B07A
(150,176,122)
#A5BB8D
(165,187,141)
#B4C6A0
(180,198,160)
#C3D1B3
(195,209,179)
#D2DCC6
(210,220,198)
#E1E7D9
(225,231,217)
#F0F2EC
(240,242,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A842E color. Also use rgb(90,132,46) instead hex code.

Text Font Color

.myTextColor { color: #5A842E; }

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

This text font color is #5A842E.


Background Color

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

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

This div background color is #5A842E.


Border color

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

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

This div border color is #5A842E.


Opacity

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

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

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

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

This text has shadow with #5A842E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A842E on black background.


Color preview on white background

This text has color #5A842E on white background.



Black color preview on #5A842E background

This text has black color on #5A842E background.


White color preview on #5A842E background

This text has white color on #5A842E background.