COLOR #5A5A74

HEX: #5A5A74
RGB: (90,90,116)

Color info

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

RGB color model

#5A5A74 color RGB value is (90,90,116).

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

RGB channels and saturation

R 90 of 255 = 35%
G 90 of 255 = 35%
B 116 of 255 = 45%

90
90
116

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

Portions of RGB colors in percentages

R + G + B =
90 + 90 + 116 = 296 (100%)
R 90 of 296 ~ 30.41%
G 90 of 296 ~ 30.41%
B 116 of 296 ~ 39.19%

%30.41
%30.41
%39.19

CMYK color model

#5A5A74 color CMYK value is (22,22,0,55).

  • cyan value is 22.41%
  • magenta value is 22.41%
  • yellow value is 0.00%
  • key color value is 54.51%
CMYK:
(22,22,0,55)
C22M22Y0K55 
(22%,22%,0%,55%)
(0.22/0.22/0.00/0.55)	

CMYK percentages

%22.41
%22.41
%0
%54.51

Codes

Color #5A5A74 in popluar color models

5A5A74
RGB9090116
HSL240°12.62%40.39%
HSB/HSV240°22.41%45.49%
CMYK22.41%22.41%0.00%
54.51%

Color #5A5A74 in popluar number systems.

HEX5A5A74
Decimal9090116
Binary101101010110101110100
Octal132132164

Shades and tints

Shades of #5A5A74

#5A5A74
(90,90,116)
#52526A
(82,82,106)
#4A4A60
(74,74,96)
#424256
(66,66,86)
#3A3A4C
(58,58,76)
#323242
(50,50,66)
#2A2A38
(42,42,56)
#22222E
(34,34,46)
#1A1A24
(26,26,36)
#12121A
(18,18,26)
#0A0A10
(10,10,16)
#000000
(0,0,0)

Tints of #5A5A74

#5A5A74
(90,90,116)
#696980
(105,105,128)
#78788C
(120,120,140)
#878798
(135,135,152)
#9696A4
(150,150,164)
#A5A5B0
(165,165,176)
#B4B4BC
(180,180,188)
#C3C3C8
(195,195,200)
#D2D2D4
(210,210,212)
#E1E1E0
(225,225,224)
#F0F0EC
(240,240,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A5A74; }

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

This text font color is #5A5A74.


Background Color

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

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

This div background color is #5A5A74.


Border color

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

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

This div border color is #5A5A74.


Opacity

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

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

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

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

This text has shadow with #5A5A74 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5A74 on black background.


Color preview on white background

This text has color #5A5A74 on white background.



Black color preview on #5A5A74 background

This text has black color on #5A5A74 background.


White color preview on #5A5A74 background

This text has white color on #5A5A74 background.