COLOR #5A8152

HEX: #5A8152
RGB: (90,129,82)

Color info

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

RGB color model

#5A8152 color RGB value is (90,129,82).

  • red value is 90;
  • green value is 129;
  • blue value is 82.
RGB:
(90,129,82)
(35%,51%,32%)

RGB channels and saturation

R 90 of 255 = 35%
G 129 of 255 = 51%
B 82 of 255 = 32%

90
129
82

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

Portions of RGB colors in percentages

R + G + B =
90 + 129 + 82 = 301 (100%)
R 90 of 301 ~ 29.9%
G 129 of 301 ~ 42.86%
B 82 of 301 ~ 27.24%

%29.9
%42.86
%27.24

CMYK color model

#5A8152 color CMYK value is (30,0,36,49).

  • cyan value is 30.23%
  • magenta value is 0.00%
  • yellow value is 36.43%
  • key color value is 49.41%
CMYK:
(30,0,36,49)
C30M0Y36K49 
(30%,0%,36%,49%)
(0.30/0.00/0.36/0.49)	

CMYK percentages

%30.23
%0
%36.43
%49.41

Codes

Color #5A8152 in popluar color models

5A8152
RGB9012982
HSL110°22.27%41.37%
HSB/HSV110°36.43%50.59%
CMYK30.23%0.00%36.43%
49.41%

Color #5A8152 in popluar number systems.

HEX5A8152
Decimal9012982
Binary1011010100000011010010
Octal132201122

Shades and tints

Shades of #5A8152

#5A8152
(90,129,82)
#52764B
(82,118,75)
#4A6B44
(74,107,68)
#42603D
(66,96,61)
#3A5536
(58,85,54)
#324A2F
(50,74,47)
#2A3F28
(42,63,40)
#223421
(34,52,33)
#1A291A
(26,41,26)
#121E13
(18,30,19)
#0A130C
(10,19,12)
#000000
(0,0,0)

Tints of #5A8152

#5A8152
(90,129,82)
#698C61
(105,140,97)
#789770
(120,151,112)
#87A27F
(135,162,127)
#96AD8E
(150,173,142)
#A5B89D
(165,184,157)
#B4C3AC
(180,195,172)
#C3CEBB
(195,206,187)
#D2D9CA
(210,217,202)
#E1E4D9
(225,228,217)
#F0EFE8
(240,239,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A8152 color. Also use rgb(90,129,82) instead hex code.

Text Font Color

.myTextColor { color: #5A8152; }

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

This text font color is #5A8152.


Background Color

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

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

This div background color is #5A8152.


Border color

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

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

This div border color is #5A8152.


Opacity

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

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

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

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

This text has shadow with #5A8152 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A8152 on black background.


Color preview on white background

This text has color #5A8152 on white background.



Black color preview on #5A8152 background

This text has black color on #5A8152 background.


White color preview on #5A8152 background

This text has white color on #5A8152 background.