COLOR #512830

HEX: #512830
RGB: (81,40,48)

Color info

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

RGB color model

#512830 color RGB value is (81,40,48).

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

RGB channels and saturation

R 81 of 255 = 32%
G 40 of 255 = 16%
B 48 of 255 = 19%

81
40
48

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

Portions of RGB colors in percentages

R + G + B =
81 + 40 + 48 = 169 (100%)
R 81 of 169 ~ 47.93%
G 40 of 169 ~ 23.67%
B 48 of 169 ~ 28.4%

%47.93
%23.67
%28.4

CMYK color model

#512830 color CMYK value is (0,51,41,68).

  • cyan value is 0.00%
  • magenta value is 50.62%
  • yellow value is 40.74%
  • key color value is 68.24%
CMYK:
(0,51,41,68)
C0M51Y41K68 
(0%,51%,41%,68%)
(0.00/0.51/0.41/0.68)	

CMYK percentages

%0
%50.62
%40.74
%68.24

Codes

Color #512830 in popluar color models

512830
RGB814048
HSL348°33.88%23.73%
HSB/HSV348°50.62%31.76%
CMYK0.00%50.62%40.74%
68.24%

Color #512830 in popluar number systems.

HEX512830
Decimal814048
Binary1010001101000110000
Octal1215060

Shades and tints

Shades of #512830

#512830
(81,40,48)
#4A252C
(74,37,44)
#432228
(67,34,40)
#3C1F24
(60,31,36)
#351C20
(53,28,32)
#2E191C
(46,25,28)
#271618
(39,22,24)
#201314
(32,19,20)
#191010
(25,16,16)
#120D0C
(18,13,12)
#0B0A08
(11,10,8)
#000000
(0,0,0)

Tints of #512830

#512830
(81,40,48)
#603B42
(96,59,66)
#6F4E54
(111,78,84)
#7E6166
(126,97,102)
#8D7478
(141,116,120)
#9C878A
(156,135,138)
#AB9A9C
(171,154,156)
#BAADAE
(186,173,174)
#C9C0C0
(201,192,192)
#D8D3D2
(216,211,210)
#E7E6E4
(231,230,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #512830; }

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

This text font color is #512830.


Background Color

.myBgColor { background-color: #512830; }

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

This div background color is #512830.


Border color

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

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

This div border color is #512830.


Opacity

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

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

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

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

This text has shadow with #512830 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512830 on black background.


Color preview on white background

This text has color #512830 on white background.



Black color preview on #512830 background

This text has black color on #512830 background.


White color preview on #512830 background

This text has white color on #512830 background.