COLOR #5A7C8A

HEX: #5A7C8A
RGB: (90,124,138)

Color info

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

RGB color model

#5A7C8A color RGB value is (90,124,138).

  • red value is 90;
  • green value is 124;
  • blue value is 138.
RGB:
(90,124,138)
(35%,49%,54%)

RGB channels and saturation

R 90 of 255 = 35%
G 124 of 255 = 49%
B 138 of 255 = 54%

90
124
138

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

Portions of RGB colors in percentages

R + G + B =
90 + 124 + 138 = 352 (100%)
R 90 of 352 ~ 25.57%
G 124 of 352 ~ 35.23%
B 138 of 352 ~ 39.2%

%25.57
%35.23
%39.2

CMYK color model

#5A7C8A color CMYK value is (35,10,0,46).

  • cyan value is 34.78%
  • magenta value is 10.14%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(35,10,0,46)
C35M10Y0K46 
(35%,10%,0%,46%)
(0.35/0.10/0.00/0.46)	

CMYK percentages

%34.78
%10.14
%0
%45.88

Codes

Color #5A7C8A in popluar color models

5A7C8A
RGB90124138
HSL198°21.05%44.71%
HSB/HSV198°34.78%54.12%
CMYK34.78%10.14%0.00%
45.88%

Color #5A7C8A in popluar number systems.

HEX5A7C8A
Decimal90124138
Binary1011010111110010001010
Octal132174212

Shades and tints

Shades of #5A7C8A

#5A7C8A
(90,124,138)
#52717E
(82,113,126)
#4A6672
(74,102,114)
#425B66
(66,91,102)
#3A505A
(58,80,90)
#32454E
(50,69,78)
#2A3A42
(42,58,66)
#222F36
(34,47,54)
#1A242A
(26,36,42)
#12191E
(18,25,30)
#0A0E12
(10,14,18)
#000000
(0,0,0)

Tints of #5A7C8A

#5A7C8A
(90,124,138)
#698794
(105,135,148)
#78929E
(120,146,158)
#879DA8
(135,157,168)
#96A8B2
(150,168,178)
#A5B3BC
(165,179,188)
#B4BEC6
(180,190,198)
#C3C9D0
(195,201,208)
#D2D4DA
(210,212,218)
#E1DFE4
(225,223,228)
#F0EAEE
(240,234,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A7C8A color. Also use rgb(90,124,138) instead hex code.

Text Font Color

.myTextColor { color: #5A7C8A; }

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

This text font color is #5A7C8A.


Background Color

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

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

This div background color is #5A7C8A.


Border color

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

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

This div border color is #5A7C8A.


Opacity

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

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

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

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

This text has shadow with #5A7C8A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7C8A on black background.


Color preview on white background

This text has color #5A7C8A on white background.



Black color preview on #5A7C8A background

This text has black color on #5A7C8A background.


White color preview on #5A7C8A background

This text has white color on #5A7C8A background.