COLOR #512F59

HEX: #512F59
RGB: (81,47,89)

Color info

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

RGB color model

#512F59 color RGB value is (81,47,89).

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

RGB channels and saturation

R 81 of 255 = 32%
G 47 of 255 = 18%
B 89 of 255 = 35%

81
47
89

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

Portions of RGB colors in percentages

R + G + B =
81 + 47 + 89 = 217 (100%)
R 81 of 217 ~ 37.33%
G 47 of 217 ~ 21.66%
B 89 of 217 ~ 41.01%

%37.33
%21.66
%41.01

CMYK color model

#512F59 color CMYK value is (9,47,0,65).

  • cyan value is 8.99%
  • magenta value is 47.19%
  • yellow value is 0.00%
  • key color value is 65.10%
CMYK:
(9,47,0,65)
C9M47Y0K65 
(9%,47%,0%,65%)
(0.09/0.47/0.00/0.65)	

CMYK percentages

%8.99
%47.19
%0
%65.1

Codes

Color #512F59 in popluar color models

512F59
RGB814789
HSL289°30.88%26.67%
HSB/HSV289°47.19%34.90%
CMYK8.99%47.19%0.00%
65.10%

Color #512F59 in popluar number systems.

HEX512F59
Decimal814789
Binary10100011011111011001
Octal12157131

Shades and tints

Shades of #512F59

#512F59
(81,47,89)
#4A2B51
(74,43,81)
#432749
(67,39,73)
#3C2341
(60,35,65)
#351F39
(53,31,57)
#2E1B31
(46,27,49)
#271729
(39,23,41)
#201321
(32,19,33)
#190F19
(25,15,25)
#120B11
(18,11,17)
#0B0709
(11,7,9)
#000000
(0,0,0)

Tints of #512F59

#512F59
(81,47,89)
#604168
(96,65,104)
#6F5377
(111,83,119)
#7E6586
(126,101,134)
#8D7795
(141,119,149)
#9C89A4
(156,137,164)
#AB9BB3
(171,155,179)
#BAADC2
(186,173,194)
#C9BFD1
(201,191,209)
#D8D1E0
(216,209,224)
#E7E3EF
(231,227,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512F59 color. Also use rgb(81,47,89) instead hex code.

Text Font Color

.myTextColor { color: #512F59; }

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

This text font color is #512F59.


Background Color

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

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

This div background color is #512F59.


Border color

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

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

This div border color is #512F59.


Opacity

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

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

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

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

This text has shadow with #512F59 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512F59 on black background.


Color preview on white background

This text has color #512F59 on white background.



Black color preview on #512F59 background

This text has black color on #512F59 background.


White color preview on #512F59 background

This text has white color on #512F59 background.