COLOR #5A7938

HEX: #5A7938
RGB: (90,121,56)

Color info

#5A7938 contains mainly red and green colors. Web safe color of #5A7938 is #666633 (or #663).

RGB color model

#5A7938 color RGB value is (90,121,56).

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

RGB channels and saturation

R 90 of 255 = 35%
G 121 of 255 = 47%
B 56 of 255 = 22%

90
121
56

R + G + B ~ 35%. #5A7938 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 121 + 56 = 267 (100%)
R 90 of 267 ~ 33.71%
G 121 of 267 ~ 45.32%
B 56 of 267 ~ 20.97%

%33.71
%45.32
%20.97

CMYK color model

#5A7938 color CMYK value is (26,0,54,53).

  • cyan value is 25.62%
  • magenta value is 0.00%
  • yellow value is 53.72%
  • key color value is 52.55%
CMYK:
(26,0,54,53)
C26M0Y54K53 
(26%,0%,54%,53%)
(0.26/0.00/0.54/0.53)	

CMYK percentages

%25.62
%0
%53.72
%52.55

Codes

Color #5A7938 in popluar color models

5A7938
RGB9012156
HSL89°36.72%34.71%
HSB/HSV89°53.72%47.45%
CMYK25.62%0.00%53.72%
52.55%

Color #5A7938 in popluar number systems.

HEX5A7938
Decimal9012156
Binary10110101111001111000
Octal13217170

Shades and tints

Shades of #5A7938

#5A7938
(90,121,56)
#526E33
(82,110,51)
#4A632E
(74,99,46)
#425829
(66,88,41)
#3A4D24
(58,77,36)
#32421F
(50,66,31)
#2A371A
(42,55,26)
#222C15
(34,44,21)
#1A2110
(26,33,16)
#12160B
(18,22,11)
#0A0B06
(10,11,6)
#000000
(0,0,0)

Tints of #5A7938

#5A7938
(90,121,56)
#69854A
(105,133,74)
#78915C
(120,145,92)
#879D6E
(135,157,110)
#96A980
(150,169,128)
#A5B592
(165,181,146)
#B4C1A4
(180,193,164)
#C3CDB6
(195,205,182)
#D2D9C8
(210,217,200)
#E1E5DA
(225,229,218)
#F0F1EC
(240,241,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7938; }

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

This text font color is #5A7938.


Background Color

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

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

This div background color is #5A7938.


Border color

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

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

This div border color is #5A7938.


Opacity

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

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

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

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

This text has shadow with #5A7938 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7938 on black background.


Color preview on white background

This text has color #5A7938 on white background.



Black color preview on #5A7938 background

This text has black color on #5A7938 background.


White color preview on #5A7938 background

This text has white color on #5A7938 background.