COLOR #520C22

HEX: #520C22
RGB: (82,12,34)

Color info

#520C22 contains mainly red and blue colors. Web safe color of #520C22 is #660033 (or #603).

RGB color model

#520C22 color RGB value is (82,12,34).

  • red value is 82;
  • green value is 12;
  • blue value is 34.
RGB:
(82,12,34)
(32%,5%,13%)

RGB channels and saturation

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

82
12
34

R + G + B ~ 17%. #520C22 is dark color.

Portions of RGB colors in percentages

R + G + B =
82 + 12 + 34 = 128 (100%)
R 82 of 128 ~ 64.06%
G 12 of 128 ~ 9.38%
B 34 of 128 ~ 26.56%

%64.06
%26.56

CMYK color model

#520C22 color CMYK value is (0,85,59,68).

  • cyan value is 0.00%
  • magenta value is 85.37%
  • yellow value is 58.54%
  • key color value is 67.84%
CMYK:
(0,85,59,68)
C0M85Y59K68 
(0%,85%,59%,68%)
(0.00/0.85/0.59/0.68)	

CMYK percentages

%0
%85.37
%58.54
%67.84

Codes

Color #520C22 in popluar color models

520C22
RGB821234
HSL341°74.47%18.43%
HSB/HSV341°85.37%32.16%
CMYK0.00%85.37%58.54%
67.84%

Color #520C22 in popluar number systems.

HEX520C22
Decimal821234
Binary10100101100100010
Octal1221442

Shades and tints

Shades of #520C22

#520C22
(82,12,34)
#4B0B1F
(75,11,31)
#440A1C
(68,10,28)
#3D0919
(61,9,25)
#360816
(54,8,22)
#2F0713
(47,7,19)
#280610
(40,6,16)
#21050D
(33,5,13)
#1A040A
(26,4,10)
#130307
(19,3,7)
#0C0204
(12,2,4)
#000000
(0,0,0)

Tints of #520C22

#520C22
(82,12,34)
#612236
(97,34,54)
#70384A
(112,56,74)
#7F4E5E
(127,78,94)
#8E6472
(142,100,114)
#9D7A86
(157,122,134)
#AC909A
(172,144,154)
#BBA6AE
(187,166,174)
#CABCC2
(202,188,194)
#D9D2D6
(217,210,214)
#E8E8EA
(232,232,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #520C22; }

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

This text font color is #520C22.


Background Color

.myBgColor { background-color: #520C22; }

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

This div background color is #520C22.


Border color

.myBorderColor { border: 1px solid #520C22; }

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

This div border color is #520C22.


Opacity

.myOpacity80 { color: #520C22; opacity: 0.8; }

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

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

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

This text has shadow with #520C22 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #520C22 on black background.


Color preview on white background

This text has color #520C22 on white background.



Black color preview on #520C22 background

This text has black color on #520C22 background.


White color preview on #520C22 background

This text has white color on #520C22 background.