COLOR #511B51

HEX: #511B51
RGB: (81,27,81)

Color info

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

RGB color model

#511B51 color RGB value is (81,27,81).

  • red value is 81;
  • green value is 27;
  • blue value is 81.
RGB:
(81,27,81)
(32%,11%,32%)

RGB channels and saturation

R 81 of 255 = 32%
G 27 of 255 = 11%
B 81 of 255 = 32%

81
27
81

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

Portions of RGB colors in percentages

R + G + B =
81 + 27 + 81 = 189 (100%)
R 81 of 189 ~ 42.86%
G 27 of 189 ~ 14.29%
B 81 of 189 ~ 42.86%

%42.86
%14.29
%42.86

CMYK color model

#511B51 color CMYK value is (0,67,0,68).

  • cyan value is 0.00%
  • magenta value is 66.67%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(0,67,0,68)
C0M67Y0K68 
(0%,67%,0%,68%)
(0.00/0.67/0.00/0.68)	

CMYK percentages

%0
%66.67
%0
%68.24

Codes

Color #511B51 in popluar color models

511B51
RGB812781
HSL300°50.00%21.18%
HSB/HSV300°66.67%31.76%
CMYK0.00%66.67%0.00%
68.24%

Color #511B51 in popluar number systems.

HEX511B51
Decimal812781
Binary1010001110111010001
Octal12133121

Shades and tints

Shades of #511B51

#511B51
(81,27,81)
#4A194A
(74,25,74)
#431743
(67,23,67)
#3C153C
(60,21,60)
#351335
(53,19,53)
#2E112E
(46,17,46)
#270F27
(39,15,39)
#200D20
(32,13,32)
#190B19
(25,11,25)
#120912
(18,9,18)
#0B070B
(11,7,11)
#000000
(0,0,0)

Tints of #511B51

#511B51
(81,27,81)
#602F60
(96,47,96)
#6F436F
(111,67,111)
#7E577E
(126,87,126)
#8D6B8D
(141,107,141)
#9C7F9C
(156,127,156)
#AB93AB
(171,147,171)
#BAA7BA
(186,167,186)
#C9BBC9
(201,187,201)
#D8CFD8
(216,207,216)
#E7E3E7
(231,227,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #511B51 color. Also use rgb(81,27,81) instead hex code.

Text Font Color

.myTextColor { color: #511B51; }

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

This text font color is #511B51.


Background Color

.myBgColor { background-color: #511B51; }

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

This div background color is #511B51.


Border color

.myBorderColor { border: 1px solid #511B51; }

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

This div border color is #511B51.


Opacity

.myOpacity80 { color: #511B51; opacity: 0.8; }

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

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

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

This text has shadow with #511B51 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #511B51 on black background.


Color preview on white background

This text has color #511B51 on white background.



Black color preview on #511B51 background

This text has black color on #511B51 background.


White color preview on #511B51 background

This text has white color on #511B51 background.