COLOR #501F8C

HEX: #501F8C
RGB: (80,31,140)

Color info

#501F8C contains mainly blue color. Web safe color of #501F8C is #663399 (or #639).

RGB color model

#501F8C color RGB value is (80,31,140).

  • red value is 80;
  • green value is 31;
  • blue value is 140.
RGB:
(80,31,140)
(31%,12%,55%)

RGB channels and saturation

R 80 of 255 = 31%
G 31 of 255 = 12%
B 140 of 255 = 55%

80
31
140

R + G + B ~ 33%. #501F8C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 31 + 140 = 251 (100%)
R 80 of 251 ~ 31.87%
G 31 of 251 ~ 12.35%
B 140 of 251 ~ 55.78%

%31.87
%12.35
%55.78

CMYK color model

#501F8C color CMYK value is (43,78,0,45).

  • cyan value is 42.86%
  • magenta value is 77.86%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(43,78,0,45)
C43M78Y0K45 
(43%,78%,0%,45%)
(0.43/0.78/0.00/0.45)	

CMYK percentages

%42.86
%77.86
%0
%45.1

Codes

Color #501F8C in popluar color models

501F8C
RGB8031140
HSL267°63.74%33.53%
HSB/HSV267°77.86%54.90%
CMYK42.86%77.86%0.00%
45.10%

Color #501F8C in popluar number systems.

HEX501F8C
Decimal8031140
Binary10100001111110001100
Octal12037214

Shades and tints

Shades of #501F8C

#501F8C
(80,31,140)
#491D80
(73,29,128)
#421B74
(66,27,116)
#3B1968
(59,25,104)
#34175C
(52,23,92)
#2D1550
(45,21,80)
#261344
(38,19,68)
#1F1138
(31,17,56)
#180F2C
(24,15,44)
#110D20
(17,13,32)
#0A0B14
(10,11,20)
#000000
(0,0,0)

Tints of #501F8C

#501F8C
(80,31,140)
#5F3396
(95,51,150)
#6E47A0
(110,71,160)
#7D5BAA
(125,91,170)
#8C6FB4
(140,111,180)
#9B83BE
(155,131,190)
#AA97C8
(170,151,200)
#B9ABD2
(185,171,210)
#C8BFDC
(200,191,220)
#D7D3E6
(215,211,230)
#E6E7F0
(230,231,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #501F8C color. Also use rgb(80,31,140) instead hex code.

Text Font Color

.myTextColor { color: #501F8C; }

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

This text font color is #501F8C.


Background Color

.myBgColor { background-color: #501F8C; }

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

This div background color is #501F8C.


Border color

.myBorderColor { border: 1px solid #501F8C; }

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

This div border color is #501F8C.


Opacity

.myOpacity80 { color: #501F8C; opacity: 0.8; }

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

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

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

This text has shadow with #501F8C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #501F8C on black background.


Color preview on white background

This text has color #501F8C on white background.



Black color preview on #501F8C background

This text has black color on #501F8C background.


White color preview on #501F8C background

This text has white color on #501F8C background.