COLOR #512247

HEX: #512247
RGB: (81,34,71)

Color info

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

RGB color model

#512247 color RGB value is (81,34,71).

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

RGB channels and saturation

R 81 of 255 = 32%
G 34 of 255 = 13%
B 71 of 255 = 28%

81
34
71

R + G + B ~ 24%. #512247 is dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 34 + 71 = 186 (100%)
R 81 of 186 ~ 43.55%
G 34 of 186 ~ 18.28%
B 71 of 186 ~ 38.17%

%43.55
%18.28
%38.17

CMYK color model

#512247 color CMYK value is (0,58,12,68).

  • cyan value is 0.00%
  • magenta value is 58.02%
  • yellow value is 12.35%
  • key color value is 68.24%
CMYK:
(0,58,12,68)
C0M58Y12K68 
(0%,58%,12%,68%)
(0.00/0.58/0.12/0.68)	

CMYK percentages

%0
%58.02
%12.35
%68.24

Codes

Color #512247 in popluar color models

512247
RGB813471
HSL313°40.87%22.55%
HSB/HSV313°58.02%31.76%
CMYK0.00%58.02%12.35%
68.24%

Color #512247 in popluar number systems.

HEX512247
Decimal813471
Binary10100011000101000111
Octal12142107

Shades and tints

Shades of #512247

#512247
(81,34,71)
#4A1F41
(74,31,65)
#431C3B
(67,28,59)
#3C1935
(60,25,53)
#35162F
(53,22,47)
#2E1329
(46,19,41)
#271023
(39,16,35)
#200D1D
(32,13,29)
#190A17
(25,10,23)
#120711
(18,7,17)
#0B040B
(11,4,11)
#000000
(0,0,0)

Tints of #512247

#512247
(81,34,71)
#603657
(96,54,87)
#6F4A67
(111,74,103)
#7E5E77
(126,94,119)
#8D7287
(141,114,135)
#9C8697
(156,134,151)
#AB9AA7
(171,154,167)
#BAAEB7
(186,174,183)
#C9C2C7
(201,194,199)
#D8D6D7
(216,214,215)
#E7EAE7
(231,234,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #512247; }

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

This text font color is #512247.


Background Color

.myBgColor { background-color: #512247; }

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

This div background color is #512247.


Border color

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

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

This div border color is #512247.


Opacity

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

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

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

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

This text has shadow with #512247 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512247 on black background.


Color preview on white background

This text has color #512247 on white background.



Black color preview on #512247 background

This text has black color on #512247 background.


White color preview on #512247 background

This text has white color on #512247 background.