COLOR #5A785D

HEX: #5A785D RGB: (90,120,93)

Color info

#5A785D contains red, green and blue colors in about the same proportion. Web safe color of #5A785D is #666666 (or #666).

RGB color model

#5A785D color RGB value is (90,120,93).

RGB: (90,120,93) (35%, 47%, 36%)

RGB channels and saturation

R 90 of 255 = 35%
G 120 of 255 = 47%
B 93 of 255 = 36%

90
120
93

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

Portions of RGB colors in percentages

R + G + B = 90 + 120 + 93 = 303 (100%)
R 90 of 303 ~ 29.7%
G 120 of 303 ~ 39.6%
B 93 of 303 ~ 30.69'%

%29.7
%39.6
%30.69

CMYK color model

#5A785D color CMYK value is (25,0,23,53).

  • cyan value is 25.00%
  • magenta value is 0.00%
  • yellow value is 22.50%
  • key color value is 52.94%
CMYK: (25,0,23,53) C25M0Y23K53 (25%,0%,23%,53%) (0.25/0.00/0.23/0.53) 

CMYK percentages

%25
%0
%22.5
%52.94

Codes

Color #5A785D in popluar color models

5A 78 5D
RGB 90 120 93
HSL 126° 14.29% 41.18%
HSB/HSV 126° 25.00% 47.06%
CMYK 25.00% 0.00% 22.50%
52.94%

Color #5A785D in popluar number systems.

HEX 5A 78 5D
Decimal 90 120 93
Binary 1011010 1111000 1011101
Octal 132 170 135

Shades and tints

Shades of #5A785D

#5A785D
(90,120,93)
#526E55
(82,110,85)
#4A644D
(74,100,77)
#425A45
(66,90,69)
#3A503D
(58,80,61)
#324635
(50,70,53)
#2A3C2D
(42,60,45)
#223225
(34,50,37)
#1A281D
(26,40,29)
#121E15
(18,30,21)
#0A140D
(10,20,13)
#000000
(0,0,0)

Tints of #5A785D

#5A785D
(90,120,93)
#69846B
(105,132,107)
#789079
(120,144,121)
#879C87
(135,156,135)
#96A895
(150,168,149)
#A5B4A3
(165,180,163)
#B4C0B1
(180,192,177)
#C3CCBF
(195,204,191)
#D2D8CD
(210,216,205)
#E1E4DB
(225,228,219)
#F0F0E9
(240,240,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A785D color. Also use rgb(90,120,93) instead hex code.

Text Font Color

.myTextColor { color: #5A785D; }

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

This text font color is #5A785D.

Background Color

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

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

This div background color is #5A785D.

Border color

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

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

This div border color is #5A785D.

Opacity

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

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

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

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

This text has shadow with #5A785D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A785D.

Preview

Color preview on black background

This text has color #5A785D on black background.


Color preview on white background

This text has color #5A785D on white background.


Black color preview on #5A785D background

This text has black color on #5A785D background.


White color preview on #5A785D background

This text has white color on #5A785D background.


Related colors

Complementary color

Complementary color for #hex is #A587A2.


I love getcolorcode.com

Triadic colors

1 #5D5A78 and #785D5A with #5A785D are triadic colors.

2 #5D785A and #785A5D with #5A785D are triadic colors.