COLOR #512848

HEX: #512848
RGB: (81,40,72)

Color info

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

RGB color model

#512848 color RGB value is (81,40,72).

  • red value is 81;
  • green value is 40;
  • blue value is 72.
RGB:
(81,40,72)
(32%,16%,28%)

RGB channels and saturation

R 81 of 255 = 32%
G 40 of 255 = 16%
B 72 of 255 = 28%

81
40
72

R + G + B ~ 25%. #512848 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 40 + 72 = 193 (100%)
R 81 of 193 ~ 41.97%
G 40 of 193 ~ 20.73%
B 72 of 193 ~ 37.31%

%41.97
%20.73
%37.31

CMYK color model

#512848 color CMYK value is (0,51,11,68).

  • cyan value is 0.00%
  • magenta value is 50.62%
  • yellow value is 11.11%
  • key color value is 68.24%
CMYK:
(0,51,11,68)
C0M51Y11K68 
(0%,51%,11%,68%)
(0.00/0.51/0.11/0.68)	

CMYK percentages

%0
%50.62
%11.11
%68.24

Codes

Color #512848 in popluar color models

512848
RGB814072
HSL313°33.88%23.73%
HSB/HSV313°50.62%31.76%
CMYK0.00%50.62%11.11%
68.24%

Color #512848 in popluar number systems.

HEX512848
Decimal814072
Binary10100011010001001000
Octal12150110

Shades and tints

Shades of #512848

#512848
(81,40,72)
#4A2542
(74,37,66)
#43223C
(67,34,60)
#3C1F36
(60,31,54)
#351C30
(53,28,48)
#2E192A
(46,25,42)
#271624
(39,22,36)
#20131E
(32,19,30)
#191018
(25,16,24)
#120D12
(18,13,18)
#0B0A0C
(11,10,12)
#000000
(0,0,0)

Tints of #512848

#512848
(81,40,72)
#603B58
(96,59,88)
#6F4E68
(111,78,104)
#7E6178
(126,97,120)
#8D7488
(141,116,136)
#9C8798
(156,135,152)
#AB9AA8
(171,154,168)
#BAADB8
(186,173,184)
#C9C0C8
(201,192,200)
#D8D3D8
(216,211,216)
#E7E6E8
(231,230,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #512848; }

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

This text font color is #512848.


Background Color

.myBgColor { background-color: #512848; }

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

This div background color is #512848.


Border color

.myBorderColor { border: 1px solid #512848; }

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

This div border color is #512848.


Opacity

.myOpacity80 { color: #512848; opacity: 0.8; }

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

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

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

This text has shadow with #512848 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512848 on black background.


Color preview on white background

This text has color #512848 on white background.



Black color preview on #512848 background

This text has black color on #512848 background.


White color preview on #512848 background

This text has white color on #512848 background.