COLOR #5A7987

HEX: #5A7987 RGB: (90,121,135)

Color info

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

RGB color model

#5A7987 color RGB value is (90,121,135).

RGB: (90,121,135) (35%, 47%, 53%)

RGB channels and saturation

R 90 of 255 = 35%
G 121 of 255 = 47%
B 135 of 255 = 53%

90
121
135

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

Portions of RGB colors in percentages

R + G + B = 90 + 121 + 135 = 346 (100%)
R 90 of 346 ~ 26.01%
G 121 of 346 ~ 34.97%
B 135 of 346 ~ 39.02'%

%26.01
%34.97
%39.02

CMYK color model

#5A7987 color CMYK value is (33,10,0,47).

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

CMYK: (33,10,0,47)
C33M10Y0K47 (33%, 10%, 0%, 47%)
(0.33 / 0.10 / 0.00 / 0.47)

CMYK percentages

%33.33
%10.37
%0
%47.06

Codes

Color #5A7987 in popluar color models

5A 79 87
RGB 90 121 135
HSL 199° 20.00% 44.12%
HSB/HSV 199° 33.33% 52.94%
CMYK 33.33% 10.37% 0.00%
47.06%

Color #5A7987 in popluar number systems.

HEX 5A 79 87
Decimal 90 121 135
Binary 1011010 1111001 10000111
Octal 132 171 207

Shades and tints

Shades of #5A7987

#5A7987
(90,121,135)
#526E7B
(82,110,123)
#4A636F
(74,99,111)
#425863
(66,88,99)
#3A4D57
(58,77,87)
#32424B
(50,66,75)
#2A373F
(42,55,63)
#222C33
(34,44,51)
#1A2127
(26,33,39)
#12161B
(18,22,27)
#0A0B0F
(10,11,15)
#000000
(0,0,0)

Tints of #5A7987

#5A7987
(90,121,135)
#698591
(105,133,145)
#78919B
(120,145,155)
#879DA5
(135,157,165)
#96A9AF
(150,169,175)
#A5B5B9
(165,181,185)
#B4C1C3
(180,193,195)
#C3CDCD
(195,205,205)
#D2D9D7
(210,217,215)
#E1E5E1
(225,229,225)
#F0F1EB
(240,241,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A7987; }

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

This text font color is #5A7987.

Background Color

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

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

This div background color is #5A7987.

Border color

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

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

This div border color is #5A7987.

Opacity

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

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

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

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

This text has shadow with #5A7987 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A7987.

Preview

Color preview on black background

This text has color #5A7987 on black background.


Color preview on white background

This text has color #5A7987 on white background.


Black color preview on #5A7987 background

This text has black color on #5A7987 background.


White color preview on #5A7987 background

This text has white color on #5A7987 background.


Related colors

Complementary color

Complementary color for #hex is #A58678.


I love getcolorcode.com

Triadic colors

1 #875A79 and #79875A with #5A7987 are triadic colors.

2 #87795A and #795A87 with #5A7987 are triadic colors.