COLOR #502978

HEX: #502978
RGB: (80,41,120)

Color info

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

RGB color model

#502978 color RGB value is (80,41,120).

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

RGB channels and saturation

R 80 of 255 = 31%
G 41 of 255 = 16%
B 120 of 255 = 47%

80
41
120

R + G + B ~ 31%. #502978 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 41 + 120 = 241 (100%)
R 80 of 241 ~ 33.2%
G 41 of 241 ~ 17.01%
B 120 of 241 ~ 49.79%

%33.2
%17.01
%49.79

CMYK color model

#502978 color CMYK value is (33,66,0,53).

  • cyan value is 33.33%
  • magenta value is 65.83%
  • yellow value is 0.00%
  • key color value is 52.94%
CMYK:
(33,66,0,53)
C33M66Y0K53 
(33%,66%,0%,53%)
(0.33/0.66/0.00/0.53)	

CMYK percentages

%33.33
%65.83
%0
%52.94

Codes

Color #502978 in popluar color models

502978
RGB8041120
HSL270°49.07%31.57%
HSB/HSV270°65.83%47.06%
CMYK33.33%65.83%0.00%
52.94%

Color #502978 in popluar number systems.

HEX502978
Decimal8041120
Binary10100001010011111000
Octal12051170

Shades and tints

Shades of #502978

#502978
(80,41,120)
#49266E
(73,38,110)
#422364
(66,35,100)
#3B205A
(59,32,90)
#341D50
(52,29,80)
#2D1A46
(45,26,70)
#26173C
(38,23,60)
#1F1432
(31,20,50)
#181128
(24,17,40)
#110E1E
(17,14,30)
#0A0B14
(10,11,20)
#000000
(0,0,0)

Tints of #502978

#502978
(80,41,120)
#5F3C84
(95,60,132)
#6E4F90
(110,79,144)
#7D629C
(125,98,156)
#8C75A8
(140,117,168)
#9B88B4
(155,136,180)
#AA9BC0
(170,155,192)
#B9AECC
(185,174,204)
#C8C1D8
(200,193,216)
#D7D4E4
(215,212,228)
#E6E7F0
(230,231,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #502978; }

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

This text font color is #502978.


Background Color

.myBgColor { background-color: #502978; }

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

This div background color is #502978.


Border color

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

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

This div border color is #502978.


Opacity

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

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

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

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

This text has shadow with #502978 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #502978 on black background.


Color preview on white background

This text has color #502978 on white background.



Black color preview on #502978 background

This text has black color on #502978 background.


White color preview on #502978 background

This text has white color on #502978 background.