COLOR #501562

HEX: #501562
RGB: (80,21,98)

Color info

#501562 contains mainly red and blue colors. Web safe color of #501562 is #660066 (or #606).

RGB color model

#501562 color RGB value is (80,21,98).

  • red value is 80;
  • green value is 21;
  • blue value is 98.
RGB:
(80,21,98)
(31%,8%,38%)

RGB channels and saturation

R 80 of 255 = 31%
G 21 of 255 = 8%
B 98 of 255 = 38%

80
21
98

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

Portions of RGB colors in percentages

R + G + B =
80 + 21 + 98 = 199 (100%)
R 80 of 199 ~ 40.2%
G 21 of 199 ~ 10.55%
B 98 of 199 ~ 49.25%

%40.2
%10.55
%49.25

CMYK color model

#501562 color CMYK value is (18,79,0,62).

  • cyan value is 18.37%
  • magenta value is 78.57%
  • yellow value is 0.00%
  • key color value is 61.57%
CMYK:
(18,79,0,62)
C18M79Y0K62 
(18%,79%,0%,62%)
(0.18/0.79/0.00/0.62)	

CMYK percentages

%18.37
%78.57
%0
%61.57

Codes

Color #501562 in popluar color models

501562
RGB802198
HSL286°64.71%23.33%
HSB/HSV286°78.57%38.43%
CMYK18.37%78.57%0.00%
61.57%

Color #501562 in popluar number systems.

HEX501562
Decimal802198
Binary1010000101011100010
Octal12025142

Shades and tints

Shades of #501562

#501562
(80,21,98)
#49145A
(73,20,90)
#421352
(66,19,82)
#3B124A
(59,18,74)
#341142
(52,17,66)
#2D103A
(45,16,58)
#260F32
(38,15,50)
#1F0E2A
(31,14,42)
#180D22
(24,13,34)
#110C1A
(17,12,26)
#0A0B12
(10,11,18)
#000000
(0,0,0)

Tints of #501562

#501562
(80,21,98)
#5F2A70
(95,42,112)
#6E3F7E
(110,63,126)
#7D548C
(125,84,140)
#8C699A
(140,105,154)
#9B7EA8
(155,126,168)
#AA93B6
(170,147,182)
#B9A8C4
(185,168,196)
#C8BDD2
(200,189,210)
#D7D2E0
(215,210,224)
#E6E7EE
(230,231,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #501562 color. Also use rgb(80,21,98) instead hex code.

Text Font Color

.myTextColor { color: #501562; }

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

This text font color is #501562.


Background Color

.myBgColor { background-color: #501562; }

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

This div background color is #501562.


Border color

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

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

This div border color is #501562.


Opacity

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

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

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

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

This text has shadow with #501562 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #501562 on black background.


Color preview on white background

This text has color #501562 on white background.



Black color preview on #501562 background

This text has black color on #501562 background.


White color preview on #501562 background

This text has white color on #501562 background.