COLOR #512A57

HEX: #512A57 RGB: (81,42,87)

Color info

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

RGB color model

#512A57 color RGB value is (81,42,87).

RGB: (81,42,87) (32%, 16%, 34%)

RGB channels and saturation

R 81 of 255 = 32%
G 42 of 255 = 16%
B 87 of 255 = 34%

81
42
87

R + G + B ~ 27%. #512A57 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 42 + 87 = 210 (100%)
R 81 of 210 ~ 38.57%
G 42 of 210 ~ 20%
B 87 of 210 ~ 41.43'%

%38.57
%20
%41.43

CMYK color model

#512A57 color CMYK value is (7,52,0,66).

  • cyan value is 6.90%
  • magenta value is 51.72%
  • yellow value is 0.00%
  • key color value is 65.88%
CMYK: (7,52,0,66) C7M52Y0K66 (7%,52%,0%,66%) (0.07/0.52/0.00/0.66) 

CMYK percentages

%6.9
%51.72
%0
%65.88

Codes

Color #512A57 in popluar color models

51 2A 57
RGB 81 42 87
HSL 292° 34.88% 25.29%
HSB/HSV 292° 51.72% 34.12%
CMYK 6.90% 51.72% 0.00%
65.88%

Color #512A57 in popluar number systems.

HEX 51 2A 57
Decimal 81 42 87
Binary 1010001 101010 1010111
Octal 121 52 127

Shades and tints

Shades of #512A57

#512A57
(81,42,87)
#4A2750
(74,39,80)
#432449
(67,36,73)
#3C2142
(60,33,66)
#351E3B
(53,30,59)
#2E1B34
(46,27,52)
#27182D
(39,24,45)
#201526
(32,21,38)
#19121F
(25,18,31)
#120F18
(18,15,24)
#0B0C11
(11,12,17)
#000000
(0,0,0)

Tints of #512A57

#512A57
(81,42,87)
#603D66
(96,61,102)
#6F5075
(111,80,117)
#7E6384
(126,99,132)
#8D7693
(141,118,147)
#9C89A2
(156,137,162)
#AB9CB1
(171,156,177)
#BAAFC0
(186,175,192)
#C9C2CF
(201,194,207)
#D8D5DE
(216,213,222)
#E7E8ED
(231,232,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512A57 color. Also use rgb(81,42,87) instead hex code.

Text Font Color

.myTextColor { color: #512A57; }

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

This text font color is #512A57.

Background Color

.myBgColor { background-color: #512A57; }

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

This div background color is #512A57.

Border color

.myBorderColor { border: 1px solid #512A57; }

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

This div border color is #512A57.

Opacity

.myOpacity80 { color: #512A57; opacity: 0.8; }

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

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

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

This text has shadow with #512A57 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512A57.

Preview

Color preview on black background

This text has color #512A57 on black background.


Color preview on white background

This text has color #512A57 on white background.


Black color preview on #512A57 background

This text has black color on #512A57 background.


White color preview on #512A57 background

This text has white color on #512A57 background.


Related colors

Complementary color

Complementary color for #hex is #AED5A8.


I love getcolorcode.com

Triadic colors

1 #57512A and #2A5751 with #512A57 are triadic colors.

2 #572A51 and #2A5157 with #512A57 are triadic colors.