COLOR #502D84

HEX: #502D84
RGB: (80,45,132)

Color info

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

RGB color model

#502D84 color RGB value is (80,45,132).

  • red value is 80;
  • green value is 45;
  • blue value is 132.
RGB:
(80,45,132)
(31%,18%,52%)

RGB channels and saturation

R 80 of 255 = 31%
G 45 of 255 = 18%
B 132 of 255 = 52%

80
45
132

R + G + B ~ 34%. #502D84 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 45 + 132 = 257 (100%)
R 80 of 257 ~ 31.13%
G 45 of 257 ~ 17.51%
B 132 of 257 ~ 51.36%

%31.13
%17.51
%51.36

CMYK color model

#502D84 color CMYK value is (39,66,0,48).

  • cyan value is 39.39%
  • magenta value is 65.91%
  • yellow value is 0.00%
  • key color value is 48.24%
CMYK:
(39,66,0,48)
C39M66Y0K48 
(39%,66%,0%,48%)
(0.39/0.66/0.00/0.48)	

CMYK percentages

%39.39
%65.91
%0
%48.24

Codes

Color #502D84 in popluar color models

502D84
RGB8045132
HSL264°49.15%34.71%
HSB/HSV264°65.91%51.76%
CMYK39.39%65.91%0.00%
48.24%

Color #502D84 in popluar number systems.

HEX502D84
Decimal8045132
Binary101000010110110000100
Octal12055204

Shades and tints

Shades of #502D84

#502D84
(80,45,132)
#492978
(73,41,120)
#42256C
(66,37,108)
#3B2160
(59,33,96)
#341D54
(52,29,84)
#2D1948
(45,25,72)
#26153C
(38,21,60)
#1F1130
(31,17,48)
#180D24
(24,13,36)
#110918
(17,9,24)
#0A050C
(10,5,12)
#000000
(0,0,0)

Tints of #502D84

#502D84
(80,45,132)
#5F408F
(95,64,143)
#6E539A
(110,83,154)
#7D66A5
(125,102,165)
#8C79B0
(140,121,176)
#9B8CBB
(155,140,187)
#AA9FC6
(170,159,198)
#B9B2D1
(185,178,209)
#C8C5DC
(200,197,220)
#D7D8E7
(215,216,231)
#E6EBF2
(230,235,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #502D84 color. Also use rgb(80,45,132) instead hex code.

Text Font Color

.myTextColor { color: #502D84; }

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

This text font color is #502D84.


Background Color

.myBgColor { background-color: #502D84; }

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

This div background color is #502D84.


Border color

.myBorderColor { border: 1px solid #502D84; }

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

This div border color is #502D84.


Opacity

.myOpacity80 { color: #502D84; opacity: 0.8; }

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

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

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

This text has shadow with #502D84 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #502D84 on black background.


Color preview on white background

This text has color #502D84 on white background.



Black color preview on #502D84 background

This text has black color on #502D84 background.


White color preview on #502D84 background

This text has white color on #502D84 background.