COLOR #502867

HEX: #502867
RGB: (80,40,103)

Color info

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

RGB color model

#502867 color RGB value is (80,40,103).

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

RGB channels and saturation

R 80 of 255 = 31%
G 40 of 255 = 16%
B 103 of 255 = 40%

80
40
103

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

Portions of RGB colors in percentages

R + G + B =
80 + 40 + 103 = 223 (100%)
R 80 of 223 ~ 35.87%
G 40 of 223 ~ 17.94%
B 103 of 223 ~ 46.19%

%35.87
%17.94
%46.19

CMYK color model

#502867 color CMYK value is (22,61,0,60).

  • cyan value is 22.33%
  • magenta value is 61.17%
  • yellow value is 0.00%
  • key color value is 59.61%
CMYK:
(22,61,0,60)
C22M61Y0K60 
(22%,61%,0%,60%)
(0.22/0.61/0.00/0.60)	

CMYK percentages

%22.33
%61.17
%0
%59.61

Codes

Color #502867 in popluar color models

502867
RGB8040103
HSL278°44.06%28.04%
HSB/HSV278°61.17%40.39%
CMYK22.33%61.17%0.00%
59.61%

Color #502867 in popluar number systems.

HEX502867
Decimal8040103
Binary10100001010001100111
Octal12050147

Shades and tints

Shades of #502867

#502867
(80,40,103)
#49255E
(73,37,94)
#422255
(66,34,85)
#3B1F4C
(59,31,76)
#341C43
(52,28,67)
#2D193A
(45,25,58)
#261631
(38,22,49)
#1F1328
(31,19,40)
#18101F
(24,16,31)
#110D16
(17,13,22)
#0A0A0D
(10,10,13)
#000000
(0,0,0)

Tints of #502867

#502867
(80,40,103)
#5F3B74
(95,59,116)
#6E4E81
(110,78,129)
#7D618E
(125,97,142)
#8C749B
(140,116,155)
#9B87A8
(155,135,168)
#AA9AB5
(170,154,181)
#B9ADC2
(185,173,194)
#C8C0CF
(200,192,207)
#D7D3DC
(215,211,220)
#E6E6E9
(230,230,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #502867; }

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

This text font color is #502867.


Background Color

.myBgColor { background-color: #502867; }

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

This div background color is #502867.


Border color

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

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

This div border color is #502867.


Opacity

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

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

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

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

This text has shadow with #502867 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #502867 on black background.


Color preview on white background

This text has color #502867 on white background.



Black color preview on #502867 background

This text has black color on #502867 background.


White color preview on #502867 background

This text has white color on #502867 background.