COLOR #5A627F

HEX: #5A627F
RGB: (90,98,127)

Color info

#5A627F contains red, green and blue colors in about the same proportion. Web safe color of #5A627F is #666666 (or #666).

RGB color model

#5A627F color RGB value is (90,98,127).

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

RGB channels and saturation

R 90 of 255 = 35%
G 98 of 255 = 38%
B 127 of 255 = 50%

90
98
127

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

Portions of RGB colors in percentages

R + G + B =
90 + 98 + 127 = 315 (100%)
R 90 of 315 ~ 28.57%
G 98 of 315 ~ 31.11%
B 127 of 315 ~ 40.32%

%28.57
%31.11
%40.32

CMYK color model

#5A627F color CMYK value is (29,23,0,50).

  • cyan value is 29.13%
  • magenta value is 22.83%
  • yellow value is 0.00%
  • key color value is 50.20%
CMYK:
(29,23,0,50)
C29M23Y0K50 
(29%,23%,0%,50%)
(0.29/0.23/0.00/0.50)	

CMYK percentages

%29.13
%22.83
%0
%50.2

Codes

Color #5A627F in popluar color models

5A627F
RGB9098127
HSL227°17.05%42.55%
HSB/HSV227°29.13%49.80%
CMYK29.13%22.83%0.00%
50.20%

Color #5A627F in popluar number systems.

HEX5A627F
Decimal9098127
Binary101101011000101111111
Octal132142177

Shades and tints

Shades of #5A627F

#5A627F
(90,98,127)
#525A74
(82,90,116)
#4A5269
(74,82,105)
#424A5E
(66,74,94)
#3A4253
(58,66,83)
#323A48
(50,58,72)
#2A323D
(42,50,61)
#222A32
(34,42,50)
#1A2227
(26,34,39)
#121A1C
(18,26,28)
#0A1211
(10,18,17)
#000000
(0,0,0)

Tints of #5A627F

#5A627F
(90,98,127)
#69708A
(105,112,138)
#787E95
(120,126,149)
#878CA0
(135,140,160)
#969AAB
(150,154,171)
#A5A8B6
(165,168,182)
#B4B6C1
(180,182,193)
#C3C4CC
(195,196,204)
#D2D2D7
(210,210,215)
#E1E0E2
(225,224,226)
#F0EEED
(240,238,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A627F; }

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

This text font color is #5A627F.


Background Color

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

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

This div background color is #5A627F.


Border color

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

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

This div border color is #5A627F.


Opacity

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

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

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

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

This text has shadow with #5A627F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A627F on black background.


Color preview on white background

This text has color #5A627F on white background.



Black color preview on #5A627F background

This text has black color on #5A627F background.


White color preview on #5A627F background

This text has white color on #5A627F background.