COLOR #505A7F

HEX: #505A7F
RGB: (80,90,127)

Color info

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

RGB color model

#505A7F color RGB value is (80,90,127).

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

RGB channels and saturation

R 80 of 255 = 31%
G 90 of 255 = 35%
B 127 of 255 = 50%

80
90
127

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

Portions of RGB colors in percentages

R + G + B =
80 + 90 + 127 = 297 (100%)
R 80 of 297 ~ 26.94%
G 90 of 297 ~ 30.3%
B 127 of 297 ~ 42.76%

%26.94
%30.3
%42.76

CMYK color model

#505A7F color CMYK value is (37,29,0,50).

  • cyan value is 37.01%
  • magenta value is 29.13%
  • yellow value is 0.00%
  • key color value is 50.20%
CMYK:
(37,29,0,50)
C37M29Y0K50 
(37%,29%,0%,50%)
(0.37/0.29/0.00/0.50)	

CMYK percentages

%37.01
%29.13
%0
%50.2

Codes

Color #505A7F in popluar color models

505A7F
RGB8090127
HSL227°22.71%40.59%
HSB/HSV227°37.01%49.80%
CMYK37.01%29.13%0.00%
50.20%

Color #505A7F in popluar number systems.

HEX505A7F
Decimal8090127
Binary101000010110101111111
Octal120132177

Shades and tints

Shades of #505A7F

#505A7F
(80,90,127)
#495274
(73,82,116)
#424A69
(66,74,105)
#3B425E
(59,66,94)
#343A53
(52,58,83)
#2D3248
(45,50,72)
#262A3D
(38,42,61)
#1F2232
(31,34,50)
#181A27
(24,26,39)
#11121C
(17,18,28)
#0A0A11
(10,10,17)
#000000
(0,0,0)

Tints of #505A7F

#505A7F
(80,90,127)
#5F698A
(95,105,138)
#6E7895
(110,120,149)
#7D87A0
(125,135,160)
#8C96AB
(140,150,171)
#9BA5B6
(155,165,182)
#AAB4C1
(170,180,193)
#B9C3CC
(185,195,204)
#C8D2D7
(200,210,215)
#D7E1E2
(215,225,226)
#E6F0ED
(230,240,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #505A7F; }

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

This text font color is #505A7F.


Background Color

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

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

This div background color is #505A7F.


Border color

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

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

This div border color is #505A7F.


Opacity

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

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

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

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

This text has shadow with #505A7F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #505A7F on black background.


Color preview on white background

This text has color #505A7F on white background.



Black color preview on #505A7F background

This text has black color on #505A7F background.


White color preview on #505A7F background

This text has white color on #505A7F background.