COLOR #5A788B

HEX: #5A788B RGB: (90,120,139)

Color info

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

RGB color model

#5A788B color RGB value is (90,120,139).

RGB: (90,120,139) (35%, 47%, 55%)

RGB channels and saturation

R 90 of 255 = 35%
G 120 of 255 = 47%
B 139 of 255 = 55%

90
120
139

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

Portions of RGB colors in percentages

R + G + B = 90 + 120 + 139 = 349 (100%)
R 90 of 349 ~ 25.79%
G 120 of 349 ~ 34.38%
B 139 of 349 ~ 39.83'%

%25.79
%34.38
%39.83

CMYK color model

#5A788B color CMYK value is (35,14,0,45).

  • cyan value is 35.25%
  • magenta value is 13.67%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK: (35,14,0,45) C35M14Y0K45 (35%,14%,0%,45%) (0.35/0.14/0.00/0.45) 

CMYK percentages

%35.25
%13.67
%0
%45.49

Codes

Color #5A788B in popluar color models

5A 78 8B
RGB 90 120 139
HSL 203° 21.40% 44.90%
HSB/HSV 203° 35.25% 54.51%
CMYK 35.25% 13.67% 0.00%
45.49%

Color #5A788B in popluar number systems.

HEX 5A 78 8B
Decimal 90 120 139
Binary 1011010 1111000 10001011
Octal 132 170 213

Shades and tints

Shades of #5A788B

#5A788B
(90,120,139)
#526E7F
(82,110,127)
#4A6473
(74,100,115)
#425A67
(66,90,103)
#3A505B
(58,80,91)
#32464F
(50,70,79)
#2A3C43
(42,60,67)
#223237
(34,50,55)
#1A282B
(26,40,43)
#121E1F
(18,30,31)
#0A1413
(10,20,19)
#000000
(0,0,0)

Tints of #5A788B

#5A788B
(90,120,139)
#698495
(105,132,149)
#78909F
(120,144,159)
#879CA9
(135,156,169)
#96A8B3
(150,168,179)
#A5B4BD
(165,180,189)
#B4C0C7
(180,192,199)
#C3CCD1
(195,204,209)
#D2D8DB
(210,216,219)
#E1E4E5
(225,228,229)
#F0F0EF
(240,240,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A788B color. Also use rgb(90,120,139) instead hex code.

Text Font Color

.myTextColor { color: #5A788B; }

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

This text font color is #5A788B.

Background Color

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

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

This div background color is #5A788B.

Border color

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

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

This div border color is #5A788B.

Opacity

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

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

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

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

This text has shadow with #5A788B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A788B.

Preview

Color preview on black background

This text has color #5A788B on black background.


Color preview on white background

This text has color #5A788B on white background.


Black color preview on #5A788B background

This text has black color on #5A788B background.


White color preview on #5A788B background

This text has white color on #5A788B background.


Related colors

Complementary color

Complementary color for #hex is #A58774.


I love getcolorcode.com

Triadic colors

1 #8B5A78 and #788B5A with #5A788B are triadic colors.

2 #8B785A and #785A8B with #5A788B are triadic colors.