COLOR #520228

HEX: #520228 RGB: (82,2,40)

Color info

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

RGB color model

#520228 color RGB value is (82,2,40).

RGB: (82,2,40) (32%, 1%, 16%)

RGB channels and saturation

R 82 of 255 = 32%
G 2 of 255 = 1%
B 40 of 255 = 16%

82
2
40

R + G + B ~ 16%. #520228 is dark color.

Portions of RGB colors in percentages

R + G + B = 82 + 2 + 40 = 124 (100%)
R 82 of 124 ~ 66.13%
G 2 of 124 ~ 1.61%
B 40 of 124 ~ 32.26'%

%66.13
%32.26

CMYK color model

#520228 color CMYK value is (0,98,51,68).

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

CMYK: (0,98,51,68)
C0M98Y51K68 (0%, 98%, 51%, 68%)
(0.00 / 0.98 / 0.51 / 0.68)

CMYK percentages

%0
%97.56
%51.22
%67.84

Codes

Color #520228 in popluar color models

52 02 28
RGB 82 2 40
HSL 332° 95.24% 16.47%
HSB/HSV 332° 97.56% 32.16%
CMYK 0.00% 97.56% 51.22%
67.84%

Color #520228 in popluar number systems.

HEX 52 02 28
Decimal 82 2 40
Binary 1010010 10 101000
Octal 122 2 50

Shades and tints

Shades of #520228

#520228
(82,2,40)
#4B0225
(75,2,37)
#440222
(68,2,34)
#3D021F
(61,2,31)
#36021C
(54,2,28)
#2F0219
(47,2,25)
#280216
(40,2,22)
#210213
(33,2,19)
#1A0210
(26,2,16)
#13020D
(19,2,13)
#0C020A
(12,2,10)
#000000
(0,0,0)

Tints of #520228

#520228
(82,2,40)
#61193B
(97,25,59)
#70304E
(112,48,78)
#7F4761
(127,71,97)
#8E5E74
(142,94,116)
#9D7587
(157,117,135)
#AC8C9A
(172,140,154)
#BBA3AD
(187,163,173)
#CABAC0
(202,186,192)
#D9D1D3
(217,209,211)
#E8E8E6
(232,232,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #520228; }

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

This text font color is #520228.

Background Color

.myBgColor { background-color: #520228; }

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

This div background color is #520228.

Border color

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

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

This div border color is #520228.

Opacity

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

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

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

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

This text has shadow with #520228 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #520228.

Preview

Color preview on black background

This text has color #520228 on black background.


Color preview on white background

This text has color #520228 on white background.


Black color preview on #520228 background

This text has black color on #520228 background.


White color preview on #520228 background

This text has white color on #520228 background.


Related colors

Complementary color

Complementary color for #hex is #ADFDD7.


I love getcolorcode.com

Triadic colors

1 #285202 and #022852 with #520228 are triadic colors.

2 #280252 and #025228 with #520228 are triadic colors.