COLOR #512E28

HEX: #512E28 RGB: (81,46,40)

Color info

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

RGB color model

#512E28 color RGB value is (81,46,40).

RGB: (81,46,40) (32%, 18%, 16%)

RGB channels and saturation

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

81
46
40

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

Portions of RGB colors in percentages

R + G + B = 81 + 46 + 40 = 167 (100%)
R 81 of 167 ~ 48.5%
G 46 of 167 ~ 27.54%
B 40 of 167 ~ 23.95'%

%48.5
%27.54
%23.95

CMYK color model

#512E28 color CMYK value is (0,43,51,68).

  • cyan value is 0.00%
  • magenta value is 43.21%
  • yellow value is 50.62%
  • key color value is 68.24%

CMYK: (0,43,51,68)
C0M43Y51K68 (0%, 43%, 51%, 68%)
(0.00 / 0.43 / 0.51 / 0.68)

CMYK percentages

%0
%43.21
%50.62
%68.24

Codes

Color #512E28 in popluar color models

51 2E 28
RGB 81 46 40
HSL 33.88% 23.73%
HSB/HSV 50.62% 31.76%
CMYK 0.00% 43.21% 50.62%
68.24%

Color #512E28 in popluar number systems.

HEX 51 2E 28
Decimal 81 46 40
Binary 1010001 101110 101000
Octal 121 56 50

Shades and tints

Shades of #512E28

#512E28
(81,46,40)
#4A2A25
(74,42,37)
#432622
(67,38,34)
#3C221F
(60,34,31)
#351E1C
(53,30,28)
#2E1A19
(46,26,25)
#271616
(39,22,22)
#201213
(32,18,19)
#190E10
(25,14,16)
#120A0D
(18,10,13)
#0B060A
(11,6,10)
#000000
(0,0,0)

Tints of #512E28

#512E28
(81,46,40)
#60413B
(96,65,59)
#6F544E
(111,84,78)
#7E6761
(126,103,97)
#8D7A74
(141,122,116)
#9C8D87
(156,141,135)
#ABA09A
(171,160,154)
#BAB3AD
(186,179,173)
#C9C6C0
(201,198,192)
#D8D9D3
(216,217,211)
#E7ECE6
(231,236,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #512E28; }

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

This text font color is #512E28.

Background Color

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

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

This div background color is #512E28.

Border color

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

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

This div border color is #512E28.

Opacity

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

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

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

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

This text has shadow with #512E28 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512E28.

Preview

Color preview on black background

This text has color #512E28 on black background.


Color preview on white background

This text has color #512E28 on white background.


Black color preview on #512E28 background

This text has black color on #512E28 background.


White color preview on #512E28 background

This text has white color on #512E28 background.


Related colors

Complementary color

Complementary color for #hex is #AED1D7.


I love getcolorcode.com

Triadic colors

1 #28512E and #2E2851 with #512E28 are triadic colors.

2 #282E51 and #2E5128 with #512E28 are triadic colors.