COLOR #512855

HEX: #512855
RGB: (81,40,85)

Color info

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

RGB color model

#512855 color RGB value is (81,40,85).

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

RGB channels and saturation

R 81 of 255 = 32%
G 40 of 255 = 16%
B 85 of 255 = 33%

81
40
85

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

Portions of RGB colors in percentages

R + G + B =
81 + 40 + 85 = 206 (100%)
R 81 of 206 ~ 39.32%
G 40 of 206 ~ 19.42%
B 85 of 206 ~ 41.26%

%39.32
%19.42
%41.26

CMYK color model

#512855 color CMYK value is (5,53,0,67).

  • cyan value is 4.71%
  • magenta value is 52.94%
  • yellow value is 0.00%
  • key color value is 66.67%
CMYK:
(5,53,0,67)
C5M53Y0K67 
(5%,53%,0%,67%)
(0.05/0.53/0.00/0.67)	

CMYK percentages

%4.71
%52.94
%0
%66.67

Codes

Color #512855 in popluar color models

512855
RGB814085
HSL295°36.00%24.51%
HSB/HSV295°52.94%33.33%
CMYK4.71%52.94%0.00%
66.67%

Color #512855 in popluar number systems.

HEX512855
Decimal814085
Binary10100011010001010101
Octal12150125

Shades and tints

Shades of #512855

#512855
(81,40,85)
#4A254E
(74,37,78)
#432247
(67,34,71)
#3C1F40
(60,31,64)
#351C39
(53,28,57)
#2E1932
(46,25,50)
#27162B
(39,22,43)
#201324
(32,19,36)
#19101D
(25,16,29)
#120D16
(18,13,22)
#0B0A0F
(11,10,15)
#000000
(0,0,0)

Tints of #512855

#512855
(81,40,85)
#603B64
(96,59,100)
#6F4E73
(111,78,115)
#7E6182
(126,97,130)
#8D7491
(141,116,145)
#9C87A0
(156,135,160)
#AB9AAF
(171,154,175)
#BAADBE
(186,173,190)
#C9C0CD
(201,192,205)
#D8D3DC
(216,211,220)
#E7E6EB
(231,230,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #512855; }

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

This text font color is #512855.


Background Color

.myBgColor { background-color: #512855; }

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

This div background color is #512855.


Border color

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

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

This div border color is #512855.


Opacity

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

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

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

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

This text has shadow with #512855 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512855 on black background.


Color preview on white background

This text has color #512855 on white background.



Black color preview on #512855 background

This text has black color on #512855 background.


White color preview on #512855 background

This text has white color on #512855 background.