COLOR #5A7240

HEX: #5A7240 RGB: (90,114,64)

Color info

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

RGB color model

#5A7240 color RGB value is (90,114,64).

RGB: (90,114,64) (35%, 45%, 25%)

RGB channels and saturation

R 90 of 255 = 35%
G 114 of 255 = 45%
B 64 of 255 = 25%

90
114
64

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

Portions of RGB colors in percentages

R + G + B = 90 + 114 + 64 = 268 (100%)
R 90 of 268 ~ 33.58%
G 114 of 268 ~ 42.54%
B 64 of 268 ~ 23.88'%

%33.58
%42.54
%23.88

CMYK color model

#5A7240 color CMYK value is (21,0,44,55).

  • cyan value is 21.05%
  • magenta value is 0.00%
  • yellow value is 43.86%
  • key color value is 55.29%

CMYK: (21,0,44,55)
C21M0Y44K55 (21%, 0%, 44%, 55%)
(0.21 / 0.00 / 0.44 / 0.55)

CMYK percentages

%21.05
%0
%43.86
%55.29

Codes

Color #5A7240 in popluar color models

5A 72 40
RGB 90 114 64
HSL 89° 28.09% 34.90%
HSB/HSV 89° 43.86% 44.71%
CMYK 21.05% 0.00% 43.86%
55.29%

Color #5A7240 in popluar number systems.

HEX 5A 72 40
Decimal 90 114 64
Binary 1011010 1110010 1000000
Octal 132 162 100

Shades and tints

Shades of #5A7240

#5A7240
(90,114,64)
#52683B
(82,104,59)
#4A5E36
(74,94,54)
#425431
(66,84,49)
#3A4A2C
(58,74,44)
#324027
(50,64,39)
#2A3622
(42,54,34)
#222C1D
(34,44,29)
#1A2218
(26,34,24)
#121813
(18,24,19)
#0A0E0E
(10,14,14)
#000000
(0,0,0)

Tints of #5A7240

#5A7240
(90,114,64)
#697E51
(105,126,81)
#788A62
(120,138,98)
#879673
(135,150,115)
#96A284
(150,162,132)
#A5AE95
(165,174,149)
#B4BAA6
(180,186,166)
#C3C6B7
(195,198,183)
#D2D2C8
(210,210,200)
#E1DED9
(225,222,217)
#F0EAEA
(240,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7240; }

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

This text font color is #5A7240.

Background Color

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

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

This div background color is #5A7240.

Border color

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

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

This div border color is #5A7240.

Opacity

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

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

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

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

This text has shadow with #5A7240 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A7240.

Preview

Color preview on black background

This text has color #5A7240 on black background.


Color preview on white background

This text has color #5A7240 on white background.


Black color preview on #5A7240 background

This text has black color on #5A7240 background.


White color preview on #5A7240 background

This text has white color on #5A7240 background.


Related colors

Complementary color

Complementary color for #hex is #A58DBF.


I love getcolorcode.com

Triadic colors

1 #405A72 and #72405A with #5A7240 are triadic colors.

2 #40725A and #725A40 with #5A7240 are triadic colors.