COLOR #5A5242

HEX: #5A5242
RGB: (90,82,66)

Color info

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

RGB color model

#5A5242 color RGB value is (90,82,66).

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

RGB channels and saturation

R 90 of 255 = 35%
G 82 of 255 = 32%
B 66 of 255 = 26%

90
82
66

R + G + B ~ 31%. #5A5242 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 82 + 66 = 238 (100%)
R 90 of 238 ~ 37.82%
G 82 of 238 ~ 34.45%
B 66 of 238 ~ 27.73%

%37.82
%34.45
%27.73

CMYK color model

#5A5242 color CMYK value is (0,9,27,65).

  • cyan value is 0.00%
  • magenta value is 8.89%
  • yellow value is 26.67%
  • key color value is 64.71%
CMYK:
(0,9,27,65)
C0M9Y27K65 
(0%,9%,27%,65%)
(0.00/0.09/0.27/0.65)	

CMYK percentages

%0
%8.89
%26.67
%64.71

Codes

Color #5A5242 in popluar color models

5A5242
RGB908266
HSL40°15.38%30.59%
HSB/HSV40°26.67%35.29%
CMYK0.00%8.89%26.67%
64.71%

Color #5A5242 in popluar number systems.

HEX5A5242
Decimal908266
Binary101101010100101000010
Octal132122102

Shades and tints

Shades of #5A5242

#5A5242
(90,82,66)
#524B3C
(82,75,60)
#4A4436
(74,68,54)
#423D30
(66,61,48)
#3A362A
(58,54,42)
#322F24
(50,47,36)
#2A281E
(42,40,30)
#222118
(34,33,24)
#1A1A12
(26,26,18)
#12130C
(18,19,12)
#0A0C06
(10,12,6)
#000000
(0,0,0)

Tints of #5A5242

#5A5242
(90,82,66)
#696153
(105,97,83)
#787064
(120,112,100)
#877F75
(135,127,117)
#968E86
(150,142,134)
#A59D97
(165,157,151)
#B4ACA8
(180,172,168)
#C3BBB9
(195,187,185)
#D2CACA
(210,202,202)
#E1D9DB
(225,217,219)
#F0E8EC
(240,232,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A5242; }

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

This text font color is #5A5242.


Background Color

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

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

This div background color is #5A5242.


Border color

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

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

This div border color is #5A5242.


Opacity

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

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

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

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

This text has shadow with #5A5242 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5242 on black background.


Color preview on white background

This text has color #5A5242 on white background.



Black color preview on #5A5242 background

This text has black color on #5A5242 background.


White color preview on #5A5242 background

This text has white color on #5A5242 background.