COLOR #5A7138

HEX: #5A7138
RGB: (90,113,56)

Color info

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

RGB color model

#5A7138 color RGB value is (90,113,56).

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

RGB channels and saturation

R 90 of 255 = 35%
G 113 of 255 = 44%
B 56 of 255 = 22%

90
113
56

R + G + B ~ 34%. #5A7138 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 113 + 56 = 259 (100%)
R 90 of 259 ~ 34.75%
G 113 of 259 ~ 43.63%
B 56 of 259 ~ 21.62%

%34.75
%43.63
%21.62

CMYK color model

#5A7138 color CMYK value is (20,0,50,56).

  • cyan value is 20.35%
  • magenta value is 0.00%
  • yellow value is 50.44%
  • key color value is 55.69%
CMYK:
(20,0,50,56)
C20M0Y50K56 
(20%,0%,50%,56%)
(0.20/0.00/0.50/0.56)	

CMYK percentages

%20.35
%0
%50.44
%55.69

Codes

Color #5A7138 in popluar color models

5A7138
RGB9011356
HSL84°33.73%33.14%
HSB/HSV84°50.44%44.31%
CMYK20.35%0.00%50.44%
55.69%

Color #5A7138 in popluar number systems.

HEX5A7138
Decimal9011356
Binary10110101110001111000
Octal13216170

Shades and tints

Shades of #5A7138

#5A7138
(90,113,56)
#526733
(82,103,51)
#4A5D2E
(74,93,46)
#425329
(66,83,41)
#3A4924
(58,73,36)
#323F1F
(50,63,31)
#2A351A
(42,53,26)
#222B15
(34,43,21)
#1A2110
(26,33,16)
#12170B
(18,23,11)
#0A0D06
(10,13,6)
#000000
(0,0,0)

Tints of #5A7138

#5A7138
(90,113,56)
#697D4A
(105,125,74)
#78895C
(120,137,92)
#87956E
(135,149,110)
#96A180
(150,161,128)
#A5AD92
(165,173,146)
#B4B9A4
(180,185,164)
#C3C5B6
(195,197,182)
#D2D1C8
(210,209,200)
#E1DDDA
(225,221,218)
#F0E9EC
(240,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7138; }

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

This text font color is #5A7138.


Background Color

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

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

This div background color is #5A7138.


Border color

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

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

This div border color is #5A7138.


Opacity

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

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

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

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

This text has shadow with #5A7138 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7138 on black background.


Color preview on white background

This text has color #5A7138 on white background.



Black color preview on #5A7138 background

This text has black color on #5A7138 background.


White color preview on #5A7138 background

This text has white color on #5A7138 background.