COLOR #521F8E

HEX: #521F8E
RGB: (82,31,142)

Color info

#521F8E contains mainly blue color. Web safe color of #521F8E is #663399 (or #639).

RGB color model

#521F8E color RGB value is (82,31,142).

  • red value is 82;
  • green value is 31;
  • blue value is 142.
RGB:
(82,31,142)
(32%,12%,56%)

RGB channels and saturation

R 82 of 255 = 32%
G 31 of 255 = 12%
B 142 of 255 = 56%

82
31
142

R + G + B ~ 33%. #521F8E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
82 + 31 + 142 = 255 (100%)
R 82 of 255 ~ 32.16%
G 31 of 255 ~ 12.16%
B 142 of 255 ~ 55.69%

%32.16
%12.16
%55.69

CMYK color model

#521F8E color CMYK value is (42,78,0,44).

  • cyan value is 42.25%
  • magenta value is 78.17%
  • yellow value is 0.00%
  • key color value is 44.31%
CMYK:
(42,78,0,44)
C42M78Y0K44 
(42%,78%,0%,44%)
(0.42/0.78/0.00/0.44)	

CMYK percentages

%42.25
%78.17
%0
%44.31

Codes

Color #521F8E in popluar color models

521F8E
RGB8231142
HSL268°64.16%33.92%
HSB/HSV268°78.17%55.69%
CMYK42.25%78.17%0.00%
44.31%

Color #521F8E in popluar number systems.

HEX521F8E
Decimal8231142
Binary10100101111110001110
Octal12237216

Shades and tints

Shades of #521F8E

#521F8E
(82,31,142)
#4B1D82
(75,29,130)
#441B76
(68,27,118)
#3D196A
(61,25,106)
#36175E
(54,23,94)
#2F1552
(47,21,82)
#281346
(40,19,70)
#21113A
(33,17,58)
#1A0F2E
(26,15,46)
#130D22
(19,13,34)
#0C0B16
(12,11,22)
#000000
(0,0,0)

Tints of #521F8E

#521F8E
(82,31,142)
#613398
(97,51,152)
#7047A2
(112,71,162)
#7F5BAC
(127,91,172)
#8E6FB6
(142,111,182)
#9D83C0
(157,131,192)
#AC97CA
(172,151,202)
#BBABD4
(187,171,212)
#CABFDE
(202,191,222)
#D9D3E8
(217,211,232)
#E8E7F2
(232,231,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #521F8E color. Also use rgb(82,31,142) instead hex code.

Text Font Color

.myTextColor { color: #521F8E; }

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

This text font color is #521F8E.


Background Color

.myBgColor { background-color: #521F8E; }

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

This div background color is #521F8E.


Border color

.myBorderColor { border: 1px solid #521F8E; }

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

This div border color is #521F8E.


Opacity

.myOpacity80 { color: #521F8E; opacity: 0.8; }

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

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

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

This text has shadow with #521F8E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #521F8E on black background.


Color preview on white background

This text has color #521F8E on white background.



Black color preview on #521F8E background

This text has black color on #521F8E background.


White color preview on #521F8E background

This text has white color on #521F8E background.