COLOR #5A6166

HEX: #5A6166
RGB: (90,97,102)

Color info

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

RGB color model

#5A6166 color RGB value is (90,97,102).

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

RGB channels and saturation

R 90 of 255 = 35%
G 97 of 255 = 38%
B 102 of 255 = 40%

90
97
102

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

Portions of RGB colors in percentages

R + G + B =
90 + 97 + 102 = 289 (100%)
R 90 of 289 ~ 31.14%
G 97 of 289 ~ 33.56%
B 102 of 289 ~ 35.29%

%31.14
%33.56
%35.29

CMYK color model

#5A6166 color CMYK value is (12,5,0,60).

  • cyan value is 11.76%
  • magenta value is 4.90%
  • yellow value is 0.00%
  • key color value is 60.00%
CMYK:
(12,5,0,60)
C12M5Y0K60 
(12%,5%,0%,60%)
(0.12/0.05/0.00/0.60)	

CMYK percentages

%11.76
%4.9
%0
%60

Codes

Color #5A6166 in popluar color models

5A6166
RGB9097102
HSL205°6.25%37.65%
HSB/HSV205°11.76%40.00%
CMYK11.76%4.90%0.00%
60.00%

Color #5A6166 in popluar number systems.

HEX5A6166
Decimal9097102
Binary101101011000011100110
Octal132141146

Shades and tints

Shades of #5A6166

#5A6166
(90,97,102)
#52595D
(82,89,93)
#4A5154
(74,81,84)
#42494B
(66,73,75)
#3A4142
(58,65,66)
#323939
(50,57,57)
#2A3130
(42,49,48)
#222927
(34,41,39)
#1A211E
(26,33,30)
#121915
(18,25,21)
#0A110C
(10,17,12)
#000000
(0,0,0)

Tints of #5A6166

#5A6166
(90,97,102)
#696F73
(105,111,115)
#787D80
(120,125,128)
#878B8D
(135,139,141)
#96999A
(150,153,154)
#A5A7A7
(165,167,167)
#B4B5B4
(180,181,180)
#C3C3C1
(195,195,193)
#D2D1CE
(210,209,206)
#E1DFDB
(225,223,219)
#F0EDE8
(240,237,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6166; }

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

This text font color is #5A6166.


Background Color

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

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

This div background color is #5A6166.


Border color

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

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

This div border color is #5A6166.


Opacity

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

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

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

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

This text has shadow with #5A6166 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6166 on black background.


Color preview on white background

This text has color #5A6166 on white background.



Black color preview on #5A6166 background

This text has black color on #5A6166 background.


White color preview on #5A6166 background

This text has white color on #5A6166 background.