COLOR #512812

HEX: #512812
RGB: (81,40,18)

Color info

#512812 contains mainly red and green colors. Web safe color of #512812 is #663300 (or #630).

RGB color model

#512812 color RGB value is (81,40,18).

  • red value is 81;
  • green value is 40;
  • blue value is 18.
RGB:
(81,40,18)
(32%,16%,7%)

RGB channels and saturation

R 81 of 255 = 32%
G 40 of 255 = 16%
B 18 of 255 = 7%

81
40
18

R + G + B ~ 18%. #512812 is dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 40 + 18 = 139 (100%)
R 81 of 139 ~ 58.27%
G 40 of 139 ~ 28.78%
B 18 of 139 ~ 12.95%

%58.27
%28.78
%12.95

CMYK color model

#512812 color CMYK value is (0,51,78,68).

  • cyan value is 0.00%
  • magenta value is 50.62%
  • yellow value is 77.78%
  • key color value is 68.24%
CMYK:
(0,51,78,68)
C0M51Y78K68 
(0%,51%,78%,68%)
(0.00/0.51/0.78/0.68)	

CMYK percentages

%0
%50.62
%77.78
%68.24

Codes

Color #512812 in popluar color models

512812
RGB814018
HSL21°63.64%19.41%
HSB/HSV21°77.78%31.76%
CMYK0.00%50.62%77.78%
68.24%

Color #512812 in popluar number systems.

HEX512812
Decimal814018
Binary101000110100010010
Octal1215022

Shades and tints

Shades of #512812

#512812
(81,40,18)
#4A2511
(74,37,17)
#432210
(67,34,16)
#3C1F0F
(60,31,15)
#351C0E
(53,28,14)
#2E190D
(46,25,13)
#27160C
(39,22,12)
#20130B
(32,19,11)
#19100A
(25,16,10)
#120D09
(18,13,9)
#0B0A08
(11,10,8)
#000000
(0,0,0)

Tints of #512812

#512812
(81,40,18)
#603B27
(96,59,39)
#6F4E3C
(111,78,60)
#7E6151
(126,97,81)
#8D7466
(141,116,102)
#9C877B
(156,135,123)
#AB9A90
(171,154,144)
#BAADA5
(186,173,165)
#C9C0BA
(201,192,186)
#D8D3CF
(216,211,207)
#E7E6E4
(231,230,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512812 color. Also use rgb(81,40,18) instead hex code.

Text Font Color

.myTextColor { color: #512812; }

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

This text font color is #512812.


Background Color

.myBgColor { background-color: #512812; }

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

This div background color is #512812.


Border color

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

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

This div border color is #512812.


Opacity

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

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

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

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

This text has shadow with #512812 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512812 on black background.


Color preview on white background

This text has color #512812 on white background.



Black color preview on #512812 background

This text has black color on #512812 background.


White color preview on #512812 background

This text has white color on #512812 background.