COLOR #502D87

HEX: #502D87 RGB: (80,45,135)

Color info

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

RGB color model

#502D87 color RGB value is (80,45,135).

RGB: (80,45,135) (31%, 18%, 53%)

RGB channels and saturation

R 80 of 255 = 31%
G 45 of 255 = 18%
B 135 of 255 = 53%

80
45
135

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

Portions of RGB colors in percentages

R + G + B = 80 + 45 + 135 = 260 (100%)
R 80 of 260 ~ 30.77%
G 45 of 260 ~ 17.31%
B 135 of 260 ~ 51.92'%

%30.77
%17.31
%51.92

CMYK color model

#502D87 color CMYK value is (41,67,0,47).

  • cyan value is 40.74%
  • magenta value is 66.67%
  • yellow value is 0.00%
  • key color value is 47.06%

CMYK: (41,67,0,47)
C41M67Y0K47 (41%, 67%, 0%, 47%)
(0.41 / 0.67 / 0.00 / 0.47)

CMYK percentages

%40.74
%66.67
%0
%47.06

Codes

Color #502D87 in popluar color models

50 2D 87
RGB 80 45 135
HSL 263° 50.00% 35.29%
HSB/HSV 263° 66.67% 52.94%
CMYK 40.74% 66.67% 0.00%
47.06%

Color #502D87 in popluar number systems.

HEX 50 2D 87
Decimal 80 45 135
Binary 1010000 101101 10000111
Octal 120 55 207

Shades and tints

Shades of #502D87

#502D87
(80,45,135)
#49297B
(73,41,123)
#42256F
(66,37,111)
#3B2163
(59,33,99)
#341D57
(52,29,87)
#2D194B
(45,25,75)
#26153F
(38,21,63)
#1F1133
(31,17,51)
#180D27
(24,13,39)
#11091B
(17,9,27)
#0A050F
(10,5,15)
#000000
(0,0,0)

Tints of #502D87

#502D87
(80,45,135)
#5F4091
(95,64,145)
#6E539B
(110,83,155)
#7D66A5
(125,102,165)
#8C79AF
(140,121,175)
#9B8CB9
(155,140,185)
#AA9FC3
(170,159,195)
#B9B2CD
(185,178,205)
#C8C5D7
(200,197,215)
#D7D8E1
(215,216,225)
#E6EBEB
(230,235,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #502D87; }

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

This text font color is #502D87.

Background Color

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

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

This div background color is #502D87.

Border color

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

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

This div border color is #502D87.

Opacity

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

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

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

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

This text has shadow with #502D87 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #502D87.

Preview

Color preview on black background

This text has color #502D87 on black background.


Color preview on white background

This text has color #502D87 on white background.


Black color preview on #502D87 background

This text has black color on #502D87 background.


White color preview on #502D87 background

This text has white color on #502D87 background.


Related colors

Complementary color

Complementary color for #hex is #AFD278.


I love getcolorcode.com

Triadic colors

1 #87502D and #2D8750 with #502D87 are triadic colors.

2 #872D50 and #2D5087 with #502D87 are triadic colors.