COLOR #5A6C87

HEX: #5A6C87
RGB: (90,108,135)

Color info

#5A6C87 contains red, green and blue colors in about the same proportion. Web safe color of #5A6C87 is #666699 (or #669).

RGB color model

#5A6C87 color RGB value is (90,108,135).

  • red value is 90;
  • green value is 108;
  • blue value is 135.
RGB:
(90,108,135)
(35%,42%,53%)

RGB channels and saturation

R 90 of 255 = 35%
G 108 of 255 = 42%
B 135 of 255 = 53%

90
108
135

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

Portions of RGB colors in percentages

R + G + B =
90 + 108 + 135 = 333 (100%)
R 90 of 333 ~ 27.03%
G 108 of 333 ~ 32.43%
B 135 of 333 ~ 40.54%

%27.03
%32.43
%40.54

CMYK color model

#5A6C87 color CMYK value is (33,20,0,47).

  • cyan value is 33.33%
  • magenta value is 20.00%
  • yellow value is 0.00%
  • key color value is 47.06%
CMYK:
(33,20,0,47)
C33M20Y0K47 
(33%,20%,0%,47%)
(0.33/0.20/0.00/0.47)	

CMYK percentages

%33.33
%20
%0
%47.06

Codes

Color #5A6C87 in popluar color models

5A6C87
RGB90108135
HSL216°20.00%44.12%
HSB/HSV216°33.33%52.94%
CMYK33.33%20.00%0.00%
47.06%

Color #5A6C87 in popluar number systems.

HEX5A6C87
Decimal90108135
Binary1011010110110010000111
Octal132154207

Shades and tints

Shades of #5A6C87

#5A6C87
(90,108,135)
#52637B
(82,99,123)
#4A5A6F
(74,90,111)
#425163
(66,81,99)
#3A4857
(58,72,87)
#323F4B
(50,63,75)
#2A363F
(42,54,63)
#222D33
(34,45,51)
#1A2427
(26,36,39)
#121B1B
(18,27,27)
#0A120F
(10,18,15)
#000000
(0,0,0)

Tints of #5A6C87

#5A6C87
(90,108,135)
#697991
(105,121,145)
#78869B
(120,134,155)
#8793A5
(135,147,165)
#96A0AF
(150,160,175)
#A5ADB9
(165,173,185)
#B4BAC3
(180,186,195)
#C3C7CD
(195,199,205)
#D2D4D7
(210,212,215)
#E1E1E1
(225,225,225)
#F0EEEB
(240,238,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6C87; }

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

This text font color is #5A6C87.


Background Color

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

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

This div background color is #5A6C87.


Border color

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

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

This div border color is #5A6C87.


Opacity

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

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

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

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

This text has shadow with #5A6C87 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A6C87 on black background.


Color preview on white background

This text has color #5A6C87 on white background.



Black color preview on #5A6C87 background

This text has black color on #5A6C87 background.


White color preview on #5A6C87 background

This text has white color on #5A6C87 background.