COLOR #505C7F

HEX: #505C7F
RGB: (80,92,127)

Color info

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

RGB color model

#505C7F color RGB value is (80,92,127).

  • red value is 80;
  • green value is 92;
  • blue value is 127.
RGB:
(80,92,127)
(31%,36%,50%)

RGB channels and saturation

R 80 of 255 = 31%
G 92 of 255 = 36%
B 127 of 255 = 50%

80
92
127

R + G + B ~ 39%. #505C7F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 92 + 127 = 299 (100%)
R 80 of 299 ~ 26.76%
G 92 of 299 ~ 30.77%
B 127 of 299 ~ 42.47%

%26.76
%30.77
%42.47

CMYK color model

#505C7F color CMYK value is (37,28,0,50).

  • cyan value is 37.01%
  • magenta value is 27.56%
  • yellow value is 0.00%
  • key color value is 50.20%
CMYK:
(37,28,0,50)
C37M28Y0K50 
(37%,28%,0%,50%)
(0.37/0.28/0.00/0.50)	

CMYK percentages

%37.01
%27.56
%0
%50.2

Codes

Color #505C7F in popluar color models

505C7F
RGB8092127
HSL225°22.71%40.59%
HSB/HSV225°37.01%49.80%
CMYK37.01%27.56%0.00%
50.20%

Color #505C7F in popluar number systems.

HEX505C7F
Decimal8092127
Binary101000010111001111111
Octal120134177

Shades and tints

Shades of #505C7F

#505C7F
(80,92,127)
#495474
(73,84,116)
#424C69
(66,76,105)
#3B445E
(59,68,94)
#343C53
(52,60,83)
#2D3448
(45,52,72)
#262C3D
(38,44,61)
#1F2432
(31,36,50)
#181C27
(24,28,39)
#11141C
(17,20,28)
#0A0C11
(10,12,17)
#000000
(0,0,0)

Tints of #505C7F

#505C7F
(80,92,127)
#5F6A8A
(95,106,138)
#6E7895
(110,120,149)
#7D86A0
(125,134,160)
#8C94AB
(140,148,171)
#9BA2B6
(155,162,182)
#AAB0C1
(170,176,193)
#B9BECC
(185,190,204)
#C8CCD7
(200,204,215)
#D7DAE2
(215,218,226)
#E6E8ED
(230,232,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #505C7F color. Also use rgb(80,92,127) instead hex code.

Text Font Color

.myTextColor { color: #505C7F; }

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

This text font color is #505C7F.


Background Color

.myBgColor { background-color: #505C7F; }

<div style="background-color:#505C7F">Inner text</div>

This div background color is #505C7F.


Border color

.myBorderColor { border: 1px solid #505C7F; }

<div style="border:3px solid #505C7F">Div</div>

This div border color is #505C7F.


Opacity

.myOpacity80 { color: #505C7F; opacity: 0.8; }

<p style="color:#505C7F;opacity:0.8;">80%</p>

Text with #505C7F 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 #505C7F;}

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

This text has shadow with #505C7F color.

.textShadow {text-shadow: 3px 3px 1px #505C7F, 3px 3px 1px red;}

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

This text has shadow with #505C7F primary color and red secondary color.


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

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

This text has shadow with #505C7F and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #505C7F on black background.


Color preview on white background

This text has color #505C7F on white background.



Black color preview on #505C7F background

This text has black color on #505C7F background.


White color preview on #505C7F background

This text has white color on #505C7F background.