COLOR #522842

HEX: #522842
RGB: (82,40,66)

Color info

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

RGB color model

#522842 color RGB value is (82,40,66).

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

RGB channels and saturation

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

82
40
66

R + G + B ~ 25%. #522842 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
82 + 40 + 66 = 188 (100%)
R 82 of 188 ~ 43.62%
G 40 of 188 ~ 21.28%
B 66 of 188 ~ 35.11%

%43.62
%21.28
%35.11

CMYK color model

#522842 color CMYK value is (0,51,20,68).

  • cyan value is 0.00%
  • magenta value is 51.22%
  • yellow value is 19.51%
  • key color value is 67.84%
CMYK:
(0,51,20,68)
C0M51Y20K68 
(0%,51%,20%,68%)
(0.00/0.51/0.20/0.68)	

CMYK percentages

%0
%51.22
%19.51
%67.84

Codes

Color #522842 in popluar color models

522842
RGB824066
HSL323°34.43%23.92%
HSB/HSV323°51.22%32.16%
CMYK0.00%51.22%19.51%
67.84%

Color #522842 in popluar number systems.

HEX522842
Decimal824066
Binary10100101010001000010
Octal12250102

Shades and tints

Shades of #522842

#522842
(82,40,66)
#4B253C
(75,37,60)
#442236
(68,34,54)
#3D1F30
(61,31,48)
#361C2A
(54,28,42)
#2F1924
(47,25,36)
#28161E
(40,22,30)
#211318
(33,19,24)
#1A1012
(26,16,18)
#130D0C
(19,13,12)
#0C0A06
(12,10,6)
#000000
(0,0,0)

Tints of #522842

#522842
(82,40,66)
#613B53
(97,59,83)
#704E64
(112,78,100)
#7F6175
(127,97,117)
#8E7486
(142,116,134)
#9D8797
(157,135,151)
#AC9AA8
(172,154,168)
#BBADB9
(187,173,185)
#CAC0CA
(202,192,202)
#D9D3DB
(217,211,219)
#E8E6EC
(232,230,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #522842; }

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

This text font color is #522842.


Background Color

.myBgColor { background-color: #522842; }

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

This div background color is #522842.


Border color

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

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

This div border color is #522842.


Opacity

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

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

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

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

This text has shadow with #522842 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #522842 on black background.


Color preview on white background

This text has color #522842 on white background.



Black color preview on #522842 background

This text has black color on #522842 background.


White color preview on #522842 background

This text has white color on #522842 background.