COLOR #512C58

HEX: #512C58 RGB: (81,44,88)

Color info

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

RGB color model

#512C58 color RGB value is (81,44,88).

RGB: (81,44,88) (32%, 17%, 35%)

RGB channels and saturation

R 81 of 255 = 32%
G 44 of 255 = 17%
B 88 of 255 = 35%

81
44
88

R + G + B ~ 28%. #512C58 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 44 + 88 = 213 (100%)
R 81 of 213 ~ 38.03%
G 44 of 213 ~ 20.66%
B 88 of 213 ~ 41.31'%

%38.03
%20.66
%41.31

CMYK color model

#512C58 color CMYK value is (8,50,0,65).

  • cyan value is 7.95%
  • magenta value is 50.00%
  • yellow value is 0.00%
  • key color value is 65.49%

CMYK: (8,50,0,65)
C8M50Y0K65 (8%, 50%, 0%, 65%)
(0.08 / 0.50 / 0.00 / 0.65)

CMYK percentages

%7.95
%50
%0
%65.49

Codes

Color #512C58 in popluar color models

51 2C 58
RGB 81 44 88
HSL 290° 33.33% 25.88%
HSB/HSV 290° 50.00% 34.51%
CMYK 7.95% 50.00% 0.00%
65.49%

Color #512C58 in popluar number systems.

HEX 51 2C 58
Decimal 81 44 88
Binary 1010001 101100 1011000
Octal 121 54 130

Shades and tints

Shades of #512C58

#512C58
(81,44,88)
#4A2850
(74,40,80)
#432448
(67,36,72)
#3C2040
(60,32,64)
#351C38
(53,28,56)
#2E1830
(46,24,48)
#271428
(39,20,40)
#201020
(32,16,32)
#190C18
(25,12,24)
#120810
(18,8,16)
#0B0408
(11,4,8)
#000000
(0,0,0)

Tints of #512C58

#512C58
(81,44,88)
#603F67
(96,63,103)
#6F5276
(111,82,118)
#7E6585
(126,101,133)
#8D7894
(141,120,148)
#9C8BA3
(156,139,163)
#AB9EB2
(171,158,178)
#BAB1C1
(186,177,193)
#C9C4D0
(201,196,208)
#D8D7DF
(216,215,223)
#E7EAEE
(231,234,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512C58 color. Also use rgb(81,44,88) instead hex code.

Text Font Color

.myTextColor { color: #512C58; }

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

This text font color is #512C58.

Background Color

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

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

This div background color is #512C58.

Border color

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

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

This div border color is #512C58.

Opacity

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

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

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

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

This text has shadow with #512C58 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512C58.

Preview

Color preview on black background

This text has color #512C58 on black background.


Color preview on white background

This text has color #512C58 on white background.


Black color preview on #512C58 background

This text has black color on #512C58 background.


White color preview on #512C58 background

This text has white color on #512C58 background.


Related colors

Complementary color

Complementary color for #hex is #AED3A7.


I love getcolorcode.com

Triadic colors

1 #58512C and #2C5851 with #512C58 are triadic colors.

2 #582C51 and #2C5158 with #512C58 are triadic colors.