COLOR #5A5038

HEX: #5A5038
RGB: (90,80,56)

Color info

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

RGB color model

#5A5038 color RGB value is (90,80,56).

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

RGB channels and saturation

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

90
80
56

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

Portions of RGB colors in percentages

R + G + B =
90 + 80 + 56 = 226 (100%)
R 90 of 226 ~ 39.82%
G 80 of 226 ~ 35.4%
B 56 of 226 ~ 24.78%

%39.82
%35.4
%24.78

CMYK color model

#5A5038 color CMYK value is (0,11,38,65).

  • cyan value is 0.00%
  • magenta value is 11.11%
  • yellow value is 37.78%
  • key color value is 64.71%
CMYK:
(0,11,38,65)
C0M11Y38K65 
(0%,11%,38%,65%)
(0.00/0.11/0.38/0.65)	

CMYK percentages

%0
%11.11
%37.78
%64.71

Codes

Color #5A5038 in popluar color models

5A5038
RGB908056
HSL42°23.29%28.63%
HSB/HSV42°37.78%35.29%
CMYK0.00%11.11%37.78%
64.71%

Color #5A5038 in popluar number systems.

HEX5A5038
Decimal908056
Binary10110101010000111000
Octal13212070

Shades and tints

Shades of #5A5038

#5A5038
(90,80,56)
#524933
(82,73,51)
#4A422E
(74,66,46)
#423B29
(66,59,41)
#3A3424
(58,52,36)
#322D1F
(50,45,31)
#2A261A
(42,38,26)
#221F15
(34,31,21)
#1A1810
(26,24,16)
#12110B
(18,17,11)
#0A0A06
(10,10,6)
#000000
(0,0,0)

Tints of #5A5038

#5A5038
(90,80,56)
#695F4A
(105,95,74)
#786E5C
(120,110,92)
#877D6E
(135,125,110)
#968C80
(150,140,128)
#A59B92
(165,155,146)
#B4AAA4
(180,170,164)
#C3B9B6
(195,185,182)
#D2C8C8
(210,200,200)
#E1D7DA
(225,215,218)
#F0E6EC
(240,230,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A5038; }

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

This text font color is #5A5038.


Background Color

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

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

This div background color is #5A5038.


Border color

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

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

This div border color is #5A5038.


Opacity

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

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

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

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

This text has shadow with #5A5038 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5038 on black background.


Color preview on white background

This text has color #5A5038 on white background.



Black color preview on #5A5038 background

This text has black color on #5A5038 background.


White color preview on #5A5038 background

This text has white color on #5A5038 background.