COLOR #5A505A

HEX: #5A505A
RGB: (90,80,90)

Color info

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

RGB color model

#5A505A color RGB value is (90,80,90).

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

RGB channels and saturation

R 90 of 255 = 35%
G 80 of 255 = 31%
B 90 of 255 = 35%

90
80
90

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

Portions of RGB colors in percentages

R + G + B =
90 + 80 + 90 = 260 (100%)
R 90 of 260 ~ 34.62%
G 80 of 260 ~ 30.77%
B 90 of 260 ~ 34.62%

%34.62
%30.77
%34.62

CMYK color model

#5A505A color CMYK value is (0,11,0,65).

  • cyan value is 0.00%
  • magenta value is 11.11%
  • yellow value is 0.00%
  • key color value is 64.71%
CMYK:
(0,11,0,65)
C0M11Y0K65 
(0%,11%,0%,65%)
(0.00/0.11/0.00/0.65)	

CMYK percentages

%0
%11.11
%0
%64.71

Codes

Color #5A505A in popluar color models

5A505A
RGB908090
HSL300°5.88%33.33%
HSB/HSV300°11.11%35.29%
CMYK0.00%11.11%0.00%
64.71%

Color #5A505A in popluar number systems.

HEX5A505A
Decimal908090
Binary101101010100001011010
Octal132120132

Shades and tints

Shades of #5A505A

#5A505A
(90,80,90)
#524952
(82,73,82)
#4A424A
(74,66,74)
#423B42
(66,59,66)
#3A343A
(58,52,58)
#322D32
(50,45,50)
#2A262A
(42,38,42)
#221F22
(34,31,34)
#1A181A
(26,24,26)
#121112
(18,17,18)
#0A0A0A
(10,10,10)
#000000
(0,0,0)

Tints of #5A505A

#5A505A
(90,80,90)
#695F69
(105,95,105)
#786E78
(120,110,120)
#877D87
(135,125,135)
#968C96
(150,140,150)
#A59BA5
(165,155,165)
#B4AAB4
(180,170,180)
#C3B9C3
(195,185,195)
#D2C8D2
(210,200,210)
#E1D7E1
(225,215,225)
#F0E6F0
(240,230,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A505A; }

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

This text font color is #5A505A.


Background Color

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

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

This div background color is #5A505A.


Border color

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

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

This div border color is #5A505A.


Opacity

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

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

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

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

This text has shadow with #5A505A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A505A on black background.


Color preview on white background

This text has color #5A505A on white background.



Black color preview on #5A505A background

This text has black color on #5A505A background.


White color preview on #5A505A background

This text has white color on #5A505A background.