COLOR #5A6158

HEX: #5A6158
RGB: (90,97,88)

Color info

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

RGB color model

#5A6158 color RGB value is (90,97,88).

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

RGB channels and saturation

R 90 of 255 = 35%
G 97 of 255 = 38%
B 88 of 255 = 35%

90
97
88

R + G + B ~ 36%. #5A6158 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 97 + 88 = 275 (100%)
R 90 of 275 ~ 32.73%
G 97 of 275 ~ 35.27%
B 88 of 275 ~ 32%

%32.73
%35.27
%32

CMYK color model

#5A6158 color CMYK value is (7,0,9,62).

  • cyan value is 7.22%
  • magenta value is 0.00%
  • yellow value is 9.28%
  • key color value is 61.96%
CMYK:
(7,0,9,62)
C7M0Y9K62 
(7%,0%,9%,62%)
(0.07/0.00/0.09/0.62)	

CMYK percentages

%7.22
%0
%9.28
%61.96

Codes

Color #5A6158 in popluar color models

5A6158
RGB909788
HSL107°4.86%36.27%
HSB/HSV107°9.28%38.04%
CMYK7.22%0.00%9.28%
61.96%

Color #5A6158 in popluar number systems.

HEX5A6158
Decimal909788
Binary101101011000011011000
Octal132141130

Shades and tints

Shades of #5A6158

#5A6158
(90,97,88)
#525950
(82,89,80)
#4A5148
(74,81,72)
#424940
(66,73,64)
#3A4138
(58,65,56)
#323930
(50,57,48)
#2A3128
(42,49,40)
#222920
(34,41,32)
#1A2118
(26,33,24)
#121910
(18,25,16)
#0A1108
(10,17,8)
#000000
(0,0,0)

Tints of #5A6158

#5A6158
(90,97,88)
#696F67
(105,111,103)
#787D76
(120,125,118)
#878B85
(135,139,133)
#969994
(150,153,148)
#A5A7A3
(165,167,163)
#B4B5B2
(180,181,178)
#C3C3C1
(195,195,193)
#D2D1D0
(210,209,208)
#E1DFDF
(225,223,223)
#F0EDEE
(240,237,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6158; }

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

This text font color is #5A6158.


Background Color

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

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

This div background color is #5A6158.


Border color

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

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

This div border color is #5A6158.


Opacity

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

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

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

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

This text has shadow with #5A6158 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6158 on black background.


Color preview on white background

This text has color #5A6158 on white background.



Black color preview on #5A6158 background

This text has black color on #5A6158 background.


White color preview on #5A6158 background

This text has white color on #5A6158 background.