COLOR #521A40

HEX: #521A40 RGB: (82,26,64)

Color info

#521A40 contains red, green and blue colors in about the same proportion. Web safe color of #521A40 is #660033 (or #603).

RGB color model

#521A40 color RGB value is (82,26,64).

RGB: (82,26,64) (32%, 10%, 25%)

RGB channels and saturation

R 82 of 255 = 32%
G 26 of 255 = 10%
B 64 of 255 = 25%

82
26
64

R + G + B ~ 22%. #521A40 is dark color.

Portions of RGB colors in percentages

R + G + B = 82 + 26 + 64 = 172 (100%)
R 82 of 172 ~ 47.67%
G 26 of 172 ~ 15.12%
B 64 of 172 ~ 37.21'%

%47.67
%15.12
%37.21

CMYK color model

#521A40 color CMYK value is (0,68,22,68).

  • cyan value is 0.00%
  • magenta value is 68.29%
  • yellow value is 21.95%
  • key color value is 67.84%

CMYK: (0,68,22,68)
C0M68Y22K68 (0%, 68%, 22%, 68%)
(0.00 / 0.68 / 0.22 / 0.68)

CMYK percentages

%0
%68.29
%21.95
%67.84

Codes

Color #521A40 in popluar color models

52 1A 40
RGB 82 26 64
HSL 319° 51.85% 21.18%
HSB/HSV 319° 68.29% 32.16%
CMYK 0.00% 68.29% 21.95%
67.84%

Color #521A40 in popluar number systems.

HEX 52 1A 40
Decimal 82 26 64
Binary 1010010 11010 1000000
Octal 122 32 100

Shades and tints

Shades of #521A40

#521A40
(82,26,64)
#4B183B
(75,24,59)
#441636
(68,22,54)
#3D1431
(61,20,49)
#36122C
(54,18,44)
#2F1027
(47,16,39)
#280E22
(40,14,34)
#210C1D
(33,12,29)
#1A0A18
(26,10,24)
#130813
(19,8,19)
#0C060E
(12,6,14)
#000000
(0,0,0)

Tints of #521A40

#521A40
(82,26,64)
#612E51
(97,46,81)
#704262
(112,66,98)
#7F5673
(127,86,115)
#8E6A84
(142,106,132)
#9D7E95
(157,126,149)
#AC92A6
(172,146,166)
#BBA6B7
(187,166,183)
#CABAC8
(202,186,200)
#D9CED9
(217,206,217)
#E8E2EA
(232,226,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #521A40 color. Also use rgb(82,26,64) instead hex code.

Text Font Color

.myTextColor { color: #521A40; }

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

This text font color is #521A40.

Background Color

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

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

This div background color is #521A40.

Border color

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

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

This div border color is #521A40.

Opacity

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

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

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

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

This text has shadow with #521A40 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #521A40.

Preview

Color preview on black background

This text has color #521A40 on black background.


Color preview on white background

This text has color #521A40 on white background.


Black color preview on #521A40 background

This text has black color on #521A40 background.


White color preview on #521A40 background

This text has white color on #521A40 background.


Related colors

Complementary color

Complementary color for #hex is #ADE5BF.


I love getcolorcode.com

Triadic colors

1 #40521A and #1A4052 with #521A40 are triadic colors.

2 #401A52 and #1A5240 with #521A40 are triadic colors.