COLOR #5A7D42

HEX: #5A7D42
RGB: (90,125,66)

Color info

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

RGB color model

#5A7D42 color RGB value is (90,125,66).

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

RGB channels and saturation

R 90 of 255 = 35%
G 125 of 255 = 49%
B 66 of 255 = 26%

90
125
66

R + G + B ~ 37%. #5A7D42 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 125 + 66 = 281 (100%)
R 90 of 281 ~ 32.03%
G 125 of 281 ~ 44.48%
B 66 of 281 ~ 23.49%

%32.03
%44.48
%23.49

CMYK color model

#5A7D42 color CMYK value is (28,0,47,51).

  • cyan value is 28.00%
  • magenta value is 0.00%
  • yellow value is 47.20%
  • key color value is 50.98%
CMYK:
(28,0,47,51)
C28M0Y47K51 
(28%,0%,47%,51%)
(0.28/0.00/0.47/0.51)	

CMYK percentages

%28
%0
%47.2
%50.98

Codes

Color #5A7D42 in popluar color models

5A7D42
RGB9012566
HSL96°30.89%37.45%
HSB/HSV96°47.20%49.02%
CMYK28.00%0.00%47.20%
50.98%

Color #5A7D42 in popluar number systems.

HEX5A7D42
Decimal9012566
Binary101101011111011000010
Octal132175102

Shades and tints

Shades of #5A7D42

#5A7D42
(90,125,66)
#52723C
(82,114,60)
#4A6736
(74,103,54)
#425C30
(66,92,48)
#3A512A
(58,81,42)
#324624
(50,70,36)
#2A3B1E
(42,59,30)
#223018
(34,48,24)
#1A2512
(26,37,18)
#121A0C
(18,26,12)
#0A0F06
(10,15,6)
#000000
(0,0,0)

Tints of #5A7D42

#5A7D42
(90,125,66)
#698853
(105,136,83)
#789364
(120,147,100)
#879E75
(135,158,117)
#96A986
(150,169,134)
#A5B497
(165,180,151)
#B4BFA8
(180,191,168)
#C3CAB9
(195,202,185)
#D2D5CA
(210,213,202)
#E1E0DB
(225,224,219)
#F0EBEC
(240,235,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7D42; }

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

This text font color is #5A7D42.


Background Color

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

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

This div background color is #5A7D42.


Border color

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

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

This div border color is #5A7D42.


Opacity

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

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

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

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

This text has shadow with #5A7D42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7D42 on black background.


Color preview on white background

This text has color #5A7D42 on white background.



Black color preview on #5A7D42 background

This text has black color on #5A7D42 background.


White color preview on #5A7D42 background

This text has white color on #5A7D42 background.