COLOR #511876

HEX: #511876
RGB: (81,24,118)

Color info

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

RGB color model

#511876 color RGB value is (81,24,118).

  • red value is 81;
  • green value is 24;
  • blue value is 118.
RGB:
(81,24,118)
(32%,9%,46%)

RGB channels and saturation

R 81 of 255 = 32%
G 24 of 255 = 9%
B 118 of 255 = 46%

81
24
118

R + G + B ~ 29%. #511876 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 24 + 118 = 223 (100%)
R 81 of 223 ~ 36.32%
G 24 of 223 ~ 10.76%
B 118 of 223 ~ 52.91%

%36.32
%10.76
%52.91

CMYK color model

#511876 color CMYK value is (31,80,0,54).

  • cyan value is 31.36%
  • magenta value is 79.66%
  • yellow value is 0.00%
  • key color value is 53.73%
CMYK:
(31,80,0,54)
C31M80Y0K54 
(31%,80%,0%,54%)
(0.31/0.80/0.00/0.54)	

CMYK percentages

%31.36
%79.66
%0
%53.73

Codes

Color #511876 in popluar color models

511876
RGB8124118
HSL276°66.20%27.84%
HSB/HSV276°79.66%46.27%
CMYK31.36%79.66%0.00%
53.73%

Color #511876 in popluar number systems.

HEX511876
Decimal8124118
Binary1010001110001110110
Octal12130166

Shades and tints

Shades of #511876

#511876
(81,24,118)
#4A166C
(74,22,108)
#431462
(67,20,98)
#3C1258
(60,18,88)
#35104E
(53,16,78)
#2E0E44
(46,14,68)
#270C3A
(39,12,58)
#200A30
(32,10,48)
#190826
(25,8,38)
#12061C
(18,6,28)
#0B0412
(11,4,18)
#000000
(0,0,0)

Tints of #511876

#511876
(81,24,118)
#602D82
(96,45,130)
#6F428E
(111,66,142)
#7E579A
(126,87,154)
#8D6CA6
(141,108,166)
#9C81B2
(156,129,178)
#AB96BE
(171,150,190)
#BAABCA
(186,171,202)
#C9C0D6
(201,192,214)
#D8D5E2
(216,213,226)
#E7EAEE
(231,234,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #511876; }

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

This text font color is #511876.


Background Color

.myBgColor { background-color: #511876; }

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

This div background color is #511876.


Border color

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

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

This div border color is #511876.


Opacity

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

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

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

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

This text has shadow with #511876 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #511876 on black background.


Color preview on white background

This text has color #511876 on white background.



Black color preview on #511876 background

This text has black color on #511876 background.


White color preview on #511876 background

This text has white color on #511876 background.