COLOR #502148

HEX: #502148 RGB: (80,33,72)

Color info

#502148 contains red, green and blue colors in about the same proportion. Web safe color of #502148 is #663333 (or #633).

RGB color model

#502148 color RGB value is (80,33,72).

RGB: (80,33,72) (31%, 13%, 28%)

RGB channels and saturation

R 80 of 255 = 31%
G 33 of 255 = 13%
B 72 of 255 = 28%

80
33
72

R + G + B ~ 24%. #502148 is dark color.

Portions of RGB colors in percentages

R + G + B = 80 + 33 + 72 = 185 (100%)
R 80 of 185 ~ 43.24%
G 33 of 185 ~ 17.84%
B 72 of 185 ~ 38.92'%

%43.24
%17.84
%38.92

CMYK color model

#502148 color CMYK value is (0,59,10,69).

  • cyan value is 0.00%
  • magenta value is 58.75%
  • yellow value is 10.00%
  • key color value is 68.63%

CMYK: (0,59,10,69)
C0M59Y10K69 (0%, 59%, 10%, 69%)
(0.00 / 0.59 / 0.10 / 0.69)

CMYK percentages

%0
%58.75
%10
%68.63

Codes

Color #502148 in popluar color models

50 21 48
RGB 80 33 72
HSL 310° 41.59% 22.16%
HSB/HSV 310° 58.75% 31.37%
CMYK 0.00% 58.75% 10.00%
68.63%

Color #502148 in popluar number systems.

HEX 50 21 48
Decimal 80 33 72
Binary 1010000 100001 1001000
Octal 120 41 110

Shades and tints

Shades of #502148

#502148
(80,33,72)
#491E42
(73,30,66)
#421B3C
(66,27,60)
#3B1836
(59,24,54)
#341530
(52,21,48)
#2D122A
(45,18,42)
#260F24
(38,15,36)
#1F0C1E
(31,12,30)
#180918
(24,9,24)
#110612
(17,6,18)
#0A030C
(10,3,12)
#000000
(0,0,0)

Tints of #502148

#502148
(80,33,72)
#5F3558
(95,53,88)
#6E4968
(110,73,104)
#7D5D78
(125,93,120)
#8C7188
(140,113,136)
#9B8598
(155,133,152)
#AA99A8
(170,153,168)
#B9ADB8
(185,173,184)
#C8C1C8
(200,193,200)
#D7D5D8
(215,213,216)
#E6E9E8
(230,233,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #502148 color. Also use rgb(80,33,72) instead hex code.

Text Font Color

.myTextColor { color: #502148; }

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

This text font color is #502148.

Background Color

.myBgColor { background-color: #502148; }

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

This div background color is #502148.

Border color

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

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

This div border color is #502148.

Opacity

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

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

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

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

This text has shadow with #502148 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #502148.

Preview

Color preview on black background

This text has color #502148 on black background.


Color preview on white background

This text has color #502148 on white background.


Black color preview on #502148 background

This text has black color on #502148 background.


White color preview on #502148 background

This text has white color on #502148 background.


Related colors

Complementary color

Complementary color for #hex is #AFDEB7.


I love getcolorcode.com

Triadic colors

1 #485021 and #214850 with #502148 are triadic colors.

2 #482150 and #215048 with #502148 are triadic colors.