COLOR #522838

HEX: #522838 RGB: (82,40,56)

Color info

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

RGB color model

#522838 color RGB value is (82,40,56).

RGB: (82,40,56) (32%, 16%, 22%)

RGB channels and saturation

R 82 of 255 = 32%
G 40 of 255 = 16%
B 56 of 255 = 22%

82
40
56

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

Portions of RGB colors in percentages

R + G + B = 82 + 40 + 56 = 178 (100%)
R 82 of 178 ~ 46.07%
G 40 of 178 ~ 22.47%
B 56 of 178 ~ 31.46'%

%46.07
%22.47
%31.46

CMYK color model

#522838 color CMYK value is (0,51,32,68).

  • cyan value is 0.00%
  • magenta value is 51.22%
  • yellow value is 31.71%
  • key color value is 67.84%

CMYK: (0,51,32,68)
C0M51Y32K68 (0%, 51%, 32%, 68%)
(0.00 / 0.51 / 0.32 / 0.68)

CMYK percentages

%0
%51.22
%31.71
%67.84

Codes

Color #522838 in popluar color models

52 28 38
RGB 82 40 56
HSL 337° 34.43% 23.92%
HSB/HSV 337° 51.22% 32.16%
CMYK 0.00% 51.22% 31.71%
67.84%

Color #522838 in popluar number systems.

HEX 52 28 38
Decimal 82 40 56
Binary 1010010 101000 111000
Octal 122 50 70

Shades and tints

Shades of #522838

#522838
(82,40,56)
#4B2533
(75,37,51)
#44222E
(68,34,46)
#3D1F29
(61,31,41)
#361C24
(54,28,36)
#2F191F
(47,25,31)
#28161A
(40,22,26)
#211315
(33,19,21)
#1A1010
(26,16,16)
#130D0B
(19,13,11)
#0C0A06
(12,10,6)
#000000
(0,0,0)

Tints of #522838

#522838
(82,40,56)
#613B4A
(97,59,74)
#704E5C
(112,78,92)
#7F616E
(127,97,110)
#8E7480
(142,116,128)
#9D8792
(157,135,146)
#AC9AA4
(172,154,164)
#BBADB6
(187,173,182)
#CAC0C8
(202,192,200)
#D9D3DA
(217,211,218)
#E8E6EC
(232,230,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #522838; }

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

This text font color is #522838.

Background Color

.myBgColor { background-color: #522838; }

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

This div background color is #522838.

Border color

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

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

This div border color is #522838.

Opacity

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

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

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

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

This text has shadow with #522838 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #522838.

Preview

Color preview on black background

This text has color #522838 on black background.


Color preview on white background

This text has color #522838 on white background.


Black color preview on #522838 background

This text has black color on #522838 background.


White color preview on #522838 background

This text has white color on #522838 background.


Related colors

Complementary color

Complementary color for #hex is #ADD7C7.


I love getcolorcode.com

Triadic colors

1 #385228 and #283852 with #522838 are triadic colors.

2 #382852 and #285238 with #522838 are triadic colors.