COLOR #512D38

HEX: #512D38
RGB: (81,45,56)

Color info

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

RGB color model

#512D38 color RGB value is (81,45,56).

  • red value is 81;
  • green value is 45;
  • blue value is 56.
RGB:
(81,45,56)
(32%,18%,22%)

RGB channels and saturation

R 81 of 255 = 32%
G 45 of 255 = 18%
B 56 of 255 = 22%

81
45
56

R + G + B ~ 24%. #512D38 is dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 45 + 56 = 182 (100%)
R 81 of 182 ~ 44.51%
G 45 of 182 ~ 24.73%
B 56 of 182 ~ 30.77%

%44.51
%24.73
%30.77

CMYK color model

#512D38 color CMYK value is (0,44,31,68).

  • cyan value is 0.00%
  • magenta value is 44.44%
  • yellow value is 30.86%
  • key color value is 68.24%
CMYK:
(0,44,31,68)
C0M44Y31K68 
(0%,44%,31%,68%)
(0.00/0.44/0.31/0.68)	

CMYK percentages

%0
%44.44
%30.86
%68.24

Codes

Color #512D38 in popluar color models

512D38
RGB814556
HSL342°28.57%24.71%
HSB/HSV342°44.44%31.76%
CMYK0.00%44.44%30.86%
68.24%

Color #512D38 in popluar number systems.

HEX512D38
Decimal814556
Binary1010001101101111000
Octal1215570

Shades and tints

Shades of #512D38

#512D38
(81,45,56)
#4A2933
(74,41,51)
#43252E
(67,37,46)
#3C2129
(60,33,41)
#351D24
(53,29,36)
#2E191F
(46,25,31)
#27151A
(39,21,26)
#201115
(32,17,21)
#190D10
(25,13,16)
#12090B
(18,9,11)
#0B0506
(11,5,6)
#000000
(0,0,0)

Tints of #512D38

#512D38
(81,45,56)
#60404A
(96,64,74)
#6F535C
(111,83,92)
#7E666E
(126,102,110)
#8D7980
(141,121,128)
#9C8C92
(156,140,146)
#AB9FA4
(171,159,164)
#BAB2B6
(186,178,182)
#C9C5C8
(201,197,200)
#D8D8DA
(216,216,218)
#E7EBEC
(231,235,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512D38 color. Also use rgb(81,45,56) instead hex code.

Text Font Color

.myTextColor { color: #512D38; }

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

This text font color is #512D38.


Background Color

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

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

This div background color is #512D38.


Border color

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

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

This div border color is #512D38.


Opacity

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

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

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

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

This text has shadow with #512D38 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512D38 on black background.


Color preview on white background

This text has color #512D38 on white background.



Black color preview on #512D38 background

This text has black color on #512D38 background.


White color preview on #512D38 background

This text has white color on #512D38 background.