COLOR #502980

HEX: #502980
RGB: (80,41,128)

Color info

#502980 contains mainly red and blue colors. Web safe color of #502980 is #663366 (or #636).

RGB color model

#502980 color RGB value is (80,41,128).

  • red value is 80;
  • green value is 41;
  • blue value is 128.
RGB:
(80,41,128)
(31%,16%,50%)

RGB channels and saturation

R 80 of 255 = 31%
G 41 of 255 = 16%
B 128 of 255 = 50%

80
41
128

R + G + B ~ 32%. #502980 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 41 + 128 = 249 (100%)
R 80 of 249 ~ 32.13%
G 41 of 249 ~ 16.47%
B 128 of 249 ~ 51.41%

%32.13
%16.47
%51.41

CMYK color model

#502980 color CMYK value is (38,68,0,50).

  • cyan value is 37.50%
  • magenta value is 67.97%
  • yellow value is 0.00%
  • key color value is 49.80%
CMYK:
(38,68,0,50)
C38M68Y0K50 
(38%,68%,0%,50%)
(0.38/0.68/0.00/0.50)	

CMYK percentages

%37.5
%67.97
%0
%49.8

Codes

Color #502980 in popluar color models

502980
RGB8041128
HSL267°51.48%33.14%
HSB/HSV267°67.97%50.20%
CMYK37.50%67.97%0.00%
49.80%

Color #502980 in popluar number systems.

HEX502980
Decimal8041128
Binary101000010100110000000
Octal12051200

Shades and tints

Shades of #502980

#502980
(80,41,128)
#492675
(73,38,117)
#42236A
(66,35,106)
#3B205F
(59,32,95)
#341D54
(52,29,84)
#2D1A49
(45,26,73)
#26173E
(38,23,62)
#1F1433
(31,20,51)
#181128
(24,17,40)
#110E1D
(17,14,29)
#0A0B12
(10,11,18)
#000000
(0,0,0)

Tints of #502980

#502980
(80,41,128)
#5F3C8B
(95,60,139)
#6E4F96
(110,79,150)
#7D62A1
(125,98,161)
#8C75AC
(140,117,172)
#9B88B7
(155,136,183)
#AA9BC2
(170,155,194)
#B9AECD
(185,174,205)
#C8C1D8
(200,193,216)
#D7D4E3
(215,212,227)
#E6E7EE
(230,231,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #502980 color. Also use rgb(80,41,128) instead hex code.

Text Font Color

.myTextColor { color: #502980; }

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

This text font color is #502980.


Background Color

.myBgColor { background-color: #502980; }

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

This div background color is #502980.


Border color

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

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

This div border color is #502980.


Opacity

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

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

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

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

This text has shadow with #502980 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #502980 on black background.


Color preview on white background

This text has color #502980 on white background.



Black color preview on #502980 background

This text has black color on #502980 background.


White color preview on #502980 background

This text has white color on #502980 background.