COLOR #505789

HEX: #505789 RGB: (80,87,137)

Color info

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

RGB color model

#505789 color RGB value is (80,87,137).

RGB: (80,87,137) (31%, 34%, 54%)

RGB channels and saturation

R 80 of 255 = 31%
G 87 of 255 = 34%
B 137 of 255 = 54%

80
87
137

R + G + B ~ 40%. #505789 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 80 + 87 + 137 = 304 (100%)
R 80 of 304 ~ 26.32%
G 87 of 304 ~ 28.62%
B 137 of 304 ~ 45.07'%

%26.32
%28.62
%45.07

CMYK color model

#505789 color CMYK value is (42,36,0,46).

  • cyan value is 41.61%
  • magenta value is 36.50%
  • yellow value is 0.00%
  • key color value is 46.27%
CMYK: (42,36,0,46) C42M36Y0K46 (42%,36%,0%,46%) (0.42/0.36/0.00/0.46) 

CMYK percentages

%41.61
%36.5
%0
%46.27

Codes

Color #505789 in popluar color models

50 57 89
RGB 80 87 137
HSL 233° 26.27% 42.55%
HSB/HSV 233° 41.61% 53.73%
CMYK 41.61% 36.50% 0.00%
46.27%

Color #505789 in popluar number systems.

HEX 50 57 89
Decimal 80 87 137
Binary 1010000 1010111 10001001
Octal 120 127 211

Shades and tints

Shades of #505789

#505789
(80,87,137)
#49507D
(73,80,125)
#424971
(66,73,113)
#3B4265
(59,66,101)
#343B59
(52,59,89)
#2D344D
(45,52,77)
#262D41
(38,45,65)
#1F2635
(31,38,53)
#181F29
(24,31,41)
#11181D
(17,24,29)
#0A1111
(10,17,17)
#000000
(0,0,0)

Tints of #505789

#505789
(80,87,137)
#5F6693
(95,102,147)
#6E759D
(110,117,157)
#7D84A7
(125,132,167)
#8C93B1
(140,147,177)
#9BA2BB
(155,162,187)
#AAB1C5
(170,177,197)
#B9C0CF
(185,192,207)
#C8CFD9
(200,207,217)
#D7DEE3
(215,222,227)
#E6EDED
(230,237,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #505789 color. Also use rgb(80,87,137) instead hex code.

Text Font Color

.myTextColor { color: #505789; }

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

This text font color is #505789.

Background Color

.myBgColor { background-color: #505789; }

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

This div background color is #505789.

Border color

.myBorderColor { border: 1px solid #505789; }

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

This div border color is #505789.

Opacity

.myOpacity80 { color: #505789; opacity: 0.8; }

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

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

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

This text has shadow with #505789 color.


.textShadow {text-shadow: 3px 3px 1px #505789', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #505789; -webkit-box-shadow: 1px 1px 3px 2px #505789; box-shadow:1px 1px 3px 2px #505789;">
Div content here
</div>

This div box has shadow with color #505789.

Preview

Color preview on black background

This text has color #505789 on black background.


Color preview on white background

This text has color #505789 on white background.


Black color preview on #505789 background

This text has black color on #505789 background.


White color preview on #505789 background

This text has white color on #505789 background.


Related colors

Complementary color

Complementary color for #hex is #AFA876.


I love getcolorcode.com

Triadic colors

1 #895057 and #578950 with #505789 are triadic colors.

2 #895750 and #575089 with #505789 are triadic colors.