COLOR #5A7158

HEX: #5A7158
RGB: (90,113,88)

Color info

#5A7158 contains red, green and blue colors in about the same proportion. Web safe color of #5A7158 is #666666 (or #666).

RGB color model

#5A7158 color RGB value is (90,113,88).

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

RGB channels and saturation

R 90 of 255 = 35%
G 113 of 255 = 44%
B 88 of 255 = 35%

90
113
88

R + G + B ~ 38%. #5A7158 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 113 + 88 = 291 (100%)
R 90 of 291 ~ 30.93%
G 113 of 291 ~ 38.83%
B 88 of 291 ~ 30.24%

%30.93
%38.83
%30.24

CMYK color model

#5A7158 color CMYK value is (20,0,22,56).

  • cyan value is 20.35%
  • magenta value is 0.00%
  • yellow value is 22.12%
  • key color value is 55.69%
CMYK:
(20,0,22,56)
C20M0Y22K56 
(20%,0%,22%,56%)
(0.20/0.00/0.22/0.56)	

CMYK percentages

%20.35
%0
%22.12
%55.69

Codes

Color #5A7158 in popluar color models

5A7158
RGB9011388
HSL115°12.44%39.41%
HSB/HSV115°22.12%44.31%
CMYK20.35%0.00%22.12%
55.69%

Color #5A7158 in popluar number systems.

HEX5A7158
Decimal9011388
Binary101101011100011011000
Octal132161130

Shades and tints

Shades of #5A7158

#5A7158
(90,113,88)
#526750
(82,103,80)
#4A5D48
(74,93,72)
#425340
(66,83,64)
#3A4938
(58,73,56)
#323F30
(50,63,48)
#2A3528
(42,53,40)
#222B20
(34,43,32)
#1A2118
(26,33,24)
#121710
(18,23,16)
#0A0D08
(10,13,8)
#000000
(0,0,0)

Tints of #5A7158

#5A7158
(90,113,88)
#697D67
(105,125,103)
#788976
(120,137,118)
#879585
(135,149,133)
#96A194
(150,161,148)
#A5ADA3
(165,173,163)
#B4B9B2
(180,185,178)
#C3C5C1
(195,197,193)
#D2D1D0
(210,209,208)
#E1DDDF
(225,221,223)
#F0E9EE
(240,233,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7158; }

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

This text font color is #5A7158.


Background Color

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

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

This div background color is #5A7158.


Border color

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

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

This div border color is #5A7158.


Opacity

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

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

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

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

This text has shadow with #5A7158 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7158 on black background.


Color preview on white background

This text has color #5A7158 on white background.



Black color preview on #5A7158 background

This text has black color on #5A7158 background.


White color preview on #5A7158 background

This text has white color on #5A7158 background.