COLOR #5A5A6B

HEX: #5A5A6B
RGB: (90,90,107)

Color info

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

RGB color model

#5A5A6B color RGB value is (90,90,107).

  • red value is 90;
  • green value is 90;
  • blue value is 107.
RGB:
(90,90,107)
(35%,35%,42%)

RGB channels and saturation

R 90 of 255 = 35%
G 90 of 255 = 35%
B 107 of 255 = 42%

90
90
107

R + G + B ~ 37%. #5A5A6B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 90 + 107 = 287 (100%)
R 90 of 287 ~ 31.36%
G 90 of 287 ~ 31.36%
B 107 of 287 ~ 37.28%

%31.36
%31.36
%37.28

CMYK color model

#5A5A6B color CMYK value is (16,16,0,58).

  • cyan value is 15.89%
  • magenta value is 15.89%
  • yellow value is 0.00%
  • key color value is 58.04%
CMYK:
(16,16,0,58)
C16M16Y0K58 
(16%,16%,0%,58%)
(0.16/0.16/0.00/0.58)	

CMYK percentages

%15.89
%15.89
%0
%58.04

Codes

Color #5A5A6B in popluar color models

5A5A6B
RGB9090107
HSL240°8.63%38.63%
HSB/HSV240°15.89%41.96%
CMYK15.89%15.89%0.00%
58.04%

Color #5A5A6B in popluar number systems.

HEX5A5A6B
Decimal9090107
Binary101101010110101101011
Octal132132153

Shades and tints

Shades of #5A5A6B

#5A5A6B
(90,90,107)
#525262
(82,82,98)
#4A4A59
(74,74,89)
#424250
(66,66,80)
#3A3A47
(58,58,71)
#32323E
(50,50,62)
#2A2A35
(42,42,53)
#22222C
(34,34,44)
#1A1A23
(26,26,35)
#12121A
(18,18,26)
#0A0A11
(10,10,17)
#000000
(0,0,0)

Tints of #5A5A6B

#5A5A6B
(90,90,107)
#696978
(105,105,120)
#787885
(120,120,133)
#878792
(135,135,146)
#96969F
(150,150,159)
#A5A5AC
(165,165,172)
#B4B4B9
(180,180,185)
#C3C3C6
(195,195,198)
#D2D2D3
(210,210,211)
#E1E1E0
(225,225,224)
#F0F0ED
(240,240,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A5A6B; }

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

This text font color is #5A5A6B.


Background Color

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

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

This div background color is #5A5A6B.


Border color

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

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

This div border color is #5A5A6B.


Opacity

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

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

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

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

This text has shadow with #5A5A6B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5A6B on black background.


Color preview on white background

This text has color #5A5A6B on white background.



Black color preview on #5A5A6B background

This text has black color on #5A5A6B background.


White color preview on #5A5A6B background

This text has white color on #5A5A6B background.