COLOR #5A5B42

HEX: #5A5B42
RGB: (90,91,66)

Color info

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

RGB color model

#5A5B42 color RGB value is (90,91,66).

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

RGB channels and saturation

R 90 of 255 = 35%
G 91 of 255 = 36%
B 66 of 255 = 26%

90
91
66

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

Portions of RGB colors in percentages

R + G + B =
90 + 91 + 66 = 247 (100%)
R 90 of 247 ~ 36.44%
G 91 of 247 ~ 36.84%
B 66 of 247 ~ 26.72%

%36.44
%36.84
%26.72

CMYK color model

#5A5B42 color CMYK value is (1,0,27,64).

  • cyan value is 1.10%
  • magenta value is 0.00%
  • yellow value is 27.47%
  • key color value is 64.31%
CMYK:
(1,0,27,64)
C1M0Y27K64 
(1%,0%,27%,64%)
(0.01/0.00/0.27/0.64)	

CMYK percentages

%1.1
%0
%27.47
%64.31

Codes

Color #5A5B42 in popluar color models

5A5B42
RGB909166
HSL62°15.92%30.78%
HSB/HSV62°27.47%35.69%
CMYK1.10%0.00%27.47%
64.31%

Color #5A5B42 in popluar number systems.

HEX5A5B42
Decimal909166
Binary101101010110111000010
Octal132133102

Shades and tints

Shades of #5A5B42

#5A5B42
(90,91,66)
#52533C
(82,83,60)
#4A4B36
(74,75,54)
#424330
(66,67,48)
#3A3B2A
(58,59,42)
#323324
(50,51,36)
#2A2B1E
(42,43,30)
#222318
(34,35,24)
#1A1B12
(26,27,18)
#12130C
(18,19,12)
#0A0B06
(10,11,6)
#000000
(0,0,0)

Tints of #5A5B42

#5A5B42
(90,91,66)
#696953
(105,105,83)
#787764
(120,119,100)
#878575
(135,133,117)
#969386
(150,147,134)
#A5A197
(165,161,151)
#B4AFA8
(180,175,168)
#C3BDB9
(195,189,185)
#D2CBCA
(210,203,202)
#E1D9DB
(225,217,219)
#F0E7EC
(240,231,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A5B42; }

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

This text font color is #5A5B42.


Background Color

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

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

This div background color is #5A5B42.


Border color

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

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

This div border color is #5A5B42.


Opacity

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

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

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

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

This text has shadow with #5A5B42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5B42 on black background.


Color preview on white background

This text has color #5A5B42 on white background.



Black color preview on #5A5B42 background

This text has black color on #5A5B42 background.


White color preview on #5A5B42 background

This text has white color on #5A5B42 background.