COLOR #512A3F

HEX: #512A3F
RGB: (81,42,63)

Color info

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

RGB color model

#512A3F color RGB value is (81,42,63).

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

RGB channels and saturation

R 81 of 255 = 32%
G 42 of 255 = 16%
B 63 of 255 = 25%

81
42
63

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

Portions of RGB colors in percentages

R + G + B =
81 + 42 + 63 = 186 (100%)
R 81 of 186 ~ 43.55%
G 42 of 186 ~ 22.58%
B 63 of 186 ~ 33.87%

%43.55
%22.58
%33.87

CMYK color model

#512A3F color CMYK value is (0,48,22,68).

  • cyan value is 0.00%
  • magenta value is 48.15%
  • yellow value is 22.22%
  • key color value is 68.24%
CMYK:
(0,48,22,68)
C0M48Y22K68 
(0%,48%,22%,68%)
(0.00/0.48/0.22/0.68)	

CMYK percentages

%0
%48.15
%22.22
%68.24

Codes

Color #512A3F in popluar color models

512A3F
RGB814263
HSL328°31.71%24.12%
HSB/HSV328°48.15%31.76%
CMYK0.00%48.15%22.22%
68.24%

Color #512A3F in popluar number systems.

HEX512A3F
Decimal814263
Binary1010001101010111111
Octal1215277

Shades and tints

Shades of #512A3F

#512A3F
(81,42,63)
#4A273A
(74,39,58)
#432435
(67,36,53)
#3C2130
(60,33,48)
#351E2B
(53,30,43)
#2E1B26
(46,27,38)
#271821
(39,24,33)
#20151C
(32,21,28)
#191217
(25,18,23)
#120F12
(18,15,18)
#0B0C0D
(11,12,13)
#000000
(0,0,0)

Tints of #512A3F

#512A3F
(81,42,63)
#603D50
(96,61,80)
#6F5061
(111,80,97)
#7E6372
(126,99,114)
#8D7683
(141,118,131)
#9C8994
(156,137,148)
#AB9CA5
(171,156,165)
#BAAFB6
(186,175,182)
#C9C2C7
(201,194,199)
#D8D5D8
(216,213,216)
#E7E8E9
(231,232,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #512A3F; }

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

This text font color is #512A3F.


Background Color

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

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

This div background color is #512A3F.


Border color

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

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

This div border color is #512A3F.


Opacity

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

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

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

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

This text has shadow with #512A3F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512A3F on black background.


Color preview on white background

This text has color #512A3F on white background.



Black color preview on #512A3F background

This text has black color on #512A3F background.


White color preview on #512A3F background

This text has white color on #512A3F background.