COLOR #512138

HEX: #512138
RGB: (81,33,56)

Color info

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

RGB color model

#512138 color RGB value is (81,33,56).

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

RGB channels and saturation

R 81 of 255 = 32%
G 33 of 255 = 13%
B 56 of 255 = 22%

81
33
56

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

Portions of RGB colors in percentages

R + G + B =
81 + 33 + 56 = 170 (100%)
R 81 of 170 ~ 47.65%
G 33 of 170 ~ 19.41%
B 56 of 170 ~ 32.94%

%47.65
%19.41
%32.94

CMYK color model

#512138 color CMYK value is (0,59,31,68).

  • cyan value is 0.00%
  • magenta value is 59.26%
  • yellow value is 30.86%
  • key color value is 68.24%
CMYK:
(0,59,31,68)
C0M59Y31K68 
(0%,59%,31%,68%)
(0.00/0.59/0.31/0.68)	

CMYK percentages

%0
%59.26
%30.86
%68.24

Codes

Color #512138 in popluar color models

512138
RGB813356
HSL331°42.11%22.35%
HSB/HSV331°59.26%31.76%
CMYK0.00%59.26%30.86%
68.24%

Color #512138 in popluar number systems.

HEX512138
Decimal813356
Binary1010001100001111000
Octal1214170

Shades and tints

Shades of #512138

#512138
(81,33,56)
#4A1E33
(74,30,51)
#431B2E
(67,27,46)
#3C1829
(60,24,41)
#351524
(53,21,36)
#2E121F
(46,18,31)
#270F1A
(39,15,26)
#200C15
(32,12,21)
#190910
(25,9,16)
#12060B
(18,6,11)
#0B0306
(11,3,6)
#000000
(0,0,0)

Tints of #512138

#512138
(81,33,56)
#60354A
(96,53,74)
#6F495C
(111,73,92)
#7E5D6E
(126,93,110)
#8D7180
(141,113,128)
#9C8592
(156,133,146)
#AB99A4
(171,153,164)
#BAADB6
(186,173,182)
#C9C1C8
(201,193,200)
#D8D5DA
(216,213,218)
#E7E9EC
(231,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #512138; }

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

This text font color is #512138.


Background Color

.myBgColor { background-color: #512138; }

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

This div background color is #512138.


Border color

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

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

This div border color is #512138.


Opacity

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

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

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

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

This text has shadow with #512138 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512138 on black background.


Color preview on white background

This text has color #512138 on white background.



Black color preview on #512138 background

This text has black color on #512138 background.


White color preview on #512138 background

This text has white color on #512138 background.