COLOR #512C5A

HEX: #512C5A RGB: (81,44,90)

Color info

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

RGB color model

#512C5A color RGB value is (81,44,90).

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

RGB channels and saturation

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

81
44
90

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

Portions of RGB colors in percentages

R + G + B = 81 + 44 + 90 = 215 (100%)
R 81 of 215 ~ 37.67%
G 44 of 215 ~ 20.47%
B 90 of 215 ~ 41.86'%

%37.67
%20.47
%41.86

CMYK color model

#512C5A color CMYK value is (10,51,0,65).

  • cyan value is 10.00%
  • magenta value is 51.11%
  • yellow value is 0.00%
  • key color value is 64.71%
CMYK: (10,51,0,65) C10M51Y0K65 (10%,51%,0%,65%) (0.10/0.51/0.00/0.65) 

CMYK percentages

%10
%51.11
%0
%64.71

Codes

Color #512C5A in popluar color models

51 2C 5A
RGB 81 44 90
HSL 288° 34.33% 26.27%
HSB/HSV 288° 51.11% 35.29%
CMYK 10.00% 51.11% 0.00%
64.71%

Color #512C5A in popluar number systems.

HEX 51 2C 5A
Decimal 81 44 90
Binary 1010001 101100 1011010
Octal 121 54 132

Shades and tints

Shades of #512C5A

#512C5A
(81,44,90)
#4A2852
(74,40,82)
#43244A
(67,36,74)
#3C2042
(60,32,66)
#351C3A
(53,28,58)
#2E1832
(46,24,50)
#27142A
(39,20,42)
#201022
(32,16,34)
#190C1A
(25,12,26)
#120812
(18,8,18)
#0B040A
(11,4,10)
#000000
(0,0,0)

Tints of #512C5A

#512C5A
(81,44,90)
#603F69
(96,63,105)
#6F5278
(111,82,120)
#7E6587
(126,101,135)
#8D7896
(141,120,150)
#9C8BA5
(156,139,165)
#AB9EB4
(171,158,180)
#BAB1C3
(186,177,195)
#C9C4D2
(201,196,210)
#D8D7E1
(216,215,225)
#E7EAF0
(231,234,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #512C5A; }

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

This text font color is #512C5A.

Background Color

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

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

This div background color is #512C5A.

Border color

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

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

This div border color is #512C5A.

Opacity

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

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

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

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

This text has shadow with #512C5A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512C5A.

Preview

Color preview on black background

This text has color #512C5A on black background.


Color preview on white background

This text has color #512C5A on white background.


Black color preview on #512C5A background

This text has black color on #512C5A background.


White color preview on #512C5A background

This text has white color on #512C5A background.


Related colors

Complementary color

Complementary color for #hex is #AED3A5.


I love getcolorcode.com

Triadic colors

1 #5A512C and #2C5A51 with #512C5A are triadic colors.

2 #5A2C51 and #2C515A with #512C5A are triadic colors.