COLOR #5A788C

HEX: #5A788C
RGB: (90,120,140)

Color info

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

RGB color model

#5A788C color RGB value is (90,120,140).

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

RGB channels and saturation

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

90
120
140

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

Portions of RGB colors in percentages

R + G + B =
90 + 120 + 140 = 350 (100%)
R 90 of 350 ~ 25.71%
G 120 of 350 ~ 34.29%
B 140 of 350 ~ 40%

%25.71
%34.29
%40

CMYK color model

#5A788C color CMYK value is (36,14,0,45).

  • cyan value is 35.71%
  • magenta value is 14.29%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(36,14,0,45)
C36M14Y0K45 
(36%,14%,0%,45%)
(0.36/0.14/0.00/0.45)	

CMYK percentages

%35.71
%14.29
%0
%45.1

Codes

Color #5A788C in popluar color models

5A788C
RGB90120140
HSL204°21.74%45.10%
HSB/HSV204°35.71%54.90%
CMYK35.71%14.29%0.00%
45.10%

Color #5A788C in popluar number systems.

HEX5A788C
Decimal90120140
Binary1011010111100010001100
Octal132170214

Shades and tints

Shades of #5A788C

#5A788C
(90,120,140)
#526E80
(82,110,128)
#4A6474
(74,100,116)
#425A68
(66,90,104)
#3A505C
(58,80,92)
#324650
(50,70,80)
#2A3C44
(42,60,68)
#223238
(34,50,56)
#1A282C
(26,40,44)
#121E20
(18,30,32)
#0A1414
(10,20,20)
#000000
(0,0,0)

Tints of #5A788C

#5A788C
(90,120,140)
#698496
(105,132,150)
#7890A0
(120,144,160)
#879CAA
(135,156,170)
#96A8B4
(150,168,180)
#A5B4BE
(165,180,190)
#B4C0C8
(180,192,200)
#C3CCD2
(195,204,210)
#D2D8DC
(210,216,220)
#E1E4E6
(225,228,230)
#F0F0F0
(240,240,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A788C; }

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

This text font color is #5A788C.


Background Color

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

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

This div background color is #5A788C.


Border color

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

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

This div border color is #5A788C.


Opacity

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

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

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

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

This text has shadow with #5A788C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A788C on black background.


Color preview on white background

This text has color #5A788C on white background.



Black color preview on #5A788C background

This text has black color on #5A788C background.


White color preview on #5A788C background

This text has white color on #5A788C background.