COLOR #5A6978

HEX: #5A6978
RGB: (90,105,120)

Color info

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

RGB color model

#5A6978 color RGB value is (90,105,120).

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

RGB channels and saturation

R 90 of 255 = 35%
G 105 of 255 = 41%
B 120 of 255 = 47%

90
105
120

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

Portions of RGB colors in percentages

R + G + B =
90 + 105 + 120 = 315 (100%)
R 90 of 315 ~ 28.57%
G 105 of 315 ~ 33.33%
B 120 of 315 ~ 38.1%

%28.57
%33.33
%38.1

CMYK color model

#5A6978 color CMYK value is (25,13,0,53).

  • cyan value is 25.00%
  • magenta value is 12.50%
  • yellow value is 0.00%
  • key color value is 52.94%
CMYK:
(25,13,0,53)
C25M13Y0K53 
(25%,13%,0%,53%)
(0.25/0.13/0.00/0.53)	

CMYK percentages

%25
%12.5
%0
%52.94

Codes

Color #5A6978 in popluar color models

5A6978
RGB90105120
HSL210°14.29%41.18%
HSB/HSV210°25.00%47.06%
CMYK25.00%12.50%0.00%
52.94%

Color #5A6978 in popluar number systems.

HEX5A6978
Decimal90105120
Binary101101011010011111000
Octal132151170

Shades and tints

Shades of #5A6978

#5A6978
(90,105,120)
#52606E
(82,96,110)
#4A5764
(74,87,100)
#424E5A
(66,78,90)
#3A4550
(58,69,80)
#323C46
(50,60,70)
#2A333C
(42,51,60)
#222A32
(34,42,50)
#1A2128
(26,33,40)
#12181E
(18,24,30)
#0A0F14
(10,15,20)
#000000
(0,0,0)

Tints of #5A6978

#5A6978
(90,105,120)
#697684
(105,118,132)
#788390
(120,131,144)
#87909C
(135,144,156)
#969DA8
(150,157,168)
#A5AAB4
(165,170,180)
#B4B7C0
(180,183,192)
#C3C4CC
(195,196,204)
#D2D1D8
(210,209,216)
#E1DEE4
(225,222,228)
#F0EBF0
(240,235,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6978; }

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

This text font color is #5A6978.


Background Color

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

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

This div background color is #5A6978.


Border color

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

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

This div border color is #5A6978.


Opacity

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

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

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

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

This text has shadow with #5A6978 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6978 on black background.


Color preview on white background

This text has color #5A6978 on white background.



Black color preview on #5A6978 background

This text has black color on #5A6978 background.


White color preview on #5A6978 background

This text has white color on #5A6978 background.