COLOR #512E58

HEX: #512E58
RGB: (81,46,88)

Color info

#512E58 contains red, green and blue colors in about the same proportion. Web safe color of #512E58 is #663366 (or #636).

RGB color model

#512E58 color RGB value is (81,46,88).

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

RGB channels and saturation

R 81 of 255 = 32%
G 46 of 255 = 18%
B 88 of 255 = 35%

81
46
88

R + G + B ~ 28%. #512E58 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 46 + 88 = 215 (100%)
R 81 of 215 ~ 37.67%
G 46 of 215 ~ 21.4%
B 88 of 215 ~ 40.93%

%37.67
%21.4
%40.93

CMYK color model

#512E58 color CMYK value is (8,48,0,65).

  • cyan value is 7.95%
  • magenta value is 47.73%
  • yellow value is 0.00%
  • key color value is 65.49%
CMYK:
(8,48,0,65)
C8M48Y0K65 
(8%,48%,0%,65%)
(0.08/0.48/0.00/0.65)	

CMYK percentages

%7.95
%47.73
%0
%65.49

Codes

Color #512E58 in popluar color models

512E58
RGB814688
HSL290°31.34%26.27%
HSB/HSV290°47.73%34.51%
CMYK7.95%47.73%0.00%
65.49%

Color #512E58 in popluar number systems.

HEX512E58
Decimal814688
Binary10100011011101011000
Octal12156130

Shades and tints

Shades of #512E58

#512E58
(81,46,88)
#4A2A50
(74,42,80)
#432648
(67,38,72)
#3C2240
(60,34,64)
#351E38
(53,30,56)
#2E1A30
(46,26,48)
#271628
(39,22,40)
#201220
(32,18,32)
#190E18
(25,14,24)
#120A10
(18,10,16)
#0B0608
(11,6,8)
#000000
(0,0,0)

Tints of #512E58

#512E58
(81,46,88)
#604167
(96,65,103)
#6F5476
(111,84,118)
#7E6785
(126,103,133)
#8D7A94
(141,122,148)
#9C8DA3
(156,141,163)
#ABA0B2
(171,160,178)
#BAB3C1
(186,179,193)
#C9C6D0
(201,198,208)
#D8D9DF
(216,217,223)
#E7ECEE
(231,236,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #512E58; }

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

This text font color is #512E58.


Background Color

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

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

This div background color is #512E58.


Border color

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

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

This div border color is #512E58.


Opacity

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

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

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

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

This text has shadow with #512E58 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512E58 on black background.


Color preview on white background

This text has color #512E58 on white background.



Black color preview on #512E58 background

This text has black color on #512E58 background.


White color preview on #512E58 background

This text has white color on #512E58 background.