COLOR #5A6A7C

HEX: #5A6A7C
RGB: (90,106,124)

Color info

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

RGB color model

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

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

RGB channels and saturation

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

90
106
124

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

Portions of RGB colors in percentages

R + G + B =
90 + 106 + 124 = 320 (100%)
R 90 of 320 ~ 28.13%
G 106 of 320 ~ 33.13%
B 124 of 320 ~ 38.75%

%28.13
%33.13
%38.75

CMYK color model

#5A6A7C color CMYK value is (27,15,0,51).

  • cyan value is 27.42%
  • magenta value is 14.52%
  • yellow value is 0.00%
  • key color value is 51.37%
CMYK:
(27,15,0,51)
C27M15Y0K51 
(27%,15%,0%,51%)
(0.27/0.15/0.00/0.51)	

CMYK percentages

%27.42
%14.52
%0
%51.37

Codes

Color #5A6A7C in popluar color models

5A6A7C
RGB90106124
HSL212°15.89%41.96%
HSB/HSV212°27.42%48.63%
CMYK27.42%14.52%0.00%
51.37%

Color #5A6A7C in popluar number systems.

HEX5A6A7C
Decimal90106124
Binary101101011010101111100
Octal132152174

Shades and tints

Shades of #5A6A7C

#5A6A7C
(90,106,124)
#526171
(82,97,113)
#4A5866
(74,88,102)
#424F5B
(66,79,91)
#3A4650
(58,70,80)
#323D45
(50,61,69)
#2A343A
(42,52,58)
#222B2F
(34,43,47)
#1A2224
(26,34,36)
#121919
(18,25,25)
#0A100E
(10,16,14)
#000000
(0,0,0)

Tints of #5A6A7C

#5A6A7C
(90,106,124)
#697787
(105,119,135)
#788492
(120,132,146)
#87919D
(135,145,157)
#969EA8
(150,158,168)
#A5ABB3
(165,171,179)
#B4B8BE
(180,184,190)
#C3C5C9
(195,197,201)
#D2D2D4
(210,210,212)
#E1DFDF
(225,223,223)
#F0ECEA
(240,236,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6A7C; }

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

This text font color is #5A6A7C.


Background Color

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

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

This div background color is #5A6A7C.


Border color

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

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

This div border color is #5A6A7C.


Opacity

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

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

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

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

This text has shadow with #5A6A7C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6A7C on black background.


Color preview on white background

This text has color #5A6A7C on white background.



Black color preview on #5A6A7C background

This text has black color on #5A6A7C background.


White color preview on #5A6A7C background

This text has white color on #5A6A7C background.