COLOR #5A4228

HEX: #5A4228
RGB: (90,66,40)

Color info

#5A4228 contains red, green and blue colors in about the same proportion. Web safe color of #5A4228 is #663333 (or #633).

RGB color model

#5A4228 color RGB value is (90,66,40).

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

RGB channels and saturation

R 90 of 255 = 35%
G 66 of 255 = 26%
B 40 of 255 = 16%

90
66
40

R + G + B ~ 26%. #5A4228 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 66 + 40 = 196 (100%)
R 90 of 196 ~ 45.92%
G 66 of 196 ~ 33.67%
B 40 of 196 ~ 20.41%

%45.92
%33.67
%20.41

CMYK color model

#5A4228 color CMYK value is (0,27,56,65).

  • cyan value is 0.00%
  • magenta value is 26.67%
  • yellow value is 55.56%
  • key color value is 64.71%
CMYK:
(0,27,56,65)
C0M27Y56K65 
(0%,27%,56%,65%)
(0.00/0.27/0.56/0.65)	

CMYK percentages

%0
%26.67
%55.56
%64.71

Codes

Color #5A4228 in popluar color models

5A4228
RGB906640
HSL31°38.46%25.49%
HSB/HSV31°55.56%35.29%
CMYK0.00%26.67%55.56%
64.71%

Color #5A4228 in popluar number systems.

HEX5A4228
Decimal906640
Binary10110101000010101000
Octal13210250

Shades and tints

Shades of #5A4228

#5A4228
(90,66,40)
#523C25
(82,60,37)
#4A3622
(74,54,34)
#42301F
(66,48,31)
#3A2A1C
(58,42,28)
#322419
(50,36,25)
#2A1E16
(42,30,22)
#221813
(34,24,19)
#1A1210
(26,18,16)
#120C0D
(18,12,13)
#0A060A
(10,6,10)
#000000
(0,0,0)

Tints of #5A4228

#5A4228
(90,66,40)
#69533B
(105,83,59)
#78644E
(120,100,78)
#877561
(135,117,97)
#968674
(150,134,116)
#A59787
(165,151,135)
#B4A89A
(180,168,154)
#C3B9AD
(195,185,173)
#D2CAC0
(210,202,192)
#E1DBD3
(225,219,211)
#F0ECE6
(240,236,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A4228; }

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

This text font color is #5A4228.


Background Color

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

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

This div background color is #5A4228.


Border color

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

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

This div border color is #5A4228.


Opacity

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

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

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

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

This text has shadow with #5A4228 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A4228 on black background.


Color preview on white background

This text has color #5A4228 on white background.



Black color preview on #5A4228 background

This text has black color on #5A4228 background.


White color preview on #5A4228 background

This text has white color on #5A4228 background.