COLOR #5A5946

HEX: #5A5946
RGB: (90,89,70)

Color info

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

RGB color model

#5A5946 color RGB value is (90,89,70).

  • red value is 90;
  • green value is 89;
  • blue value is 70.
RGB:
(90,89,70)
(35%,35%,27%)

RGB channels and saturation

R 90 of 255 = 35%
G 89 of 255 = 35%
B 70 of 255 = 27%

90
89
70

R + G + B ~ 32%. #5A5946 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 89 + 70 = 249 (100%)
R 90 of 249 ~ 36.14%
G 89 of 249 ~ 35.74%
B 70 of 249 ~ 28.11%

%36.14
%35.74
%28.11

CMYK color model

#5A5946 color CMYK value is (0,1,22,65).

  • cyan value is 0.00%
  • magenta value is 1.11%
  • yellow value is 22.22%
  • key color value is 64.71%
CMYK:
(0,1,22,65)
C0M1Y22K65 
(0%,1%,22%,65%)
(0.00/0.01/0.22/0.65)	

CMYK percentages

%0
%1.11
%22.22
%64.71

Codes

Color #5A5946 in popluar color models

5A5946
RGB908970
HSL57°12.50%31.37%
HSB/HSV57°22.22%35.29%
CMYK0.00%1.11%22.22%
64.71%

Color #5A5946 in popluar number systems.

HEX5A5946
Decimal908970
Binary101101010110011000110
Octal132131106

Shades and tints

Shades of #5A5946

#5A5946
(90,89,70)
#525140
(82,81,64)
#4A493A
(74,73,58)
#424134
(66,65,52)
#3A392E
(58,57,46)
#323128
(50,49,40)
#2A2922
(42,41,34)
#22211C
(34,33,28)
#1A1916
(26,25,22)
#121110
(18,17,16)
#0A090A
(10,9,10)
#000000
(0,0,0)

Tints of #5A5946

#5A5946
(90,89,70)
#696856
(105,104,86)
#787766
(120,119,102)
#878676
(135,134,118)
#969586
(150,149,134)
#A5A496
(165,164,150)
#B4B3A6
(180,179,166)
#C3C2B6
(195,194,182)
#D2D1C6
(210,209,198)
#E1E0D6
(225,224,214)
#F0EFE6
(240,239,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A5946 color. Also use rgb(90,89,70) instead hex code.

Text Font Color

.myTextColor { color: #5A5946; }

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

This text font color is #5A5946.


Background Color

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

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

This div background color is #5A5946.


Border color

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

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

This div border color is #5A5946.


Opacity

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

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

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

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

This text has shadow with #5A5946 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5946 on black background.


Color preview on white background

This text has color #5A5946 on white background.



Black color preview on #5A5946 background

This text has black color on #5A5946 background.


White color preview on #5A5946 background

This text has white color on #5A5946 background.