COLOR #512140

HEX: #512140
RGB: (81,33,64)

Color info

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

RGB color model

#512140 color RGB value is (81,33,64).

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

RGB channels and saturation

R 81 of 255 = 32%
G 33 of 255 = 13%
B 64 of 255 = 25%

81
33
64

R + G + B ~ 23%. #512140 is dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 33 + 64 = 178 (100%)
R 81 of 178 ~ 45.51%
G 33 of 178 ~ 18.54%
B 64 of 178 ~ 35.96%

%45.51
%18.54
%35.96

CMYK color model

#512140 color CMYK value is (0,59,21,68).

  • cyan value is 0.00%
  • magenta value is 59.26%
  • yellow value is 20.99%
  • key color value is 68.24%
CMYK:
(0,59,21,68)
C0M59Y21K68 
(0%,59%,21%,68%)
(0.00/0.59/0.21/0.68)	

CMYK percentages

%0
%59.26
%20.99
%68.24

Codes

Color #512140 in popluar color models

512140
RGB813364
HSL321°42.11%22.35%
HSB/HSV321°59.26%31.76%
CMYK0.00%59.26%20.99%
68.24%

Color #512140 in popluar number systems.

HEX512140
Decimal813364
Binary10100011000011000000
Octal12141100

Shades and tints

Shades of #512140

#512140
(81,33,64)
#4A1E3B
(74,30,59)
#431B36
(67,27,54)
#3C1831
(60,24,49)
#35152C
(53,21,44)
#2E1227
(46,18,39)
#270F22
(39,15,34)
#200C1D
(32,12,29)
#190918
(25,9,24)
#120613
(18,6,19)
#0B030E
(11,3,14)
#000000
(0,0,0)

Tints of #512140

#512140
(81,33,64)
#603551
(96,53,81)
#6F4962
(111,73,98)
#7E5D73
(126,93,115)
#8D7184
(141,113,132)
#9C8595
(156,133,149)
#AB99A6
(171,153,166)
#BAADB7
(186,173,183)
#C9C1C8
(201,193,200)
#D8D5D9
(216,213,217)
#E7E9EA
(231,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #512140; }

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

This text font color is #512140.


Background Color

.myBgColor { background-color: #512140; }

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

This div background color is #512140.


Border color

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

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

This div border color is #512140.


Opacity

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

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

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

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

This text has shadow with #512140 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512140 on black background.


Color preview on white background

This text has color #512140 on white background.



Black color preview on #512140 background

This text has black color on #512140 background.


White color preview on #512140 background

This text has white color on #512140 background.