COLOR #5A7342

HEX: #5A7342
RGB: (90,115,66)

Color info

#5A7342 contains red, green and blue colors in about the same proportion. Web safe color of #5A7342 is #666633 (or #663).

RGB color model

#5A7342 color RGB value is (90,115,66).

  • red value is 90;
  • green value is 115;
  • blue value is 66.
RGB:
(90,115,66)
(35%,45%,26%)

RGB channels and saturation

R 90 of 255 = 35%
G 115 of 255 = 45%
B 66 of 255 = 26%

90
115
66

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

Portions of RGB colors in percentages

R + G + B =
90 + 115 + 66 = 271 (100%)
R 90 of 271 ~ 33.21%
G 115 of 271 ~ 42.44%
B 66 of 271 ~ 24.35%

%33.21
%42.44
%24.35

CMYK color model

#5A7342 color CMYK value is (22,0,43,55).

  • cyan value is 21.74%
  • magenta value is 0.00%
  • yellow value is 42.61%
  • key color value is 54.90%
CMYK:
(22,0,43,55)
C22M0Y43K55 
(22%,0%,43%,55%)
(0.22/0.00/0.43/0.55)	

CMYK percentages

%21.74
%0
%42.61
%54.9

Codes

Color #5A7342 in popluar color models

5A7342
RGB9011566
HSL91°27.07%35.49%
HSB/HSV91°42.61%45.10%
CMYK21.74%0.00%42.61%
54.90%

Color #5A7342 in popluar number systems.

HEX5A7342
Decimal9011566
Binary101101011100111000010
Octal132163102

Shades and tints

Shades of #5A7342

#5A7342
(90,115,66)
#52693C
(82,105,60)
#4A5F36
(74,95,54)
#425530
(66,85,48)
#3A4B2A
(58,75,42)
#324124
(50,65,36)
#2A371E
(42,55,30)
#222D18
(34,45,24)
#1A2312
(26,35,18)
#12190C
(18,25,12)
#0A0F06
(10,15,6)
#000000
(0,0,0)

Tints of #5A7342

#5A7342
(90,115,66)
#697F53
(105,127,83)
#788B64
(120,139,100)
#879775
(135,151,117)
#96A386
(150,163,134)
#A5AF97
(165,175,151)
#B4BBA8
(180,187,168)
#C3C7B9
(195,199,185)
#D2D3CA
(210,211,202)
#E1DFDB
(225,223,219)
#F0EBEC
(240,235,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A7342 color. Also use rgb(90,115,66) instead hex code.

Text Font Color

.myTextColor { color: #5A7342; }

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

This text font color is #5A7342.


Background Color

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

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

This div background color is #5A7342.


Border color

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

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

This div border color is #5A7342.


Opacity

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

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

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

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

This text has shadow with #5A7342 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7342 on black background.


Color preview on white background

This text has color #5A7342 on white background.



Black color preview on #5A7342 background

This text has black color on #5A7342 background.


White color preview on #5A7342 background

This text has white color on #5A7342 background.