COLOR #5A7FAB

HEX: #5A7FAB
RGB: (90,127,171)

Color info

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

RGB color model

#5A7FAB color RGB value is (90,127,171).

  • red value is 90;
  • green value is 127;
  • blue value is 171.
RGB:
(90,127,171)
(35%,50%,67%)

RGB channels and saturation

R 90 of 255 = 35%
G 127 of 255 = 50%
B 171 of 255 = 67%

90
127
171

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

Portions of RGB colors in percentages

R + G + B =
90 + 127 + 171 = 388 (100%)
R 90 of 388 ~ 23.2%
G 127 of 388 ~ 32.73%
B 171 of 388 ~ 44.07%

%23.2
%32.73
%44.07

CMYK color model

#5A7FAB color CMYK value is (47,26,0,33).

  • cyan value is 47.37%
  • magenta value is 25.73%
  • yellow value is 0.00%
  • key color value is 32.94%
CMYK:
(47,26,0,33)
C47M26Y0K33 
(47%,26%,0%,33%)
(0.47/0.26/0.00/0.33)	

CMYK percentages

%47.37
%25.73
%0
%32.94

Codes

Color #5A7FAB in popluar color models

5A7FAB
RGB90127171
HSL213°32.53%51.18%
HSB/HSV213°47.37%67.06%
CMYK47.37%25.73%0.00%
32.94%

Color #5A7FAB in popluar number systems.

HEX5A7FAB
Decimal90127171
Binary1011010111111110101011
Octal132177253

Shades and tints

Shades of #5A7FAB

#5A7FAB
(90,127,171)
#52749C
(82,116,156)
#4A698D
(74,105,141)
#425E7E
(66,94,126)
#3A536F
(58,83,111)
#324860
(50,72,96)
#2A3D51
(42,61,81)
#223242
(34,50,66)
#1A2733
(26,39,51)
#121C24
(18,28,36)
#0A1115
(10,17,21)
#000000
(0,0,0)

Tints of #5A7FAB

#5A7FAB
(90,127,171)
#698AB2
(105,138,178)
#7895B9
(120,149,185)
#87A0C0
(135,160,192)
#96ABC7
(150,171,199)
#A5B6CE
(165,182,206)
#B4C1D5
(180,193,213)
#C3CCDC
(195,204,220)
#D2D7E3
(210,215,227)
#E1E2EA
(225,226,234)
#F0EDF1
(240,237,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A7FAB color. Also use rgb(90,127,171) instead hex code.

Text Font Color

.myTextColor { color: #5A7FAB; }

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

This text font color is #5A7FAB.


Background Color

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

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

This div background color is #5A7FAB.


Border color

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

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

This div border color is #5A7FAB.


Opacity

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

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

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

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

This text has shadow with #5A7FAB color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A7FAB on black background.


Color preview on white background

This text has color #5A7FAB on white background.



Black color preview on #5A7FAB background

This text has black color on #5A7FAB background.


White color preview on #5A7FAB background

This text has white color on #5A7FAB background.