COLOR #502E51

HEX: #502E51
RGB: (80,46,81)

Color info

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

RGB color model

#502E51 color RGB value is (80,46,81).

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

RGB channels and saturation

R 80 of 255 = 31%
G 46 of 255 = 18%
B 81 of 255 = 32%

80
46
81

R + G + B ~ 27%. #502E51 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 46 + 81 = 207 (100%)
R 80 of 207 ~ 38.65%
G 46 of 207 ~ 22.22%
B 81 of 207 ~ 39.13%

%38.65
%22.22
%39.13

CMYK color model

#502E51 color CMYK value is (1,43,0,68).

  • cyan value is 1.23%
  • magenta value is 43.21%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(1,43,0,68)
C1M43Y0K68 
(1%,43%,0%,68%)
(0.01/0.43/0.00/0.68)	

CMYK percentages

%1.23
%43.21
%0
%68.24

Codes

Color #502E51 in popluar color models

502E51
RGB804681
HSL298°27.56%24.90%
HSB/HSV298°43.21%31.76%
CMYK1.23%43.21%0.00%
68.24%

Color #502E51 in popluar number systems.

HEX502E51
Decimal804681
Binary10100001011101010001
Octal12056121

Shades and tints

Shades of #502E51

#502E51
(80,46,81)
#492A4A
(73,42,74)
#422643
(66,38,67)
#3B223C
(59,34,60)
#341E35
(52,30,53)
#2D1A2E
(45,26,46)
#261627
(38,22,39)
#1F1220
(31,18,32)
#180E19
(24,14,25)
#110A12
(17,10,18)
#0A060B
(10,6,11)
#000000
(0,0,0)

Tints of #502E51

#502E51
(80,46,81)
#5F4160
(95,65,96)
#6E546F
(110,84,111)
#7D677E
(125,103,126)
#8C7A8D
(140,122,141)
#9B8D9C
(155,141,156)
#AAA0AB
(170,160,171)
#B9B3BA
(185,179,186)
#C8C6C9
(200,198,201)
#D7D9D8
(215,217,216)
#E6ECE7
(230,236,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #502E51; }

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

This text font color is #502E51.


Background Color

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

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

This div background color is #502E51.


Border color

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

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

This div border color is #502E51.


Opacity

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

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

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

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

This text has shadow with #502E51 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #502E51 on black background.


Color preview on white background

This text has color #502E51 on white background.



Black color preview on #502E51 background

This text has black color on #502E51 background.


White color preview on #502E51 background

This text has white color on #502E51 background.