COLOR #512555

HEX: #512555
RGB: (81,37,85)

Color info

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

RGB color model

#512555 color RGB value is (81,37,85).

  • red value is 81;
  • green value is 37;
  • blue value is 85.
RGB:
(81,37,85)
(32%,15%,33%)

RGB channels and saturation

R 81 of 255 = 32%
G 37 of 255 = 15%
B 85 of 255 = 33%

81
37
85

R + G + B ~ 27%. #512555 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 37 + 85 = 203 (100%)
R 81 of 203 ~ 39.9%
G 37 of 203 ~ 18.23%
B 85 of 203 ~ 41.87%

%39.9
%18.23
%41.87

CMYK color model

#512555 color CMYK value is (5,56,0,67).

  • cyan value is 4.71%
  • magenta value is 56.47%
  • yellow value is 0.00%
  • key color value is 66.67%
CMYK:
(5,56,0,67)
C5M56Y0K67 
(5%,56%,0%,67%)
(0.05/0.56/0.00/0.67)	

CMYK percentages

%4.71
%56.47
%0
%66.67

Codes

Color #512555 in popluar color models

512555
RGB813785
HSL295°39.34%23.92%
HSB/HSV295°56.47%33.33%
CMYK4.71%56.47%0.00%
66.67%

Color #512555 in popluar number systems.

HEX512555
Decimal813785
Binary10100011001011010101
Octal12145125

Shades and tints

Shades of #512555

#512555
(81,37,85)
#4A224E
(74,34,78)
#431F47
(67,31,71)
#3C1C40
(60,28,64)
#351939
(53,25,57)
#2E1632
(46,22,50)
#27132B
(39,19,43)
#201024
(32,16,36)
#190D1D
(25,13,29)
#120A16
(18,10,22)
#0B070F
(11,7,15)
#000000
(0,0,0)

Tints of #512555

#512555
(81,37,85)
#603864
(96,56,100)
#6F4B73
(111,75,115)
#7E5E82
(126,94,130)
#8D7191
(141,113,145)
#9C84A0
(156,132,160)
#AB97AF
(171,151,175)
#BAAABE
(186,170,190)
#C9BDCD
(201,189,205)
#D8D0DC
(216,208,220)
#E7E3EB
(231,227,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512555 color. Also use rgb(81,37,85) instead hex code.

Text Font Color

.myTextColor { color: #512555; }

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

This text font color is #512555.


Background Color

.myBgColor { background-color: #512555; }

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

This div background color is #512555.


Border color

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

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

This div border color is #512555.


Opacity

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

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

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

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

This text has shadow with #512555 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512555 on black background.


Color preview on white background

This text has color #512555 on white background.



Black color preview on #512555 background

This text has black color on #512555 background.


White color preview on #512555 background

This text has white color on #512555 background.