COLOR #512126

HEX: #512126
RGB: (81,33,38)

Color info

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

RGB color model

#512126 color RGB value is (81,33,38).

  • red value is 81;
  • green value is 33;
  • blue value is 38.
RGB:
(81,33,38)
(32%,13%,15%)

RGB channels and saturation

R 81 of 255 = 32%
G 33 of 255 = 13%
B 38 of 255 = 15%

81
33
38

R + G + B ~ 20%. #512126 is dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 33 + 38 = 152 (100%)
R 81 of 152 ~ 53.29%
G 33 of 152 ~ 21.71%
B 38 of 152 ~ 25%

%53.29
%21.71
%25

CMYK color model

#512126 color CMYK value is (0,59,53,68).

  • cyan value is 0.00%
  • magenta value is 59.26%
  • yellow value is 53.09%
  • key color value is 68.24%
CMYK:
(0,59,53,68)
C0M59Y53K68 
(0%,59%,53%,68%)
(0.00/0.59/0.53/0.68)	

CMYK percentages

%0
%59.26
%53.09
%68.24

Codes

Color #512126 in popluar color models

512126
RGB813338
HSL354°42.11%22.35%
HSB/HSV354°59.26%31.76%
CMYK0.00%59.26%53.09%
68.24%

Color #512126 in popluar number systems.

HEX512126
Decimal813338
Binary1010001100001100110
Octal1214146

Shades and tints

Shades of #512126

#512126
(81,33,38)
#4A1E23
(74,30,35)
#431B20
(67,27,32)
#3C181D
(60,24,29)
#35151A
(53,21,26)
#2E1217
(46,18,23)
#270F14
(39,15,20)
#200C11
(32,12,17)
#19090E
(25,9,14)
#12060B
(18,6,11)
#0B0308
(11,3,8)
#000000
(0,0,0)

Tints of #512126

#512126
(81,33,38)
#603539
(96,53,57)
#6F494C
(111,73,76)
#7E5D5F
(126,93,95)
#8D7172
(141,113,114)
#9C8585
(156,133,133)
#AB9998
(171,153,152)
#BAADAB
(186,173,171)
#C9C1BE
(201,193,190)
#D8D5D1
(216,213,209)
#E7E9E4
(231,233,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512126 color. Also use rgb(81,33,38) instead hex code.

Text Font Color

.myTextColor { color: #512126; }

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

This text font color is #512126.


Background Color

.myBgColor { background-color: #512126; }

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

This div background color is #512126.


Border color

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

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

This div border color is #512126.


Opacity

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

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

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

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

This text has shadow with #512126 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512126 on black background.


Color preview on white background

This text has color #512126 on white background.



Black color preview on #512126 background

This text has black color on #512126 background.


White color preview on #512126 background

This text has white color on #512126 background.