COLOR #512E4A

HEX: #512E4A
RGB: (81,46,74)

Color info

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

RGB color model

#512E4A color RGB value is (81,46,74).

  • red value is 81;
  • green value is 46;
  • blue value is 74.
RGB:
(81,46,74)
(32%,18%,29%)

RGB channels and saturation

R 81 of 255 = 32%
G 46 of 255 = 18%
B 74 of 255 = 29%

81
46
74

R + G + B ~ 26%. #512E4A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 46 + 74 = 201 (100%)
R 81 of 201 ~ 40.3%
G 46 of 201 ~ 22.89%
B 74 of 201 ~ 36.82%

%40.3
%22.89
%36.82

CMYK color model

#512E4A color CMYK value is (0,43,9,68).

  • cyan value is 0.00%
  • magenta value is 43.21%
  • yellow value is 8.64%
  • key color value is 68.24%
CMYK:
(0,43,9,68)
C0M43Y9K68 
(0%,43%,9%,68%)
(0.00/0.43/0.09/0.68)	

CMYK percentages

%0
%43.21
%8.64
%68.24

Codes

Color #512E4A in popluar color models

512E4A
RGB814674
HSL312°27.56%24.90%
HSB/HSV312°43.21%31.76%
CMYK0.00%43.21%8.64%
68.24%

Color #512E4A in popluar number systems.

HEX512E4A
Decimal814674
Binary10100011011101001010
Octal12156112

Shades and tints

Shades of #512E4A

#512E4A
(81,46,74)
#4A2A44
(74,42,68)
#43263E
(67,38,62)
#3C2238
(60,34,56)
#351E32
(53,30,50)
#2E1A2C
(46,26,44)
#271626
(39,22,38)
#201220
(32,18,32)
#190E1A
(25,14,26)
#120A14
(18,10,20)
#0B060E
(11,6,14)
#000000
(0,0,0)

Tints of #512E4A

#512E4A
(81,46,74)
#60415A
(96,65,90)
#6F546A
(111,84,106)
#7E677A
(126,103,122)
#8D7A8A
(141,122,138)
#9C8D9A
(156,141,154)
#ABA0AA
(171,160,170)
#BAB3BA
(186,179,186)
#C9C6CA
(201,198,202)
#D8D9DA
(216,217,218)
#E7ECEA
(231,236,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512E4A color. Also use rgb(81,46,74) instead hex code.

Text Font Color

.myTextColor { color: #512E4A; }

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

This text font color is #512E4A.


Background Color

.myBgColor { background-color: #512E4A; }

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

This div background color is #512E4A.


Border color

.myBorderColor { border: 1px solid #512E4A; }

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

This div border color is #512E4A.


Opacity

.myOpacity80 { color: #512E4A; opacity: 0.8; }

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

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

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

This text has shadow with #512E4A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512E4A on black background.


Color preview on white background

This text has color #512E4A on white background.



Black color preview on #512E4A background

This text has black color on #512E4A background.


White color preview on #512E4A background

This text has white color on #512E4A background.