COLOR #522222

HEX: #522222 RGB: (82,34,34)

Color info

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

RGB color model

#522222 color RGB value is (82,34,34).

RGB: (82,34,34) (32%, 13%, 13%)

RGB channels and saturation

R 82 of 255 = 32%
G 34 of 255 = 13%
B 34 of 255 = 13%

82
34
34

R + G + B ~ 19%. #522222 is dark color.

Portions of RGB colors in percentages

R + G + B = 82 + 34 + 34 = 150 (100%)
R 82 of 150 ~ 54.67%
G 34 of 150 ~ 22.67%
B 34 of 150 ~ 22.67'%

%54.67
%22.67
%22.67

CMYK color model

#522222 color CMYK value is (0,59,59,68).

  • cyan value is 0.00%
  • magenta value is 58.54%
  • yellow value is 58.54%
  • key color value is 67.84%

CMYK: (0,59,59,68)
C0M59Y59K68 (0%, 59%, 59%, 68%)
(0.00 / 0.59 / 0.59 / 0.68)

CMYK percentages

%0
%58.54
%58.54
%67.84

Codes

Color #522222 in popluar color models

52 22 22
RGB 82 34 34
HSL 41.38% 22.75%
HSB/HSV 58.54% 32.16%
CMYK 0.00% 58.54% 58.54%
67.84%

Color #522222 in popluar number systems.

HEX 52 22 22
Decimal 82 34 34
Binary 1010010 100010 100010
Octal 122 42 42

Shades and tints

Shades of #522222

#522222
(82,34,34)
#4B1F1F
(75,31,31)
#441C1C
(68,28,28)
#3D1919
(61,25,25)
#361616
(54,22,22)
#2F1313
(47,19,19)
#281010
(40,16,16)
#210D0D
(33,13,13)
#1A0A0A
(26,10,10)
#130707
(19,7,7)
#0C0404
(12,4,4)
#000000
(0,0,0)

Tints of #522222

#522222
(82,34,34)
#613636
(97,54,54)
#704A4A
(112,74,74)
#7F5E5E
(127,94,94)
#8E7272
(142,114,114)
#9D8686
(157,134,134)
#AC9A9A
(172,154,154)
#BBAEAE
(187,174,174)
#CAC2C2
(202,194,194)
#D9D6D6
(217,214,214)
#E8EAEA
(232,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #522222; }

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

This text font color is #522222.

Background Color

.myBgColor { background-color: #522222; }

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

This div background color is #522222.

Border color

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

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

This div border color is #522222.

Opacity

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

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

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

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

This text has shadow with #522222 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #522222.

Preview

Color preview on black background

This text has color #522222 on black background.


Color preview on white background

This text has color #522222 on white background.


Black color preview on #522222 background

This text has black color on #522222 background.


White color preview on #522222 background

This text has white color on #522222 background.


Related colors

Complementary color

Complementary color for #hex is #ADDDDD.


I love getcolorcode.com