COLOR #512A4E

HEX: #512A4E
RGB: (81,42,78)

Color info

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

RGB color model

#512A4E color RGB value is (81,42,78).

  • red value is 81;
  • green value is 42;
  • blue value is 78.
RGB:
(81,42,78)
(32%,16%,31%)

RGB channels and saturation

R 81 of 255 = 32%
G 42 of 255 = 16%
B 78 of 255 = 31%

81
42
78

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

Portions of RGB colors in percentages

R + G + B =
81 + 42 + 78 = 201 (100%)
R 81 of 201 ~ 40.3%
G 42 of 201 ~ 20.9%
B 78 of 201 ~ 38.81%

%40.3
%20.9
%38.81

CMYK color model

#512A4E color CMYK value is (0,48,4,68).

  • cyan value is 0.00%
  • magenta value is 48.15%
  • yellow value is 3.70%
  • key color value is 68.24%
CMYK:
(0,48,4,68)
C0M48Y4K68 
(0%,48%,4%,68%)
(0.00/0.48/0.04/0.68)	

CMYK percentages

%0
%48.15
%3.7
%68.24

Codes

Color #512A4E in popluar color models

512A4E
RGB814278
HSL305°31.71%24.12%
HSB/HSV305°48.15%31.76%
CMYK0.00%48.15%3.70%
68.24%

Color #512A4E in popluar number systems.

HEX512A4E
Decimal814278
Binary10100011010101001110
Octal12152116

Shades and tints

Shades of #512A4E

#512A4E
(81,42,78)
#4A2747
(74,39,71)
#432440
(67,36,64)
#3C2139
(60,33,57)
#351E32
(53,30,50)
#2E1B2B
(46,27,43)
#271824
(39,24,36)
#20151D
(32,21,29)
#191216
(25,18,22)
#120F0F
(18,15,15)
#0B0C08
(11,12,8)
#000000
(0,0,0)

Tints of #512A4E

#512A4E
(81,42,78)
#603D5E
(96,61,94)
#6F506E
(111,80,110)
#7E637E
(126,99,126)
#8D768E
(141,118,142)
#9C899E
(156,137,158)
#AB9CAE
(171,156,174)
#BAAFBE
(186,175,190)
#C9C2CE
(201,194,206)
#D8D5DE
(216,213,222)
#E7E8EE
(231,232,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #512A4E; }

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

This text font color is #512A4E.


Background Color

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

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

This div background color is #512A4E.


Border color

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

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

This div border color is #512A4E.


Opacity

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

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

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

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

This text has shadow with #512A4E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512A4E on black background.


Color preview on white background

This text has color #512A4E on white background.



Black color preview on #512A4E background

This text has black color on #512A4E background.


White color preview on #512A4E background

This text has white color on #512A4E background.