COLOR #520C45

HEX: #520C45 RGB: (82,12,69)

Color info

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

RGB color model

#520C45 color RGB value is (82,12,69).

RGB: (82,12,69) (32%, 5%, 27%)

RGB channels and saturation

R 82 of 255 = 32%
G 12 of 255 = 5%
B 69 of 255 = 27%

82
12
69

R + G + B ~ 21%. #520C45 is dark color.

Portions of RGB colors in percentages

R + G + B = 82 + 12 + 69 = 163 (100%)
R 82 of 163 ~ 50.31%
G 12 of 163 ~ 7.36%
B 69 of 163 ~ 42.33'%

%50.31
%42.33

CMYK color model

#520C45 color CMYK value is (0,85,16,68).

  • cyan value is 0.00%
  • magenta value is 85.37%
  • yellow value is 15.85%
  • key color value is 67.84%

CMYK: (0,85,16,68)
C0M85Y16K68 (0%, 85%, 16%, 68%)
(0.00 / 0.85 / 0.16 / 0.68)

CMYK percentages

%0
%85.37
%15.85
%67.84

Codes

Color #520C45 in popluar color models

52 0C 45
RGB 82 12 69
HSL 311° 74.47% 18.43%
HSB/HSV 311° 85.37% 32.16%
CMYK 0.00% 85.37% 15.85%
67.84%

Color #520C45 in popluar number systems.

HEX 52 0C 45
Decimal 82 12 69
Binary 1010010 1100 1000101
Octal 122 14 105

Shades and tints

Shades of #520C45

#520C45
(82,12,69)
#4B0B3F
(75,11,63)
#440A39
(68,10,57)
#3D0933
(61,9,51)
#36082D
(54,8,45)
#2F0727
(47,7,39)
#280621
(40,6,33)
#21051B
(33,5,27)
#1A0415
(26,4,21)
#13030F
(19,3,15)
#0C0209
(12,2,9)
#000000
(0,0,0)

Tints of #520C45

#520C45
(82,12,69)
#612255
(97,34,85)
#703865
(112,56,101)
#7F4E75
(127,78,117)
#8E6485
(142,100,133)
#9D7A95
(157,122,149)
#AC90A5
(172,144,165)
#BBA6B5
(187,166,181)
#CABCC5
(202,188,197)
#D9D2D5
(217,210,213)
#E8E8E5
(232,232,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #520C45; }

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

This text font color is #520C45.

Background Color

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

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

This div background color is #520C45.

Border color

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

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

This div border color is #520C45.

Opacity

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

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

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

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

This text has shadow with #520C45 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #520C45.

Preview

Color preview on black background

This text has color #520C45 on black background.


Color preview on white background

This text has color #520C45 on white background.


Black color preview on #520C45 background

This text has black color on #520C45 background.


White color preview on #520C45 background

This text has white color on #520C45 background.


Related colors

Complementary color

Complementary color for #hex is #ADF3BA.


I love getcolorcode.com

Triadic colors

1 #45520C and #0C4552 with #520C45 are triadic colors.

2 #450C52 and #0C5245 with #520C45 are triadic colors.