COLOR #5A7E8F

HEX: #5A7E8F
RGB: (90,126,143)

Color info

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

RGB color model

#5A7E8F color RGB value is (90,126,143).

  • red value is 90;
  • green value is 126;
  • blue value is 143.
RGB:
(90,126,143)
(35%,49%,56%)

RGB channels and saturation

R 90 of 255 = 35%
G 126 of 255 = 49%
B 143 of 255 = 56%

90
126
143

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

Portions of RGB colors in percentages

R + G + B =
90 + 126 + 143 = 359 (100%)
R 90 of 359 ~ 25.07%
G 126 of 359 ~ 35.1%
B 143 of 359 ~ 39.83%

%25.07
%35.1
%39.83

CMYK color model

#5A7E8F color CMYK value is (37,12,0,44).

  • cyan value is 37.06%
  • magenta value is 11.89%
  • yellow value is 0.00%
  • key color value is 43.92%
CMYK:
(37,12,0,44)
C37M12Y0K44 
(37%,12%,0%,44%)
(0.37/0.12/0.00/0.44)	

CMYK percentages

%37.06
%11.89
%0
%43.92

Codes

Color #5A7E8F in popluar color models

5A7E8F
RGB90126143
HSL199°22.75%45.69%
HSB/HSV199°37.06%56.08%
CMYK37.06%11.89%0.00%
43.92%

Color #5A7E8F in popluar number systems.

HEX5A7E8F
Decimal90126143
Binary1011010111111010001111
Octal132176217

Shades and tints

Shades of #5A7E8F

#5A7E8F
(90,126,143)
#527382
(82,115,130)
#4A6875
(74,104,117)
#425D68
(66,93,104)
#3A525B
(58,82,91)
#32474E
(50,71,78)
#2A3C41
(42,60,65)
#223134
(34,49,52)
#1A2627
(26,38,39)
#121B1A
(18,27,26)
#0A100D
(10,16,13)
#000000
(0,0,0)

Tints of #5A7E8F

#5A7E8F
(90,126,143)
#698999
(105,137,153)
#7894A3
(120,148,163)
#879FAD
(135,159,173)
#96AAB7
(150,170,183)
#A5B5C1
(165,181,193)
#B4C0CB
(180,192,203)
#C3CBD5
(195,203,213)
#D2D6DF
(210,214,223)
#E1E1E9
(225,225,233)
#F0ECF3
(240,236,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A7E8F color. Also use rgb(90,126,143) instead hex code.

Text Font Color

.myTextColor { color: #5A7E8F; }

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

This text font color is #5A7E8F.


Background Color

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

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

This div background color is #5A7E8F.


Border color

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

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

This div border color is #5A7E8F.


Opacity

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

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

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

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

This text has shadow with #5A7E8F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7E8F on black background.


Color preview on white background

This text has color #5A7E8F on white background.



Black color preview on #5A7E8F background

This text has black color on #5A7E8F background.


White color preview on #5A7E8F background

This text has white color on #5A7E8F background.