COLOR #502A5E

HEX: #502A5E
RGB: (80,42,94)

Color info

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

RGB color model

#502A5E color RGB value is (80,42,94).

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

RGB channels and saturation

R 80 of 255 = 31%
G 42 of 255 = 16%
B 94 of 255 = 37%

80
42
94

R + G + B ~ 28%. #502A5E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 42 + 94 = 216 (100%)
R 80 of 216 ~ 37.04%
G 42 of 216 ~ 19.44%
B 94 of 216 ~ 43.52%

%37.04
%19.44
%43.52

CMYK color model

#502A5E color CMYK value is (15,55,0,63).

  • cyan value is 14.89%
  • magenta value is 55.32%
  • yellow value is 0.00%
  • key color value is 63.14%
CMYK:
(15,55,0,63)
C15M55Y0K63 
(15%,55%,0%,63%)
(0.15/0.55/0.00/0.63)	

CMYK percentages

%14.89
%55.32
%0
%63.14

Codes

Color #502A5E in popluar color models

502A5E
RGB804294
HSL284°38.24%26.67%
HSB/HSV284°55.32%36.86%
CMYK14.89%55.32%0.00%
63.14%

Color #502A5E in popluar number systems.

HEX502A5E
Decimal804294
Binary10100001010101011110
Octal12052136

Shades and tints

Shades of #502A5E

#502A5E
(80,42,94)
#492756
(73,39,86)
#42244E
(66,36,78)
#3B2146
(59,33,70)
#341E3E
(52,30,62)
#2D1B36
(45,27,54)
#26182E
(38,24,46)
#1F1526
(31,21,38)
#18121E
(24,18,30)
#110F16
(17,15,22)
#0A0C0E
(10,12,14)
#000000
(0,0,0)

Tints of #502A5E

#502A5E
(80,42,94)
#5F3D6C
(95,61,108)
#6E507A
(110,80,122)
#7D6388
(125,99,136)
#8C7696
(140,118,150)
#9B89A4
(155,137,164)
#AA9CB2
(170,156,178)
#B9AFC0
(185,175,192)
#C8C2CE
(200,194,206)
#D7D5DC
(215,213,220)
#E6E8EA
(230,232,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #502A5E; }

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

This text font color is #502A5E.


Background Color

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

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

This div background color is #502A5E.


Border color

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

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

This div border color is #502A5E.


Opacity

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

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

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

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

This text has shadow with #502A5E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #502A5E on black background.


Color preview on white background

This text has color #502A5E on white background.



Black color preview on #502A5E background

This text has black color on #502A5E background.


White color preview on #502A5E background

This text has white color on #502A5E background.