COLOR #512252

HEX: #512252 RGB: (81,34,82)

Color info

#512252 contains red, green and blue colors in about the same proportion. Web safe color of #512252 is #663366 (or #636).

RGB color model

#512252 color RGB value is (81,34,82).

RGB: (81,34,82) (32%, 13%, 32%)

RGB channels and saturation

R 81 of 255 = 32%
G 34 of 255 = 13%
B 82 of 255 = 32%

81
34
82

R + G + B ~ 26%. #512252 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 34 + 82 = 197 (100%)
R 81 of 197 ~ 41.12%
G 34 of 197 ~ 17.26%
B 82 of 197 ~ 41.62'%

%41.12
%17.26
%41.62

CMYK color model

#512252 color CMYK value is (1,59,0,68).

  • cyan value is 1.22%
  • magenta value is 58.54%
  • yellow value is 0.00%
  • key color value is 67.84%

CMYK: (1,59,0,68)
C1M59Y0K68 (1%, 59%, 0%, 68%)
(0.01 / 0.59 / 0.00 / 0.68)

CMYK percentages

%1.22
%58.54
%0
%67.84

Codes

Color #512252 in popluar color models

51 22 52
RGB 81 34 82
HSL 299° 41.38% 22.75%
HSB/HSV 299° 58.54% 32.16%
CMYK 1.22% 58.54% 0.00%
67.84%

Color #512252 in popluar number systems.

HEX 51 22 52
Decimal 81 34 82
Binary 1010001 100010 1010010
Octal 121 42 122

Shades and tints

Shades of #512252

#512252
(81,34,82)
#4A1F4B
(74,31,75)
#431C44
(67,28,68)
#3C193D
(60,25,61)
#351636
(53,22,54)
#2E132F
(46,19,47)
#271028
(39,16,40)
#200D21
(32,13,33)
#190A1A
(25,10,26)
#120713
(18,7,19)
#0B040C
(11,4,12)
#000000
(0,0,0)

Tints of #512252

#512252
(81,34,82)
#603661
(96,54,97)
#6F4A70
(111,74,112)
#7E5E7F
(126,94,127)
#8D728E
(141,114,142)
#9C869D
(156,134,157)
#AB9AAC
(171,154,172)
#BAAEBB
(186,174,187)
#C9C2CA
(201,194,202)
#D8D6D9
(216,214,217)
#E7EAE8
(231,234,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #512252; }

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

This text font color is #512252.

Background Color

.myBgColor { background-color: #512252; }

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

This div background color is #512252.

Border color

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

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

This div border color is #512252.

Opacity

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

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

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

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

This text has shadow with #512252 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512252.

Preview

Color preview on black background

This text has color #512252 on black background.


Color preview on white background

This text has color #512252 on white background.


Black color preview on #512252 background

This text has black color on #512252 background.


White color preview on #512252 background

This text has white color on #512252 background.


Related colors

Complementary color

Complementary color for #hex is #AEDDAD.


I love getcolorcode.com

Triadic colors

1 #525122 and #225251 with #512252 are triadic colors.

2 #522251 and #225152 with #512252 are triadic colors.