COLOR #511856

HEX: #511856 RGB: (81,24,86)

Color info

#511856 contains mainly red and blue colors. Web safe color of #511856 is #660066 (or #606).

RGB color model

#511856 color RGB value is (81,24,86).

RGB: (81,24,86) (32%, 9%, 34%)

RGB channels and saturation

R 81 of 255 = 32%
G 24 of 255 = 9%
B 86 of 255 = 34%

81
24
86

R + G + B ~ 25%. #511856 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 24 + 86 = 191 (100%)
R 81 of 191 ~ 42.41%
G 24 of 191 ~ 12.57%
B 86 of 191 ~ 45.03'%

%42.41
%12.57
%45.03

CMYK color model

#511856 color CMYK value is (6,72,0,66).

  • cyan value is 5.81%
  • magenta value is 72.09%
  • yellow value is 0.00%
  • key color value is 66.27%

CMYK: (6,72,0,66)
C6M72Y0K66 (6%, 72%, 0%, 66%)
(0.06 / 0.72 / 0.00 / 0.66)

CMYK percentages

%5.81
%72.09
%0
%66.27

Codes

Color #511856 in popluar color models

51 18 56
RGB 81 24 86
HSL 295° 56.36% 21.57%
HSB/HSV 295° 72.09% 33.73%
CMYK 5.81% 72.09% 0.00%
66.27%

Color #511856 in popluar number systems.

HEX 51 18 56
Decimal 81 24 86
Binary 1010001 11000 1010110
Octal 121 30 126

Shades and tints

Shades of #511856

#511856
(81,24,86)
#4A164F
(74,22,79)
#431448
(67,20,72)
#3C1241
(60,18,65)
#35103A
(53,16,58)
#2E0E33
(46,14,51)
#270C2C
(39,12,44)
#200A25
(32,10,37)
#19081E
(25,8,30)
#120617
(18,6,23)
#0B0410
(11,4,16)
#000000
(0,0,0)

Tints of #511856

#511856
(81,24,86)
#602D65
(96,45,101)
#6F4274
(111,66,116)
#7E5783
(126,87,131)
#8D6C92
(141,108,146)
#9C81A1
(156,129,161)
#AB96B0
(171,150,176)
#BAABBF
(186,171,191)
#C9C0CE
(201,192,206)
#D8D5DD
(216,213,221)
#E7EAEC
(231,234,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #511856 color. Also use rgb(81,24,86) instead hex code.

Text Font Color

.myTextColor { color: #511856; }

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

This text font color is #511856.

Background Color

.myBgColor { background-color: #511856; }

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

This div background color is #511856.

Border color

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

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

This div border color is #511856.

Opacity

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

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

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

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

This text has shadow with #511856 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #511856.

Preview

Color preview on black background

This text has color #511856 on black background.


Color preview on white background

This text has color #511856 on white background.


Black color preview on #511856 background

This text has black color on #511856 background.


White color preview on #511856 background

This text has white color on #511856 background.


Related colors

Complementary color

Complementary color for #hex is #AEE7A9.


I love getcolorcode.com

Triadic colors

1 #565118 and #185651 with #511856 are triadic colors.

2 #561851 and #185156 with #511856 are triadic colors.