COLOR #520E2A

HEX: #520E2A
RGB: (82,14,42)

Color info

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

RGB color model

#520E2A color RGB value is (82,14,42).

  • red value is 82;
  • green value is 14;
  • blue value is 42.
RGB:
(82,14,42)
(32%,5%,16%)

RGB channels and saturation

R 82 of 255 = 32%
G 14 of 255 = 5%
B 42 of 255 = 16%

82
14
42

R + G + B ~ 18%. #520E2A is dark color.

Portions of RGB colors in percentages

R + G + B =
82 + 14 + 42 = 138 (100%)
R 82 of 138 ~ 59.42%
G 14 of 138 ~ 10.14%
B 42 of 138 ~ 30.43%

%59.42
%10.14
%30.43

CMYK color model

#520E2A color CMYK value is (0,83,49,68).

  • cyan value is 0.00%
  • magenta value is 82.93%
  • yellow value is 48.78%
  • key color value is 67.84%
CMYK:
(0,83,49,68)
C0M83Y49K68 
(0%,83%,49%,68%)
(0.00/0.83/0.49/0.68)	

CMYK percentages

%0
%82.93
%48.78
%67.84

Codes

Color #520E2A in popluar color models

520E2A
RGB821442
HSL335°70.83%18.82%
HSB/HSV335°82.93%32.16%
CMYK0.00%82.93%48.78%
67.84%

Color #520E2A in popluar number systems.

HEX520E2A
Decimal821442
Binary10100101110101010
Octal1221652

Shades and tints

Shades of #520E2A

#520E2A
(82,14,42)
#4B0D27
(75,13,39)
#440C24
(68,12,36)
#3D0B21
(61,11,33)
#360A1E
(54,10,30)
#2F091B
(47,9,27)
#280818
(40,8,24)
#210715
(33,7,21)
#1A0612
(26,6,18)
#13050F
(19,5,15)
#0C040C
(12,4,12)
#000000
(0,0,0)

Tints of #520E2A

#520E2A
(82,14,42)
#61233D
(97,35,61)
#703850
(112,56,80)
#7F4D63
(127,77,99)
#8E6276
(142,98,118)
#9D7789
(157,119,137)
#AC8C9C
(172,140,156)
#BBA1AF
(187,161,175)
#CAB6C2
(202,182,194)
#D9CBD5
(217,203,213)
#E8E0E8
(232,224,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #520E2A color. Also use rgb(82,14,42) instead hex code.

Text Font Color

.myTextColor { color: #520E2A; }

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

This text font color is #520E2A.


Background Color

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

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

This div background color is #520E2A.


Border color

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

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

This div border color is #520E2A.


Opacity

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

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

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

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

This text has shadow with #520E2A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #520E2A on black background.


Color preview on white background

This text has color #520E2A on white background.



Black color preview on #520E2A background

This text has black color on #520E2A background.


White color preview on #520E2A background

This text has white color on #520E2A background.