COLOR #5A502A

HEX: #5A502A
RGB: (90,80,42)

Color info

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

RGB color model

#5A502A color RGB value is (90,80,42).

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

RGB channels and saturation

R 90 of 255 = 35%
G 80 of 255 = 31%
B 42 of 255 = 16%

90
80
42

R + G + B ~ 27%. #5A502A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 80 + 42 = 212 (100%)
R 90 of 212 ~ 42.45%
G 80 of 212 ~ 37.74%
B 42 of 212 ~ 19.81%

%42.45
%37.74
%19.81

CMYK color model

#5A502A color CMYK value is (0,11,53,65).

  • cyan value is 0.00%
  • magenta value is 11.11%
  • yellow value is 53.33%
  • key color value is 64.71%
CMYK:
(0,11,53,65)
C0M11Y53K65 
(0%,11%,53%,65%)
(0.00/0.11/0.53/0.65)	

CMYK percentages

%0
%11.11
%53.33
%64.71

Codes

Color #5A502A in popluar color models

5A502A
RGB908042
HSL48°36.36%25.88%
HSB/HSV48°53.33%35.29%
CMYK0.00%11.11%53.33%
64.71%

Color #5A502A in popluar number systems.

HEX5A502A
Decimal908042
Binary10110101010000101010
Octal13212052

Shades and tints

Shades of #5A502A

#5A502A
(90,80,42)
#524927
(82,73,39)
#4A4224
(74,66,36)
#423B21
(66,59,33)
#3A341E
(58,52,30)
#322D1B
(50,45,27)
#2A2618
(42,38,24)
#221F15
(34,31,21)
#1A1812
(26,24,18)
#12110F
(18,17,15)
#0A0A0C
(10,10,12)
#000000
(0,0,0)

Tints of #5A502A

#5A502A
(90,80,42)
#695F3D
(105,95,61)
#786E50
(120,110,80)
#877D63
(135,125,99)
#968C76
(150,140,118)
#A59B89
(165,155,137)
#B4AA9C
(180,170,156)
#C3B9AF
(195,185,175)
#D2C8C2
(210,200,194)
#E1D7D5
(225,215,213)
#F0E6E8
(240,230,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A502A; }

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

This text font color is #5A502A.


Background Color

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

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

This div background color is #5A502A.


Border color

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

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

This div border color is #5A502A.


Opacity

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

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

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

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

This text has shadow with #5A502A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A502A on black background.


Color preview on white background

This text has color #5A502A on white background.



Black color preview on #5A502A background

This text has black color on #5A502A background.


White color preview on #5A502A background

This text has white color on #5A502A background.