COLOR #502868

HEX: #502868
RGB: (80,40,104)

Color info

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

RGB color model

#502868 color RGB value is (80,40,104).

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

RGB channels and saturation

R 80 of 255 = 31%
G 40 of 255 = 16%
B 104 of 255 = 41%

80
40
104

R + G + B ~ 29%. #502868 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 40 + 104 = 224 (100%)
R 80 of 224 ~ 35.71%
G 40 of 224 ~ 17.86%
B 104 of 224 ~ 46.43%

%35.71
%17.86
%46.43

CMYK color model

#502868 color CMYK value is (23,62,0,59).

  • cyan value is 23.08%
  • magenta value is 61.54%
  • yellow value is 0.00%
  • key color value is 59.22%
CMYK:
(23,62,0,59)
C23M62Y0K59 
(23%,62%,0%,59%)
(0.23/0.62/0.00/0.59)	

CMYK percentages

%23.08
%61.54
%0
%59.22

Codes

Color #502868 in popluar color models

502868
RGB8040104
HSL278°44.44%28.24%
HSB/HSV278°61.54%40.78%
CMYK23.08%61.54%0.00%
59.22%

Color #502868 in popluar number systems.

HEX502868
Decimal8040104
Binary10100001010001101000
Octal12050150

Shades and tints

Shades of #502868

#502868
(80,40,104)
#49255F
(73,37,95)
#422256
(66,34,86)
#3B1F4D
(59,31,77)
#341C44
(52,28,68)
#2D193B
(45,25,59)
#261632
(38,22,50)
#1F1329
(31,19,41)
#181020
(24,16,32)
#110D17
(17,13,23)
#0A0A0E
(10,10,14)
#000000
(0,0,0)

Tints of #502868

#502868
(80,40,104)
#5F3B75
(95,59,117)
#6E4E82
(110,78,130)
#7D618F
(125,97,143)
#8C749C
(140,116,156)
#9B87A9
(155,135,169)
#AA9AB6
(170,154,182)
#B9ADC3
(185,173,195)
#C8C0D0
(200,192,208)
#D7D3DD
(215,211,221)
#E6E6EA
(230,230,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #502868 color. Also use rgb(80,40,104) instead hex code.

Text Font Color

.myTextColor { color: #502868; }

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

This text font color is #502868.


Background Color

.myBgColor { background-color: #502868; }

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

This div background color is #502868.


Border color

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

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

This div border color is #502868.


Opacity

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

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

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

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

This text has shadow with #502868 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #502868 on black background.


Color preview on white background

This text has color #502868 on white background.



Black color preview on #502868 background

This text has black color on #502868 background.


White color preview on #502868 background

This text has white color on #502868 background.