COLOR #5A6970

HEX: #5A6970
RGB: (90,105,112)

Color info

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

RGB color model

#5A6970 color RGB value is (90,105,112).

  • red value is 90;
  • green value is 105;
  • blue value is 112.
RGB: (90,105,112) (35%,41%,44%)

RGB channels and saturation

R 90 of 255 = 35%
G 105 of 255 = 41%
B 112 of 255 = 44%

90
105
112

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

Portions of RGB colors in percentages

R + G + B =
90 + 105 + 112 = 307 (100%)
R 90 of 307 ~ 29.32%
G 105 of 307 ~ 34.2%
B 112 of 307 ~ 36.48%

%29.32
%34.2
%36.48

CMYK color model

#5A6970 color CMYK value is (20,6,0,56).

  • cyan value is 19.64%
  • magenta value is 6.25%
  • yellow value is 0.00%
  • key color value is 56.08%
CMYK: (20,6,0,56) C20M6Y0K56 (20%,6%,0%,56%) (0.20/0.06/0.00/0.56)

CMYK percentages

%19.64
%6.25
%0
%56.08

Codes

Color #5A6970 in popluar color models

5A6970
RGB90105112
HSL199°10.89%39.61%
HSB/HSV199°19.64%43.92%
CMYK19.64%6.25%0.00%
56.08%

Color #5A6970 in popluar number systems.

HEX5A6970
Decimal90105112
Binary101101011010011110000
Octal132151160

Shades and tints

Shades of #5A6970

#5A6970
(90,105,112)
#526066
(82,96,102)
#4A575C
(74,87,92)
#424E52
(66,78,82)
#3A4548
(58,69,72)
#323C3E
(50,60,62)
#2A3334
(42,51,52)
#222A2A
(34,42,42)
#1A2120
(26,33,32)
#121816
(18,24,22)
#0A0F0C
(10,15,12)
#000000
(0,0,0)

Tints of #5A6970

#5A6970
(90,105,112)
#69767D
(105,118,125)
#78838A
(120,131,138)
#879097
(135,144,151)
#969DA4
(150,157,164)
#A5AAB1
(165,170,177)
#B4B7BE
(180,183,190)
#C3C4CB
(195,196,203)
#D2D1D8
(210,209,216)
#E1DEE5
(225,222,229)
#F0EBF2
(240,235,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6970; }

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

This text font color is #5A6970.


Background Color

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

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

This div background color is #5A6970.


Border color

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

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

This div border color is #5A6970.


Opacity

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

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

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

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

This text has shadow with #5A6970 color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #5A6970 on black background.


Color preview on white background

This text has color #5A6970 on white background.



Black color preview on #5A6970 background

This text has black color on #5A6970 background.


White color preview on #5A6970 background

This text has white color on #5A6970 background.