COLOR #5A6040

HEX: #5A6040
RGB: (90,96,64)

Color info

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

RGB color model

#5A6040 color RGB value is (90,96,64).

  • red value is 90;
  • green value is 96;
  • blue value is 64.
RGB:
(90,96,64)
(35%,38%,25%)

RGB channels and saturation

R 90 of 255 = 35%
G 96 of 255 = 38%
B 64 of 255 = 25%

90
96
64

R + G + B ~ 33%. #5A6040 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 96 + 64 = 250 (100%)
R 90 of 250 ~ 36%
G 96 of 250 ~ 38.4%
B 64 of 250 ~ 25.6%

%36
%38.4
%25.6

CMYK color model

#5A6040 color CMYK value is (6,0,33,62).

  • cyan value is 6.25%
  • magenta value is 0.00%
  • yellow value is 33.33%
  • key color value is 62.35%
CMYK:
(6,0,33,62)
C6M0Y33K62 
(6%,0%,33%,62%)
(0.06/0.00/0.33/0.62)	

CMYK percentages

%6.25
%0
%33.33
%62.35

Codes

Color #5A6040 in popluar color models

5A6040
RGB909664
HSL71°20.00%31.37%
HSB/HSV71°33.33%37.65%
CMYK6.25%0.00%33.33%
62.35%

Color #5A6040 in popluar number systems.

HEX5A6040
Decimal909664
Binary101101011000001000000
Octal132140100

Shades and tints

Shades of #5A6040

#5A6040
(90,96,64)
#52583B
(82,88,59)
#4A5036
(74,80,54)
#424831
(66,72,49)
#3A402C
(58,64,44)
#323827
(50,56,39)
#2A3022
(42,48,34)
#22281D
(34,40,29)
#1A2018
(26,32,24)
#121813
(18,24,19)
#0A100E
(10,16,14)
#000000
(0,0,0)

Tints of #5A6040

#5A6040
(90,96,64)
#696E51
(105,110,81)
#787C62
(120,124,98)
#878A73
(135,138,115)
#969884
(150,152,132)
#A5A695
(165,166,149)
#B4B4A6
(180,180,166)
#C3C2B7
(195,194,183)
#D2D0C8
(210,208,200)
#E1DED9
(225,222,217)
#F0ECEA
(240,236,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6040; }

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

This text font color is #5A6040.


Background Color

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

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

This div background color is #5A6040.


Border color

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

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

This div border color is #5A6040.


Opacity

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

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

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

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

This text has shadow with #5A6040 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6040 on black background.


Color preview on white background

This text has color #5A6040 on white background.



Black color preview on #5A6040 background

This text has black color on #5A6040 background.


White color preview on #5A6040 background

This text has white color on #5A6040 background.