COLOR #522140

HEX: #522140 RGB: (82,33,64)

Color info

#522140 contains red, green and blue colors in about the same proportion. Web safe color of #522140 is #663333 (or #633).

RGB color model

#522140 color RGB value is (82,33,64).

RGB: (82,33,64) (32%, 13%, 25%)

RGB channels and saturation

R 82 of 255 = 32%
G 33 of 255 = 13%
B 64 of 255 = 25%

82
33
64

R + G + B ~ 23%. #522140 is dark color.

Portions of RGB colors in percentages

R + G + B = 82 + 33 + 64 = 179 (100%)
R 82 of 179 ~ 45.81%
G 33 of 179 ~ 18.44%
B 64 of 179 ~ 35.75'%

%45.81
%18.44
%35.75

CMYK color model

#522140 color CMYK value is (0,60,22,68).

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

CMYK: (0,60,22,68)
C0M60Y22K68 (0%, 60%, 22%, 68%)
(0.00 / 0.60 / 0.22 / 0.68)

CMYK percentages

%0
%59.76
%21.95
%67.84

Codes

Color #522140 in popluar color models

52 21 40
RGB 82 33 64
HSL 322° 42.61% 22.55%
HSB/HSV 322° 59.76% 32.16%
CMYK 0.00% 59.76% 21.95%
67.84%

Color #522140 in popluar number systems.

HEX 52 21 40
Decimal 82 33 64
Binary 1010010 100001 1000000
Octal 122 41 100

Shades and tints

Shades of #522140

#522140
(82,33,64)
#4B1E3B
(75,30,59)
#441B36
(68,27,54)
#3D1831
(61,24,49)
#36152C
(54,21,44)
#2F1227
(47,18,39)
#280F22
(40,15,34)
#210C1D
(33,12,29)
#1A0918
(26,9,24)
#130613
(19,6,19)
#0C030E
(12,3,14)
#000000
(0,0,0)

Tints of #522140

#522140
(82,33,64)
#613551
(97,53,81)
#704962
(112,73,98)
#7F5D73
(127,93,115)
#8E7184
(142,113,132)
#9D8595
(157,133,149)
#AC99A6
(172,153,166)
#BBADB7
(187,173,183)
#CAC1C8
(202,193,200)
#D9D5D9
(217,213,217)
#E8E9EA
(232,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #522140; }

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

This text font color is #522140.

Background Color

.myBgColor { background-color: #522140; }

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

This div background color is #522140.

Border color

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

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

This div border color is #522140.

Opacity

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

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

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

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

This text has shadow with #522140 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #522140.

Preview

Color preview on black background

This text has color #522140 on black background.


Color preview on white background

This text has color #522140 on white background.


Black color preview on #522140 background

This text has black color on #522140 background.


White color preview on #522140 background

This text has white color on #522140 background.


Related colors

Complementary color

Complementary color for #hex is #ADDEBF.


I love getcolorcode.com

Triadic colors

1 #405221 and #214052 with #522140 are triadic colors.

2 #402152 and #215240 with #522140 are triadic colors.