COLOR #512731

HEX: #512731
RGB: (81,39,49)

Color info

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

RGB color model

#512731 color RGB value is (81,39,49).

  • red value is 81;
  • green value is 39;
  • blue value is 49.
RGB:
(81,39,49)
(32%,15%,19%)

RGB channels and saturation

R 81 of 255 = 32%
G 39 of 255 = 15%
B 49 of 255 = 19%

81
39
49

R + G + B ~ 22%. #512731 is dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 39 + 49 = 169 (100%)
R 81 of 169 ~ 47.93%
G 39 of 169 ~ 23.08%
B 49 of 169 ~ 28.99%

%47.93
%23.08
%28.99

CMYK color model

#512731 color CMYK value is (0,52,40,68).

  • cyan value is 0.00%
  • magenta value is 51.85%
  • yellow value is 39.51%
  • key color value is 68.24%
CMYK:
(0,52,40,68)
C0M52Y40K68 
(0%,52%,40%,68%)
(0.00/0.52/0.40/0.68)	

CMYK percentages

%0
%51.85
%39.51
%68.24

Codes

Color #512731 in popluar color models

512731
RGB813949
HSL346°35.00%23.53%
HSB/HSV346°51.85%31.76%
CMYK0.00%51.85%39.51%
68.24%

Color #512731 in popluar number systems.

HEX512731
Decimal813949
Binary1010001100111110001
Octal1214761

Shades and tints

Shades of #512731

#512731
(81,39,49)
#4A242D
(74,36,45)
#432129
(67,33,41)
#3C1E25
(60,30,37)
#351B21
(53,27,33)
#2E181D
(46,24,29)
#271519
(39,21,25)
#201215
(32,18,21)
#190F11
(25,15,17)
#120C0D
(18,12,13)
#0B0909
(11,9,9)
#000000
(0,0,0)

Tints of #512731

#512731
(81,39,49)
#603A43
(96,58,67)
#6F4D55
(111,77,85)
#7E6067
(126,96,103)
#8D7379
(141,115,121)
#9C868B
(156,134,139)
#AB999D
(171,153,157)
#BAACAF
(186,172,175)
#C9BFC1
(201,191,193)
#D8D2D3
(216,210,211)
#E7E5E5
(231,229,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512731 color. Also use rgb(81,39,49) instead hex code.

Text Font Color

.myTextColor { color: #512731; }

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

This text font color is #512731.


Background Color

.myBgColor { background-color: #512731; }

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

This div background color is #512731.


Border color

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

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

This div border color is #512731.


Opacity

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

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

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

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

This text has shadow with #512731 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512731 on black background.


Color preview on white background

This text has color #512731 on white background.



Black color preview on #512731 background

This text has black color on #512731 background.


White color preview on #512731 background

This text has white color on #512731 background.