COLOR #512A1E

HEX: #512A1E
RGB: (81,42,30)

Color info

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

RGB color model

#512A1E color RGB value is (81,42,30).

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

RGB channels and saturation

R 81 of 255 = 32%
G 42 of 255 = 16%
B 30 of 255 = 12%

81
42
30

R + G + B ~ 20%. #512A1E is dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 42 + 30 = 153 (100%)
R 81 of 153 ~ 52.94%
G 42 of 153 ~ 27.45%
B 30 of 153 ~ 19.61%

%52.94
%27.45
%19.61

CMYK color model

#512A1E color CMYK value is (0,48,63,68).

  • cyan value is 0.00%
  • magenta value is 48.15%
  • yellow value is 62.96%
  • key color value is 68.24%
CMYK: (0,48,63,68) C0M48Y63K68 (0%,48%,63%,68%) (0.00/0.48/0.63/0.68)

CMYK percentages

%0
%48.15
%62.96
%68.24

Codes

Color #512A1E in popluar color models

512A1E
RGB814230
HSL14°45.95%21.76%
HSB/HSV14°62.96%31.76%
CMYK0.00%48.15%62.96%
68.24%

Color #512A1E in popluar number systems.

HEX512A1E
Decimal814230
Binary101000110101011110
Octal1215236

Shades and tints

Shades of #512A1E

#512A1E
(81,42,30)
#4A271C
(74,39,28)
#43241A
(67,36,26)
#3C2118
(60,33,24)
#351E16
(53,30,22)
#2E1B14
(46,27,20)
#271812
(39,24,18)
#201510
(32,21,16)
#19120E
(25,18,14)
#120F0C
(18,15,12)
#0B0C0A
(11,12,10)
#000000
(0,0,0)

Tints of #512A1E

#512A1E
(81,42,30)
#603D32
(96,61,50)
#6F5046
(111,80,70)
#7E635A
(126,99,90)
#8D766E
(141,118,110)
#9C8982
(156,137,130)
#AB9C96
(171,156,150)
#BAAFAA
(186,175,170)
#C9C2BE
(201,194,190)
#D8D5D2
(216,213,210)
#E7E8E6
(231,232,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #512A1E; }

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

This text font color is #512A1E.


Background Color

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

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

This div background color is #512A1E.


Border color

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

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

This div border color is #512A1E.


Opacity

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

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

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

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

This text has shadow with #512A1E color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #512A1E on black background.


Color preview on white background

This text has color #512A1E on white background.



Black color preview on #512A1E background

This text has black color on #512A1E background.


White color preview on #512A1E background

This text has white color on #512A1E background.