COLOR #5A6B87

HEX: #5A6B87 RGB: (90,107,135)

Color info

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

RGB color model

#5A6B87 color RGB value is (90,107,135).

RGB: (90,107,135) (35%, 42%, 53%)

RGB channels and saturation

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

90
107
135

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

Portions of RGB colors in percentages

R + G + B = 90 + 107 + 135 = 332 (100%)
R 90 of 332 ~ 27.11%
G 107 of 332 ~ 32.23%
B 135 of 332 ~ 40.66'%

%27.11
%32.23
%40.66

CMYK color model

#5A6B87 color CMYK value is (33,21,0,47).

  • cyan value is 33.33%
  • magenta value is 20.74%
  • yellow value is 0.00%
  • key color value is 47.06%

CMYK: (33,21,0,47)
C33M21Y0K47 (33%, 21%, 0%, 47%)
(0.33 / 0.21 / 0.00 / 0.47)

CMYK percentages

%33.33
%20.74
%0
%47.06

Codes

Color #5A6B87 in popluar color models

5A 6B 87
RGB 90 107 135
HSL 217° 20.00% 44.12%
HSB/HSV 217° 33.33% 52.94%
CMYK 33.33% 20.74% 0.00%
47.06%

Color #5A6B87 in popluar number systems.

HEX 5A 6B 87
Decimal 90 107 135
Binary 1011010 1101011 10000111
Octal 132 153 207

Shades and tints

Shades of #5A6B87

#5A6B87
(90,107,135)
#52627B
(82,98,123)
#4A596F
(74,89,111)
#425063
(66,80,99)
#3A4757
(58,71,87)
#323E4B
(50,62,75)
#2A353F
(42,53,63)
#222C33
(34,44,51)
#1A2327
(26,35,39)
#121A1B
(18,26,27)
#0A110F
(10,17,15)
#000000
(0,0,0)

Tints of #5A6B87

#5A6B87
(90,107,135)
#697891
(105,120,145)
#78859B
(120,133,155)
#8792A5
(135,146,165)
#969FAF
(150,159,175)
#A5ACB9
(165,172,185)
#B4B9C3
(180,185,195)
#C3C6CD
(195,198,205)
#D2D3D7
(210,211,215)
#E1E0E1
(225,224,225)
#F0EDEB
(240,237,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A6B87; }

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

This text font color is #5A6B87.

Background Color

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

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

This div background color is #5A6B87.

Border color

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

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

This div border color is #5A6B87.

Opacity

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

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

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

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

This text has shadow with #5A6B87 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A6B87.

Preview

Color preview on black background

This text has color #5A6B87 on black background.


Color preview on white background

This text has color #5A6B87 on white background.


Black color preview on #5A6B87 background

This text has black color on #5A6B87 background.


White color preview on #5A6B87 background

This text has white color on #5A6B87 background.


Related colors

Complementary color

Complementary color for #hex is #A59478.


I love getcolorcode.com

Triadic colors

1 #875A6B and #6B875A with #5A6B87 are triadic colors.

2 #876B5A and #6B5A87 with #5A6B87 are triadic colors.