COLOR #512A47

HEX: #512A47
RGB: (81,42,71)

Color info

#512A47 contains red, green and blue colors in about the same proportion. Web safe color of #512A47 is #663333 (or #633).

RGB color model

#512A47 color RGB value is (81,42,71).

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

RGB channels and saturation

R 81 of 255 = 32%
G 42 of 255 = 16%
B 71 of 255 = 28%

81
42
71

R + G + B ~ 25%. #512A47 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 42 + 71 = 194 (100%)
R 81 of 194 ~ 41.75%
G 42 of 194 ~ 21.65%
B 71 of 194 ~ 36.6%

%41.75
%21.65
%36.6

CMYK color model

#512A47 color CMYK value is (0,48,12,68).

  • cyan value is 0.00%
  • magenta value is 48.15%
  • yellow value is 12.35%
  • key color value is 68.24%
CMYK:
(0,48,12,68)
C0M48Y12K68 
(0%,48%,12%,68%)
(0.00/0.48/0.12/0.68)	

CMYK percentages

%0
%48.15
%12.35
%68.24

Codes

Color #512A47 in popluar color models

512A47
RGB814271
HSL315°31.71%24.12%
HSB/HSV315°48.15%31.76%
CMYK0.00%48.15%12.35%
68.24%

Color #512A47 in popluar number systems.

HEX512A47
Decimal814271
Binary10100011010101000111
Octal12152107

Shades and tints

Shades of #512A47

#512A47
(81,42,71)
#4A2741
(74,39,65)
#43243B
(67,36,59)
#3C2135
(60,33,53)
#351E2F
(53,30,47)
#2E1B29
(46,27,41)
#271823
(39,24,35)
#20151D
(32,21,29)
#191217
(25,18,23)
#120F11
(18,15,17)
#0B0C0B
(11,12,11)
#000000
(0,0,0)

Tints of #512A47

#512A47
(81,42,71)
#603D57
(96,61,87)
#6F5067
(111,80,103)
#7E6377
(126,99,119)
#8D7687
(141,118,135)
#9C8997
(156,137,151)
#AB9CA7
(171,156,167)
#BAAFB7
(186,175,183)
#C9C2C7
(201,194,199)
#D8D5D7
(216,213,215)
#E7E8E7
(231,232,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #512A47; }

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

This text font color is #512A47.


Background Color

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

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

This div background color is #512A47.


Border color

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

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

This div border color is #512A47.


Opacity

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

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

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

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

This text has shadow with #512A47 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512A47 on black background.


Color preview on white background

This text has color #512A47 on white background.



Black color preview on #512A47 background

This text has black color on #512A47 background.


White color preview on #512A47 background

This text has white color on #512A47 background.