COLOR #5A6A38

HEX: #5A6A38
RGB: (90,106,56)

Color info

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

RGB color model

#5A6A38 color RGB value is (90,106,56).

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

RGB channels and saturation

R 90 of 255 = 35%
G 106 of 255 = 42%
B 56 of 255 = 22%

90
106
56

R + G + B ~ 33%. #5A6A38 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 106 + 56 = 252 (100%)
R 90 of 252 ~ 35.71%
G 106 of 252 ~ 42.06%
B 56 of 252 ~ 22.22%

%35.71
%42.06
%22.22

CMYK color model

#5A6A38 color CMYK value is (15,0,47,58).

  • cyan value is 15.09%
  • magenta value is 0.00%
  • yellow value is 47.17%
  • key color value is 58.43%
CMYK:
(15,0,47,58)
C15M0Y47K58 
(15%,0%,47%,58%)
(0.15/0.00/0.47/0.58)	

CMYK percentages

%15.09
%0
%47.17
%58.43

Codes

Color #5A6A38 in popluar color models

5A6A38
RGB9010656
HSL79°30.86%31.76%
HSB/HSV79°47.17%41.57%
CMYK15.09%0.00%47.17%
58.43%

Color #5A6A38 in popluar number systems.

HEX5A6A38
Decimal9010656
Binary10110101101010111000
Octal13215270

Shades and tints

Shades of #5A6A38

#5A6A38
(90,106,56)
#526133
(82,97,51)
#4A582E
(74,88,46)
#424F29
(66,79,41)
#3A4624
(58,70,36)
#323D1F
(50,61,31)
#2A341A
(42,52,26)
#222B15
(34,43,21)
#1A2210
(26,34,16)
#12190B
(18,25,11)
#0A1006
(10,16,6)
#000000
(0,0,0)

Tints of #5A6A38

#5A6A38
(90,106,56)
#69774A
(105,119,74)
#78845C
(120,132,92)
#87916E
(135,145,110)
#969E80
(150,158,128)
#A5AB92
(165,171,146)
#B4B8A4
(180,184,164)
#C3C5B6
(195,197,182)
#D2D2C8
(210,210,200)
#E1DFDA
(225,223,218)
#F0ECEC
(240,236,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6A38; }

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

This text font color is #5A6A38.


Background Color

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

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

This div background color is #5A6A38.


Border color

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

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

This div border color is #5A6A38.


Opacity

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

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

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

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

This text has shadow with #5A6A38 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6A38 on black background.


Color preview on white background

This text has color #5A6A38 on white background.



Black color preview on #5A6A38 background

This text has black color on #5A6A38 background.


White color preview on #5A6A38 background

This text has white color on #5A6A38 background.