COLOR #512960

HEX: #512960 RGB: (81,41,96)

Color info

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

RGB color model

#512960 color RGB value is (81,41,96).

RGB: (81,41,96) (32%, 16%, 38%)

RGB channels and saturation

R 81 of 255 = 32%
G 41 of 255 = 16%
B 96 of 255 = 38%

81
41
96

R + G + B ~ 29%. #512960 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 41 + 96 = 218 (100%)
R 81 of 218 ~ 37.16%
G 41 of 218 ~ 18.81%
B 96 of 218 ~ 44.04'%

%37.16
%18.81
%44.04

CMYK color model

#512960 color CMYK value is (16,57,0,62).

  • cyan value is 15.63%
  • magenta value is 57.29%
  • yellow value is 0.00%
  • key color value is 62.35%

CMYK: (16,57,0,62)
C16M57Y0K62 (16%, 57%, 0%, 62%)
(0.16 / 0.57 / 0.00 / 0.62)

CMYK percentages

%15.63
%57.29
%0
%62.35

Codes

Color #512960 in popluar color models

51 29 60
RGB 81 41 96
HSL 284° 40.15% 26.86%
HSB/HSV 284° 57.29% 37.65%
CMYK 15.63% 57.29% 0.00%
62.35%

Color #512960 in popluar number systems.

HEX 51 29 60
Decimal 81 41 96
Binary 1010001 101001 1100000
Octal 121 51 140

Shades and tints

Shades of #512960

#512960
(81,41,96)
#4A2658
(74,38,88)
#432350
(67,35,80)
#3C2048
(60,32,72)
#351D40
(53,29,64)
#2E1A38
(46,26,56)
#271730
(39,23,48)
#201428
(32,20,40)
#191120
(25,17,32)
#120E18
(18,14,24)
#0B0B10
(11,11,16)
#000000
(0,0,0)

Tints of #512960

#512960
(81,41,96)
#603C6E
(96,60,110)
#6F4F7C
(111,79,124)
#7E628A
(126,98,138)
#8D7598
(141,117,152)
#9C88A6
(156,136,166)
#AB9BB4
(171,155,180)
#BAAEC2
(186,174,194)
#C9C1D0
(201,193,208)
#D8D4DE
(216,212,222)
#E7E7EC
(231,231,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512960 color. Also use rgb(81,41,96) instead hex code.

Text Font Color

.myTextColor { color: #512960; }

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

This text font color is #512960.

Background Color

.myBgColor { background-color: #512960; }

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

This div background color is #512960.

Border color

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

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

This div border color is #512960.

Opacity

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

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

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

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

This text has shadow with #512960 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512960.

Preview

Color preview on black background

This text has color #512960 on black background.


Color preview on white background

This text has color #512960 on white background.


Black color preview on #512960 background

This text has black color on #512960 background.


White color preview on #512960 background

This text has white color on #512960 background.


Related colors

Complementary color

Complementary color for #hex is #AED69F.


I love getcolorcode.com

Triadic colors

1 #605129 and #296051 with #512960 are triadic colors.

2 #602951 and #295160 with #512960 are triadic colors.