COLOR #512A17

HEX: #512A17 RGB: (81,42,23)

Color info

#512A17 contains red, green and blue colors in about the same proportion. Web safe color of #512A17 is #663300 (or #630).

RGB color model

#512A17 color RGB value is (81,42,23).

RGB: (81,42,23) (32%, 16%, 9%)

RGB channels and saturation

R 81 of 255 = 32%
G 42 of 255 = 16%
B 23 of 255 = 9%

81
42
23

R + G + B ~ 19%. #512A17 is dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 42 + 23 = 146 (100%)
R 81 of 146 ~ 55.48%
G 42 of 146 ~ 28.77%
B 23 of 146 ~ 15.75'%

%55.48
%28.77
%15.75

CMYK color model

#512A17 color CMYK value is (0,48,72,68).

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

CMYK: (0,48,72,68)
C0M48Y72K68 (0%, 48%, 72%, 68%)
(0.00 / 0.48 / 0.72 / 0.68)

CMYK percentages

%0
%48.15
%71.6
%68.24

Codes

Color #512A17 in popluar color models

51 2A 17
RGB 81 42 23
HSL 20° 55.77% 20.39%
HSB/HSV 20° 71.60% 31.76%
CMYK 0.00% 48.15% 71.60%
68.24%

Color #512A17 in popluar number systems.

HEX 51 2A 17
Decimal 81 42 23
Binary 1010001 101010 10111
Octal 121 52 27

Shades and tints

Shades of #512A17

#512A17
(81,42,23)
#4A2715
(74,39,21)
#432413
(67,36,19)
#3C2111
(60,33,17)
#351E0F
(53,30,15)
#2E1B0D
(46,27,13)
#27180B
(39,24,11)
#201509
(32,21,9)
#191207
(25,18,7)
#120F05
(18,15,5)
#0B0C03
(11,12,3)
#000000
(0,0,0)

Tints of #512A17

#512A17
(81,42,23)
#603D2C
(96,61,44)
#6F5041
(111,80,65)
#7E6356
(126,99,86)
#8D766B
(141,118,107)
#9C8980
(156,137,128)
#AB9C95
(171,156,149)
#BAAFAA
(186,175,170)
#C9C2BF
(201,194,191)
#D8D5D4
(216,213,212)
#E7E8E9
(231,232,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #512A17; }

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

This text font color is #512A17.

Background Color

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

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

This div background color is #512A17.

Border color

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

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

This div border color is #512A17.

Opacity

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

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

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

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

This text has shadow with #512A17 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512A17.

Preview

Color preview on black background

This text has color #512A17 on black background.


Color preview on white background

This text has color #512A17 on white background.


Black color preview on #512A17 background

This text has black color on #512A17 background.


White color preview on #512A17 background

This text has white color on #512A17 background.


Related colors

Complementary color

Complementary color for #hex is #AED5E8.


I love getcolorcode.com

Triadic colors

1 #17512A and #2A1751 with #512A17 are triadic colors.

2 #172A51 and #2A5117 with #512A17 are triadic colors.