COLOR #5A6A6A

HEX: #5A6A6A
RGB: (90,106,106)

Color info

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

RGB color model

#5A6A6A color RGB value is (90,106,106).

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

RGB channels and saturation

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

90
106
106

R + G + B ~ 40%. #5A6A6A is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
90 + 106 + 106 = 302 (100%)
R 90 of 302 ~ 29.8%
G 106 of 302 ~ 35.1%
B 106 of 302 ~ 35.1%

%29.8
%35.1
%35.1

CMYK color model

#5A6A6A color CMYK value is (15,0,0,58).

  • cyan value is 15.09%
  • magenta value is 0.00%
  • yellow value is 0.00%
  • key color value is 58.43%
CMYK:
(15,0,0,58)
C15M0Y0K58 
(15%,0%,0%,58%)
(0.15/0.00/0.00/0.58)	

CMYK percentages

%15.09
%0
%0
%58.43

Codes

Color #5A6A6A in popluar color models

5A6A6A
RGB90106106
HSL180°8.16%38.43%
HSB/HSV180°15.09%41.57%
CMYK15.09%0.00%0.00%
58.43%

Color #5A6A6A in popluar number systems.

HEX5A6A6A
Decimal90106106
Binary101101011010101101010
Octal132152152

Shades and tints

Shades of #5A6A6A

#5A6A6A
(90,106,106)
#526161
(82,97,97)
#4A5858
(74,88,88)
#424F4F
(66,79,79)
#3A4646
(58,70,70)
#323D3D
(50,61,61)
#2A3434
(42,52,52)
#222B2B
(34,43,43)
#1A2222
(26,34,34)
#121919
(18,25,25)
#0A1010
(10,16,16)
#000000
(0,0,0)

Tints of #5A6A6A

#5A6A6A
(90,106,106)
#697777
(105,119,119)
#788484
(120,132,132)
#879191
(135,145,145)
#969E9E
(150,158,158)
#A5ABAB
(165,171,171)
#B4B8B8
(180,184,184)
#C3C5C5
(195,197,197)
#D2D2D2
(210,210,210)
#E1DFDF
(225,223,223)
#F0ECEC
(240,236,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6A6A; }

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

This text font color is #5A6A6A.


Background Color

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

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

This div background color is #5A6A6A.


Border color

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

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

This div border color is #5A6A6A.


Opacity

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

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

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

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

This text has shadow with #5A6A6A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6A6A on black background.


Color preview on white background

This text has color #5A6A6A on white background.



Black color preview on #5A6A6A background

This text has black color on #5A6A6A background.


White color preview on #5A6A6A background

This text has white color on #5A6A6A background.