COLOR #504A8A

HEX: #504A8A
RGB: (80,74,138)

Color info

#504A8A contains mainly red and blue colors. Web safe color of #504A8A is #663399 (or #639).

RGB color model

#504A8A color RGB value is (80,74,138).

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

RGB channels and saturation

R 80 of 255 = 31%
G 74 of 255 = 29%
B 138 of 255 = 54%

80
74
138

R + G + B ~ 38%. #504A8A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 74 + 138 = 292 (100%)
R 80 of 292 ~ 27.4%
G 74 of 292 ~ 25.34%
B 138 of 292 ~ 47.26%

%27.4
%25.34
%47.26

CMYK color model

#504A8A color CMYK value is (42,46,0,46).

  • cyan value is 42.03%
  • magenta value is 46.38%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(42,46,0,46)
C42M46Y0K46 
(42%,46%,0%,46%)
(0.42/0.46/0.00/0.46)	

CMYK percentages

%42.03
%46.38
%0
%45.88

Codes

Color #504A8A in popluar color models

504A8A
RGB8074138
HSL246°30.19%41.57%
HSB/HSV246°46.38%54.12%
CMYK42.03%46.38%0.00%
45.88%

Color #504A8A in popluar number systems.

HEX504A8A
Decimal8074138
Binary1010000100101010001010
Octal120112212

Shades and tints

Shades of #504A8A

#504A8A
(80,74,138)
#49447E
(73,68,126)
#423E72
(66,62,114)
#3B3866
(59,56,102)
#34325A
(52,50,90)
#2D2C4E
(45,44,78)
#262642
(38,38,66)
#1F2036
(31,32,54)
#181A2A
(24,26,42)
#11141E
(17,20,30)
#0A0E12
(10,14,18)
#000000
(0,0,0)

Tints of #504A8A

#504A8A
(80,74,138)
#5F5A94
(95,90,148)
#6E6A9E
(110,106,158)
#7D7AA8
(125,122,168)
#8C8AB2
(140,138,178)
#9B9ABC
(155,154,188)
#AAAAC6
(170,170,198)
#B9BAD0
(185,186,208)
#C8CADA
(200,202,218)
#D7DAE4
(215,218,228)
#E6EAEE
(230,234,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #504A8A color. Also use rgb(80,74,138) instead hex code.

Text Font Color

.myTextColor { color: #504A8A; }

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

This text font color is #504A8A.


Background Color

.myBgColor { background-color: #504A8A; }

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

This div background color is #504A8A.


Border color

.myBorderColor { border: 1px solid #504A8A; }

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

This div border color is #504A8A.


Opacity

.myOpacity80 { color: #504A8A; opacity: 0.8; }

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

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

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

This text has shadow with #504A8A color.

.textShadow {text-shadow: 3px 3px 1px #504A8A, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #504A8A on black background.


Color preview on white background

This text has color #504A8A on white background.



Black color preview on #504A8A background

This text has black color on #504A8A background.


White color preview on #504A8A background

This text has white color on #504A8A background.