COLOR #502852

HEX: #502852
RGB: (80,40,82)

Color info

#502852 contains red, green and blue colors in about the same proportion. Web safe color of #502852 is #663366 (or #636).

RGB color model

#502852 color RGB value is (80,40,82).

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

RGB channels and saturation

R 80 of 255 = 31%
G 40 of 255 = 16%
B 82 of 255 = 32%

80
40
82

R + G + B ~ 26%. #502852 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 40 + 82 = 202 (100%)
R 80 of 202 ~ 39.6%
G 40 of 202 ~ 19.8%
B 82 of 202 ~ 40.59%

%39.6
%19.8
%40.59

CMYK color model

#502852 color CMYK value is (2,51,0,68).

  • cyan value is 2.44%
  • magenta value is 51.22%
  • yellow value is 0.00%
  • key color value is 67.84%
CMYK:
(2,51,0,68)
C2M51Y0K68 
(2%,51%,0%,68%)
(0.02/0.51/0.00/0.68)	

CMYK percentages

%2.44
%51.22
%0
%67.84

Codes

Color #502852 in popluar color models

502852
RGB804082
HSL297°34.43%23.92%
HSB/HSV297°51.22%32.16%
CMYK2.44%51.22%0.00%
67.84%

Color #502852 in popluar number systems.

HEX502852
Decimal804082
Binary10100001010001010010
Octal12050122

Shades and tints

Shades of #502852

#502852
(80,40,82)
#49254B
(73,37,75)
#422244
(66,34,68)
#3B1F3D
(59,31,61)
#341C36
(52,28,54)
#2D192F
(45,25,47)
#261628
(38,22,40)
#1F1321
(31,19,33)
#18101A
(24,16,26)
#110D13
(17,13,19)
#0A0A0C
(10,10,12)
#000000
(0,0,0)

Tints of #502852

#502852
(80,40,82)
#5F3B61
(95,59,97)
#6E4E70
(110,78,112)
#7D617F
(125,97,127)
#8C748E
(140,116,142)
#9B879D
(155,135,157)
#AA9AAC
(170,154,172)
#B9ADBB
(185,173,187)
#C8C0CA
(200,192,202)
#D7D3D9
(215,211,217)
#E6E6E8
(230,230,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #502852; }

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

This text font color is #502852.


Background Color

.myBgColor { background-color: #502852; }

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

This div background color is #502852.


Border color

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

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

This div border color is #502852.


Opacity

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

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

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

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

This text has shadow with #502852 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #502852 on black background.


Color preview on white background

This text has color #502852 on white background.



Black color preview on #502852 background

This text has black color on #502852 background.


White color preview on #502852 background

This text has white color on #502852 background.