COLOR #5A5A30

HEX: #5A5A30 RGB: (90,90,48)

Color info

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

RGB color model

#5A5A30 color RGB value is (90,90,48).

RGB: (90,90,48) (35%, 35%, 19%)

RGB channels and saturation

R 90 of 255 = 35%
G 90 of 255 = 35%
B 48 of 255 = 19%

90
90
48

R + G + B ~ 30%. #5A5A30 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 90 + 48 = 228 (100%)
R 90 of 228 ~ 39.47%
G 90 of 228 ~ 39.47%
B 48 of 228 ~ 21.05'%

%39.47
%39.47
%21.05

CMYK color model

#5A5A30 color CMYK value is (0,0,47,65).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 46.67%
  • key color value is 64.71%

CMYK: (0,0,47,65)
C0M0Y47K65 (0%, 0%, 47%, 65%)
(0.00 / 0.00 / 0.47 / 0.65)

CMYK percentages

%0
%0
%46.67
%64.71

Codes

Color #5A5A30 in popluar color models

5A 5A 30
RGB 90 90 48
HSL 60° 30.43% 27.06%
HSB/HSV 60° 46.67% 35.29%
CMYK 0.00% 0.00% 46.67%
64.71%

Color #5A5A30 in popluar number systems.

HEX 5A 5A 30
Decimal 90 90 48
Binary 1011010 1011010 110000
Octal 132 132 60

Shades and tints

Shades of #5A5A30

#5A5A30
(90,90,48)
#52522C
(82,82,44)
#4A4A28
(74,74,40)
#424224
(66,66,36)
#3A3A20
(58,58,32)
#32321C
(50,50,28)
#2A2A18
(42,42,24)
#222214
(34,34,20)
#1A1A10
(26,26,16)
#12120C
(18,18,12)
#0A0A08
(10,10,8)
#000000
(0,0,0)

Tints of #5A5A30

#5A5A30
(90,90,48)
#696942
(105,105,66)
#787854
(120,120,84)
#878766
(135,135,102)
#969678
(150,150,120)
#A5A58A
(165,165,138)
#B4B49C
(180,180,156)
#C3C3AE
(195,195,174)
#D2D2C0
(210,210,192)
#E1E1D2
(225,225,210)
#F0F0E4
(240,240,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A5A30; }

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

This text font color is #5A5A30.

Background Color

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

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

This div background color is #5A5A30.

Border color

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

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

This div border color is #5A5A30.

Opacity

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

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

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

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

This text has shadow with #5A5A30 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A5A30.

Preview

Color preview on black background

This text has color #5A5A30 on black background.


Color preview on white background

This text has color #5A5A30 on white background.


Black color preview on #5A5A30 background

This text has black color on #5A5A30 background.


White color preview on #5A5A30 background

This text has white color on #5A5A30 background.


Related colors

Complementary color

Complementary color for #hex is #A5A5CF.


I love getcolorcode.com