COLOR #502497

HEX: #502497 RGB: (80,36,151)

Color info

#502497 contains mainly blue color. Web safe color of #502497 is #663399 (or #639).

RGB color model

#502497 color RGB value is (80,36,151).

RGB: (80,36,151) (31%, 14%, 59%)

RGB channels and saturation

R 80 of 255 = 31%
G 36 of 255 = 14%
B 151 of 255 = 59%

80
36
151

R + G + B ~ 35%. #502497 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 80 + 36 + 151 = 267 (100%)
R 80 of 267 ~ 29.96%
G 36 of 267 ~ 13.48%
B 151 of 267 ~ 56.55'%

%29.96
%13.48
%56.55

CMYK color model

#502497 color CMYK value is (47,76,0,41).

  • cyan value is 47.02%
  • magenta value is 76.16%
  • yellow value is 0.00%
  • key color value is 40.78%

CMYK: (47,76,0,41)
C47M76Y0K41 (47%, 76%, 0%, 41%)
(0.47 / 0.76 / 0.00 / 0.41)

CMYK percentages

%47.02
%76.16
%0
%40.78

Codes

Color #502497 in popluar color models

50 24 97
RGB 80 36 151
HSL 263° 61.50% 36.67%
HSB/HSV 263° 76.16% 59.22%
CMYK 47.02% 76.16% 0.00%
40.78%

Color #502497 in popluar number systems.

HEX 50 24 97
Decimal 80 36 151
Binary 1010000 100100 10010111
Octal 120 44 227

Shades and tints

Shades of #502497

#502497
(80,36,151)
#49218A
(73,33,138)
#421E7D
(66,30,125)
#3B1B70
(59,27,112)
#341863
(52,24,99)
#2D1556
(45,21,86)
#261249
(38,18,73)
#1F0F3C
(31,15,60)
#180C2F
(24,12,47)
#110922
(17,9,34)
#0A0615
(10,6,21)
#000000
(0,0,0)

Tints of #502497

#502497
(80,36,151)
#5F37A0
(95,55,160)
#6E4AA9
(110,74,169)
#7D5DB2
(125,93,178)
#8C70BB
(140,112,187)
#9B83C4
(155,131,196)
#AA96CD
(170,150,205)
#B9A9D6
(185,169,214)
#C8BCDF
(200,188,223)
#D7CFE8
(215,207,232)
#E6E2F1
(230,226,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #502497 color. Also use rgb(80,36,151) instead hex code.

Text Font Color

.myTextColor { color: #502497; }

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

This text font color is #502497.

Background Color

.myBgColor { background-color: #502497; }

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

This div background color is #502497.

Border color

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

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

This div border color is #502497.

Opacity

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

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

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

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

This text has shadow with #502497 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #502497.

Preview

Color preview on black background

This text has color #502497 on black background.


Color preview on white background

This text has color #502497 on white background.


Black color preview on #502497 background

This text has black color on #502497 background.


White color preview on #502497 background

This text has white color on #502497 background.


Related colors

Complementary color

Complementary color for #hex is #AFDB68.


I love getcolorcode.com

Triadic colors

1 #975024 and #249750 with #502497 are triadic colors.

2 #972450 and #245097 with #502497 are triadic colors.