COLOR #5A5159

HEX: #5A5159
RGB: (90,81,89)

Color info

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

RGB color model

#5A5159 color RGB value is (90,81,89).

  • red value is 90;
  • green value is 81;
  • blue value is 89.
RGB:
(90,81,89)
(35%,32%,35%)

RGB channels and saturation

R 90 of 255 = 35%
G 81 of 255 = 32%
B 89 of 255 = 35%

90
81
89

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

Portions of RGB colors in percentages

R + G + B =
90 + 81 + 89 = 260 (100%)
R 90 of 260 ~ 34.62%
G 81 of 260 ~ 31.15%
B 89 of 260 ~ 34.23%

%34.62
%31.15
%34.23

CMYK color model

#5A5159 color CMYK value is (0,10,1,65).

  • cyan value is 0.00%
  • magenta value is 10.00%
  • yellow value is 1.11%
  • key color value is 64.71%
CMYK:
(0,10,1,65)
C0M10Y1K65 
(0%,10%,1%,65%)
(0.00/0.10/0.01/0.65)	

CMYK percentages

%0
%10
%1.11
%64.71

Codes

Color #5A5159 in popluar color models

5A5159
RGB908189
HSL307°5.26%33.53%
HSB/HSV307°10.00%35.29%
CMYK0.00%10.00%1.11%
64.71%

Color #5A5159 in popluar number systems.

HEX5A5159
Decimal908189
Binary101101010100011011001
Octal132121131

Shades and tints

Shades of #5A5159

#5A5159
(90,81,89)
#524A51
(82,74,81)
#4A4349
(74,67,73)
#423C41
(66,60,65)
#3A3539
(58,53,57)
#322E31
(50,46,49)
#2A2729
(42,39,41)
#222021
(34,32,33)
#1A1919
(26,25,25)
#121211
(18,18,17)
#0A0B09
(10,11,9)
#000000
(0,0,0)

Tints of #5A5159

#5A5159
(90,81,89)
#696068
(105,96,104)
#786F77
(120,111,119)
#877E86
(135,126,134)
#968D95
(150,141,149)
#A59CA4
(165,156,164)
#B4ABB3
(180,171,179)
#C3BAC2
(195,186,194)
#D2C9D1
(210,201,209)
#E1D8E0
(225,216,224)
#F0E7EF
(240,231,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A5159 color. Also use rgb(90,81,89) instead hex code.

Text Font Color

.myTextColor { color: #5A5159; }

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

This text font color is #5A5159.


Background Color

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

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

This div background color is #5A5159.


Border color

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

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

This div border color is #5A5159.


Opacity

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

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

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

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

This text has shadow with #5A5159 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5159 on black background.


Color preview on white background

This text has color #5A5159 on white background.



Black color preview on #5A5159 background

This text has black color on #5A5159 background.


White color preview on #5A5159 background

This text has white color on #5A5159 background.