COLOR #5A4F38

HEX: #5A4F38
RGB: (90,79,56)

Color info

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

RGB color model

#5A4F38 color RGB value is (90,79,56).

  • red value is 90;
  • green value is 79;
  • blue value is 56.
RGB:
(90,79,56)
(35%,31%,22%)

RGB channels and saturation

R 90 of 255 = 35%
G 79 of 255 = 31%
B 56 of 255 = 22%

90
79
56

R + G + B ~ 29%. #5A4F38 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 79 + 56 = 225 (100%)
R 90 of 225 ~ 40%
G 79 of 225 ~ 35.11%
B 56 of 225 ~ 24.89%

%40
%35.11
%24.89

CMYK color model

#5A4F38 color CMYK value is (0,12,38,65).

  • cyan value is 0.00%
  • magenta value is 12.22%
  • yellow value is 37.78%
  • key color value is 64.71%
CMYK:
(0,12,38,65)
C0M12Y38K65 
(0%,12%,38%,65%)
(0.00/0.12/0.38/0.65)	

CMYK percentages

%0
%12.22
%37.78
%64.71

Codes

Color #5A4F38 in popluar color models

5A4F38
RGB907956
HSL41°23.29%28.63%
HSB/HSV41°37.78%35.29%
CMYK0.00%12.22%37.78%
64.71%

Color #5A4F38 in popluar number systems.

HEX5A4F38
Decimal907956
Binary10110101001111111000
Octal13211770

Shades and tints

Shades of #5A4F38

#5A4F38
(90,79,56)
#524833
(82,72,51)
#4A412E
(74,65,46)
#423A29
(66,58,41)
#3A3324
(58,51,36)
#322C1F
(50,44,31)
#2A251A
(42,37,26)
#221E15
(34,30,21)
#1A1710
(26,23,16)
#12100B
(18,16,11)
#0A0906
(10,9,6)
#000000
(0,0,0)

Tints of #5A4F38

#5A4F38
(90,79,56)
#695F4A
(105,95,74)
#786F5C
(120,111,92)
#877F6E
(135,127,110)
#968F80
(150,143,128)
#A59F92
(165,159,146)
#B4AFA4
(180,175,164)
#C3BFB6
(195,191,182)
#D2CFC8
(210,207,200)
#E1DFDA
(225,223,218)
#F0EFEC
(240,239,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A4F38 color. Also use rgb(90,79,56) instead hex code.

Text Font Color

.myTextColor { color: #5A4F38; }

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

This text font color is #5A4F38.


Background Color

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

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

This div background color is #5A4F38.


Border color

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

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

This div border color is #5A4F38.


Opacity

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

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

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

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

This text has shadow with #5A4F38 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A4F38 on black background.


Color preview on white background

This text has color #5A4F38 on white background.



Black color preview on #5A4F38 background

This text has black color on #5A4F38 background.


White color preview on #5A4F38 background

This text has white color on #5A4F38 background.