COLOR #521042

HEX: #521042
RGB: (82,16,66)

Color info

#521042 contains mainly red and blue colors. Web safe color of #521042 is #660033 (or #603).

RGB color model

#521042 color RGB value is (82,16,66).

  • red value is 82;
  • green value is 16;
  • blue value is 66.
RGB:
(82,16,66)
(32%,6%,26%)

RGB channels and saturation

R 82 of 255 = 32%
G 16 of 255 = 6%
B 66 of 255 = 26%

82
16
66

R + G + B ~ 21%. #521042 is dark color.

Portions of RGB colors in percentages

R + G + B =
82 + 16 + 66 = 164 (100%)
R 82 of 164 ~ 50%
G 16 of 164 ~ 9.76%
B 66 of 164 ~ 40.24%

%50
%9.76
%40.24

CMYK color model

#521042 color CMYK value is (0,80,20,68).

  • cyan value is 0.00%
  • magenta value is 80.49%
  • yellow value is 19.51%
  • key color value is 67.84%
CMYK:
(0,80,20,68)
C0M80Y20K68 
(0%,80%,20%,68%)
(0.00/0.80/0.20/0.68)	

CMYK percentages

%0
%80.49
%19.51
%67.84

Codes

Color #521042 in popluar color models

521042
RGB821666
HSL315°67.35%19.22%
HSB/HSV315°80.49%32.16%
CMYK0.00%80.49%19.51%
67.84%

Color #521042 in popluar number systems.

HEX521042
Decimal821666
Binary1010010100001000010
Octal12220102

Shades and tints

Shades of #521042

#521042
(82,16,66)
#4B0F3C
(75,15,60)
#440E36
(68,14,54)
#3D0D30
(61,13,48)
#360C2A
(54,12,42)
#2F0B24
(47,11,36)
#280A1E
(40,10,30)
#210918
(33,9,24)
#1A0812
(26,8,18)
#13070C
(19,7,12)
#0C0606
(12,6,6)
#000000
(0,0,0)

Tints of #521042

#521042
(82,16,66)
#612553
(97,37,83)
#703A64
(112,58,100)
#7F4F75
(127,79,117)
#8E6486
(142,100,134)
#9D7997
(157,121,151)
#AC8EA8
(172,142,168)
#BBA3B9
(187,163,185)
#CAB8CA
(202,184,202)
#D9CDDB
(217,205,219)
#E8E2EC
(232,226,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #521042 color. Also use rgb(82,16,66) instead hex code.

Text Font Color

.myTextColor { color: #521042; }

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

This text font color is #521042.


Background Color

.myBgColor { background-color: #521042; }

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

This div background color is #521042.


Border color

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

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

This div border color is #521042.


Opacity

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

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

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

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

This text has shadow with #521042 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #521042 on black background.


Color preview on white background

This text has color #521042 on white background.



Black color preview on #521042 background

This text has black color on #521042 background.


White color preview on #521042 background

This text has white color on #521042 background.