COLOR #512A12

HEX: #512A12 RGB: (81,42,18)

Color info

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

RGB color model

#512A12 color RGB value is (81,42,18).

RGB: (81,42,18) (32%, 16%, 7%)

RGB channels and saturation

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

81
42
18

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

Portions of RGB colors in percentages

R + G + B = 81 + 42 + 18 = 141 (100%)
R 81 of 141 ~ 57.45%
G 42 of 141 ~ 29.79%
B 18 of 141 ~ 12.77'%

%57.45
%29.79
%12.77

CMYK color model

#512A12 color CMYK value is (0,48,78,68).

  • cyan value is 0.00%
  • magenta value is 48.15%
  • yellow value is 77.78%
  • key color value is 68.24%

CMYK: (0,48,78,68)
C0M48Y78K68 (0%, 48%, 78%, 68%)
(0.00 / 0.48 / 0.78 / 0.68)

CMYK percentages

%0
%48.15
%77.78
%68.24

Codes

Color #512A12 in popluar color models

51 2A 12
RGB 81 42 18
HSL 23° 63.64% 19.41%
HSB/HSV 23° 77.78% 31.76%
CMYK 0.00% 48.15% 77.78%
68.24%

Color #512A12 in popluar number systems.

HEX 51 2A 12
Decimal 81 42 18
Binary 1010001 101010 10010
Octal 121 52 22

Shades and tints

Shades of #512A12

#512A12
(81,42,18)
#4A2711
(74,39,17)
#432410
(67,36,16)
#3C210F
(60,33,15)
#351E0E
(53,30,14)
#2E1B0D
(46,27,13)
#27180C
(39,24,12)
#20150B
(32,21,11)
#19120A
(25,18,10)
#120F09
(18,15,9)
#0B0C08
(11,12,8)
#000000
(0,0,0)

Tints of #512A12

#512A12
(81,42,18)
#603D27
(96,61,39)
#6F503C
(111,80,60)
#7E6351
(126,99,81)
#8D7666
(141,118,102)
#9C897B
(156,137,123)
#AB9C90
(171,156,144)
#BAAFA5
(186,175,165)
#C9C2BA
(201,194,186)
#D8D5CF
(216,213,207)
#E7E8E4
(231,232,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #512A12; }

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

This text font color is #512A12.

Background Color

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

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

This div background color is #512A12.

Border color

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

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

This div border color is #512A12.

Opacity

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

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

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

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

This text has shadow with #512A12 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512A12.

Preview

Color preview on black background

This text has color #512A12 on black background.


Color preview on white background

This text has color #512A12 on white background.


Black color preview on #512A12 background

This text has black color on #512A12 background.


White color preview on #512A12 background

This text has white color on #512A12 background.


Related colors

Complementary color

Complementary color for #hex is #AED5ED.


I love getcolorcode.com

Triadic colors

1 #12512A and #2A1251 with #512A12 are triadic colors.

2 #122A51 and #2A5112 with #512A12 are triadic colors.