COLOR #5A6A7D

HEX: #5A6A7D
RGB: (90,106,125)

Color info

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

RGB color model

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

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

RGB channels and saturation

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

90
106
125

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

Portions of RGB colors in percentages

R + G + B =
90 + 106 + 125 = 321 (100%)
R 90 of 321 ~ 28.04%
G 106 of 321 ~ 33.02%
B 125 of 321 ~ 38.94%

%28.04
%33.02
%38.94

CMYK color model

#5A6A7D color CMYK value is (28,15,0,51).

  • cyan value is 28.00%
  • magenta value is 15.20%
  • yellow value is 0.00%
  • key color value is 50.98%
CMYK:
(28,15,0,51)
C28M15Y0K51 
(28%,15%,0%,51%)
(0.28/0.15/0.00/0.51)	

CMYK percentages

%28
%15.2
%0
%50.98

Codes

Color #5A6A7D in popluar color models

5A6A7D
RGB90106125
HSL213°16.28%42.16%
HSB/HSV213°28.00%49.02%
CMYK28.00%15.20%0.00%
50.98%

Color #5A6A7D in popluar number systems.

HEX5A6A7D
Decimal90106125
Binary101101011010101111101
Octal132152175

Shades and tints

Shades of #5A6A7D

#5A6A7D
(90,106,125)
#526172
(82,97,114)
#4A5867
(74,88,103)
#424F5C
(66,79,92)
#3A4651
(58,70,81)
#323D46
(50,61,70)
#2A343B
(42,52,59)
#222B30
(34,43,48)
#1A2225
(26,34,37)
#12191A
(18,25,26)
#0A100F
(10,16,15)
#000000
(0,0,0)

Tints of #5A6A7D

#5A6A7D
(90,106,125)
#697788
(105,119,136)
#788493
(120,132,147)
#87919E
(135,145,158)
#969EA9
(150,158,169)
#A5ABB4
(165,171,180)
#B4B8BF
(180,184,191)
#C3C5CA
(195,197,202)
#D2D2D5
(210,210,213)
#E1DFE0
(225,223,224)
#F0ECEB
(240,236,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6A7D; }

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

This text font color is #5A6A7D.


Background Color

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

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

This div background color is #5A6A7D.


Border color

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

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

This div border color is #5A6A7D.


Opacity

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

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

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

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

This text has shadow with #5A6A7D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6A7D on black background.


Color preview on white background

This text has color #5A6A7D on white background.



Black color preview on #5A6A7D background

This text has black color on #5A6A7D background.


White color preview on #5A6A7D background

This text has white color on #5A6A7D background.