COLOR #505C8A

HEX: #505C8A
RGB: (80,92,138)

Color info

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

RGB color model

#505C8A color RGB value is (80,92,138).

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

RGB channels and saturation

R 80 of 255 = 31%
G 92 of 255 = 36%
B 138 of 255 = 54%

80
92
138

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

Portions of RGB colors in percentages

R + G + B =
80 + 92 + 138 = 310 (100%)
R 80 of 310 ~ 25.81%
G 92 of 310 ~ 29.68%
B 138 of 310 ~ 44.52%

%25.81
%29.68
%44.52

CMYK color model

#505C8A color CMYK value is (42,33,0,46).

  • cyan value is 42.03%
  • magenta value is 33.33%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(42,33,0,46)
C42M33Y0K46 
(42%,33%,0%,46%)
(0.42/0.33/0.00/0.46)	

CMYK percentages

%42.03
%33.33
%0
%45.88

Codes

Color #505C8A in popluar color models

505C8A
RGB8092138
HSL228°26.61%42.75%
HSB/HSV228°42.03%54.12%
CMYK42.03%33.33%0.00%
45.88%

Color #505C8A in popluar number systems.

HEX505C8A
Decimal8092138
Binary1010000101110010001010
Octal120134212

Shades and tints

Shades of #505C8A

#505C8A
(80,92,138)
#49547E
(73,84,126)
#424C72
(66,76,114)
#3B4466
(59,68,102)
#343C5A
(52,60,90)
#2D344E
(45,52,78)
#262C42
(38,44,66)
#1F2436
(31,36,54)
#181C2A
(24,28,42)
#11141E
(17,20,30)
#0A0C12
(10,12,18)
#000000
(0,0,0)

Tints of #505C8A

#505C8A
(80,92,138)
#5F6A94
(95,106,148)
#6E789E
(110,120,158)
#7D86A8
(125,134,168)
#8C94B2
(140,148,178)
#9BA2BC
(155,162,188)
#AAB0C6
(170,176,198)
#B9BED0
(185,190,208)
#C8CCDA
(200,204,218)
#D7DAE4
(215,218,228)
#E6E8EE
(230,232,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #505C8A; }

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

This text font color is #505C8A.


Background Color

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

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

This div background color is #505C8A.


Border color

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

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

This div border color is #505C8A.


Opacity

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

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

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

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

This text has shadow with #505C8A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #505C8A on black background.


Color preview on white background

This text has color #505C8A on white background.



Black color preview on #505C8A background

This text has black color on #505C8A background.


White color preview on #505C8A background

This text has white color on #505C8A background.