COLOR #504987

HEX: #504987
RGB: (80,73,135)

Color info

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

RGB color model

#504987 color RGB value is (80,73,135).

  • red value is 80;
  • green value is 73;
  • blue value is 135.
RGB:
(80,73,135)
(31%,29%,53%)

RGB channels and saturation

R 80 of 255 = 31%
G 73 of 255 = 29%
B 135 of 255 = 53%

80
73
135

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

Portions of RGB colors in percentages

R + G + B =
80 + 73 + 135 = 288 (100%)
R 80 of 288 ~ 27.78%
G 73 of 288 ~ 25.35%
B 135 of 288 ~ 46.88%

%27.78
%25.35
%46.88

CMYK color model

#504987 color CMYK value is (41,46,0,47).

  • cyan value is 40.74%
  • magenta value is 45.93%
  • yellow value is 0.00%
  • key color value is 47.06%
CMYK:
(41,46,0,47)
C41M46Y0K47 
(41%,46%,0%,47%)
(0.41/0.46/0.00/0.47)	

CMYK percentages

%40.74
%45.93
%0
%47.06

Codes

Color #504987 in popluar color models

504987
RGB8073135
HSL247°29.81%40.78%
HSB/HSV247°45.93%52.94%
CMYK40.74%45.93%0.00%
47.06%

Color #504987 in popluar number systems.

HEX504987
Decimal8073135
Binary1010000100100110000111
Octal120111207

Shades and tints

Shades of #504987

#504987
(80,73,135)
#49437B
(73,67,123)
#423D6F
(66,61,111)
#3B3763
(59,55,99)
#343157
(52,49,87)
#2D2B4B
(45,43,75)
#26253F
(38,37,63)
#1F1F33
(31,31,51)
#181927
(24,25,39)
#11131B
(17,19,27)
#0A0D0F
(10,13,15)
#000000
(0,0,0)

Tints of #504987

#504987
(80,73,135)
#5F5991
(95,89,145)
#6E699B
(110,105,155)
#7D79A5
(125,121,165)
#8C89AF
(140,137,175)
#9B99B9
(155,153,185)
#AAA9C3
(170,169,195)
#B9B9CD
(185,185,205)
#C8C9D7
(200,201,215)
#D7D9E1
(215,217,225)
#E6E9EB
(230,233,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #504987 color. Also use rgb(80,73,135) instead hex code.

Text Font Color

.myTextColor { color: #504987; }

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

This text font color is #504987.


Background Color

.myBgColor { background-color: #504987; }

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

This div background color is #504987.


Border color

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

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

This div border color is #504987.


Opacity

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

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

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

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

This text has shadow with #504987 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #504987 on black background.


Color preview on white background

This text has color #504987 on white background.



Black color preview on #504987 background

This text has black color on #504987 background.


White color preview on #504987 background

This text has white color on #504987 background.