COLOR #502A51

HEX: #502A51
RGB: (80,42,81)

Color info

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

RGB color model

#502A51 color RGB value is (80,42,81).

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

RGB channels and saturation

R 80 of 255 = 31%
G 42 of 255 = 16%
B 81 of 255 = 32%

80
42
81

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

Portions of RGB colors in percentages

R + G + B =
80 + 42 + 81 = 203 (100%)
R 80 of 203 ~ 39.41%
G 42 of 203 ~ 20.69%
B 81 of 203 ~ 39.9%

%39.41
%20.69
%39.9

CMYK color model

#502A51 color CMYK value is (1,48,0,68).

  • cyan value is 1.23%
  • magenta value is 48.15%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(1,48,0,68)
C1M48Y0K68 
(1%,48%,0%,68%)
(0.01/0.48/0.00/0.68)	

CMYK percentages

%1.23
%48.15
%0
%68.24

Codes

Color #502A51 in popluar color models

502A51
RGB804281
HSL298°31.71%24.12%
HSB/HSV298°48.15%31.76%
CMYK1.23%48.15%0.00%
68.24%

Color #502A51 in popluar number systems.

HEX502A51
Decimal804281
Binary10100001010101010001
Octal12052121

Shades and tints

Shades of #502A51

#502A51
(80,42,81)
#49274A
(73,39,74)
#422443
(66,36,67)
#3B213C
(59,33,60)
#341E35
(52,30,53)
#2D1B2E
(45,27,46)
#261827
(38,24,39)
#1F1520
(31,21,32)
#181219
(24,18,25)
#110F12
(17,15,18)
#0A0C0B
(10,12,11)
#000000
(0,0,0)

Tints of #502A51

#502A51
(80,42,81)
#5F3D60
(95,61,96)
#6E506F
(110,80,111)
#7D637E
(125,99,126)
#8C768D
(140,118,141)
#9B899C
(155,137,156)
#AA9CAB
(170,156,171)
#B9AFBA
(185,175,186)
#C8C2C9
(200,194,201)
#D7D5D8
(215,213,216)
#E6E8E7
(230,232,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #502A51 color. Also use rgb(80,42,81) instead hex code.

Text Font Color

.myTextColor { color: #502A51; }

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

This text font color is #502A51.


Background Color

.myBgColor { background-color: #502A51; }

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

This div background color is #502A51.


Border color

.myBorderColor { border: 1px solid #502A51; }

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

This div border color is #502A51.


Opacity

.myOpacity80 { color: #502A51; opacity: 0.8; }

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

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

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

This text has shadow with #502A51 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #502A51 on black background.


Color preview on white background

This text has color #502A51 on white background.



Black color preview on #502A51 background

This text has black color on #502A51 background.


White color preview on #502A51 background

This text has white color on #502A51 background.