COLOR #505E8A

HEX: #505E8A
RGB: (80,94,138)

Color info

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

RGB color model

#505E8A color RGB value is (80,94,138).

  • red value is 80;
  • green value is 94;
  • blue value is 138.
RGB:
(80,94,138)
(31%,37%,54%)

RGB channels and saturation

R 80 of 255 = 31%
G 94 of 255 = 37%
B 138 of 255 = 54%

80
94
138

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

Portions of RGB colors in percentages

R + G + B =
80 + 94 + 138 = 312 (100%)
R 80 of 312 ~ 25.64%
G 94 of 312 ~ 30.13%
B 138 of 312 ~ 44.23%

%25.64
%30.13
%44.23

CMYK color model

#505E8A color CMYK value is (42,32,0,46).

  • cyan value is 42.03%
  • magenta value is 31.88%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(42,32,0,46)
C42M32Y0K46 
(42%,32%,0%,46%)
(0.42/0.32/0.00/0.46)	

CMYK percentages

%42.03
%31.88
%0
%45.88

Codes

Color #505E8A in popluar color models

505E8A
RGB8094138
HSL226°26.61%42.75%
HSB/HSV226°42.03%54.12%
CMYK42.03%31.88%0.00%
45.88%

Color #505E8A in popluar number systems.

HEX505E8A
Decimal8094138
Binary1010000101111010001010
Octal120136212

Shades and tints

Shades of #505E8A

#505E8A
(80,94,138)
#49567E
(73,86,126)
#424E72
(66,78,114)
#3B4666
(59,70,102)
#343E5A
(52,62,90)
#2D364E
(45,54,78)
#262E42
(38,46,66)
#1F2636
(31,38,54)
#181E2A
(24,30,42)
#11161E
(17,22,30)
#0A0E12
(10,14,18)
#000000
(0,0,0)

Tints of #505E8A

#505E8A
(80,94,138)
#5F6C94
(95,108,148)
#6E7A9E
(110,122,158)
#7D88A8
(125,136,168)
#8C96B2
(140,150,178)
#9BA4BC
(155,164,188)
#AAB2C6
(170,178,198)
#B9C0D0
(185,192,208)
#C8CEDA
(200,206,218)
#D7DCE4
(215,220,228)
#E6EAEE
(230,234,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #505E8A color. Also use rgb(80,94,138) instead hex code.

Text Font Color

.myTextColor { color: #505E8A; }

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

This text font color is #505E8A.


Background Color

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

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

This div background color is #505E8A.


Border color

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

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

This div border color is #505E8A.


Opacity

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

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

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

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

This text has shadow with #505E8A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #505E8A on black background.


Color preview on white background

This text has color #505E8A on white background.



Black color preview on #505E8A background

This text has black color on #505E8A background.


White color preview on #505E8A background

This text has white color on #505E8A background.