COLOR #5A789F

HEX: #5A789F
RGB: (90,120,159)

Color info

#5A789F contains mainly green and blue colors. Web safe color of #5A789F is #666699 (or #669).

RGB color model

#5A789F color RGB value is (90,120,159).

  • red value is 90;
  • green value is 120;
  • blue value is 159.
RGB:
(90,120,159)
(35%,47%,62%)

RGB channels and saturation

R 90 of 255 = 35%
G 120 of 255 = 47%
B 159 of 255 = 62%

90
120
159

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

Portions of RGB colors in percentages

R + G + B =
90 + 120 + 159 = 369 (100%)
R 90 of 369 ~ 24.39%
G 120 of 369 ~ 32.52%
B 159 of 369 ~ 43.09%

%24.39
%32.52
%43.09

CMYK color model

#5A789F color CMYK value is (43,25,0,38).

  • cyan value is 43.40%
  • magenta value is 24.53%
  • yellow value is 0.00%
  • key color value is 37.65%
CMYK:
(43,25,0,38)
C43M25Y0K38 
(43%,25%,0%,38%)
(0.43/0.25/0.00/0.38)	

CMYK percentages

%43.4
%24.53
%0
%37.65

Codes

Color #5A789F in popluar color models

5A789F
RGB90120159
HSL214°27.71%48.82%
HSB/HSV214°43.40%62.35%
CMYK43.40%24.53%0.00%
37.65%

Color #5A789F in popluar number systems.

HEX5A789F
Decimal90120159
Binary1011010111100010011111
Octal132170237

Shades and tints

Shades of #5A789F

#5A789F
(90,120,159)
#526E91
(82,110,145)
#4A6483
(74,100,131)
#425A75
(66,90,117)
#3A5067
(58,80,103)
#324659
(50,70,89)
#2A3C4B
(42,60,75)
#22323D
(34,50,61)
#1A282F
(26,40,47)
#121E21
(18,30,33)
#0A1413
(10,20,19)
#000000
(0,0,0)

Tints of #5A789F

#5A789F
(90,120,159)
#6984A7
(105,132,167)
#7890AF
(120,144,175)
#879CB7
(135,156,183)
#96A8BF
(150,168,191)
#A5B4C7
(165,180,199)
#B4C0CF
(180,192,207)
#C3CCD7
(195,204,215)
#D2D8DF
(210,216,223)
#E1E4E7
(225,228,231)
#F0F0EF
(240,240,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A789F; }

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

This text font color is #5A789F.


Background Color

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

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

This div background color is #5A789F.


Border color

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

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

This div border color is #5A789F.


Opacity

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

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

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

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

This text has shadow with #5A789F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A789F on black background.


Color preview on white background

This text has color #5A789F on white background.



Black color preview on #5A789F background

This text has black color on #5A789F background.


White color preview on #5A789F background

This text has white color on #5A789F background.