COLOR #511B81

HEX: #511B81
RGB: (81,27,129)

Color info

#511B81 contains mainly red and blue colors. Web safe color of #511B81 is #663399 (or #639).

RGB color model

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

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

RGB channels and saturation

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

81
27
129

R + G + B ~ 31%. #511B81 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 27 + 129 = 237 (100%)
R 81 of 237 ~ 34.18%
G 27 of 237 ~ 11.39%
B 129 of 237 ~ 54.43%

%34.18
%11.39
%54.43

CMYK color model

#511B81 color CMYK value is (37,79,0,49).

  • cyan value is 37.21%
  • magenta value is 79.07%
  • yellow value is 0.00%
  • key color value is 49.41%
CMYK:
(37,79,0,49)
C37M79Y0K49 
(37%,79%,0%,49%)
(0.37/0.79/0.00/0.49)	

CMYK percentages

%37.21
%79.07
%0
%49.41

Codes

Color #511B81 in popluar color models

511B81
RGB8127129
HSL272°65.38%30.59%
HSB/HSV272°79.07%50.59%
CMYK37.21%79.07%0.00%
49.41%

Color #511B81 in popluar number systems.

HEX511B81
Decimal8127129
Binary10100011101110000001
Octal12133201

Shades and tints

Shades of #511B81

#511B81
(81,27,129)
#4A1976
(74,25,118)
#43176B
(67,23,107)
#3C1560
(60,21,96)
#351355
(53,19,85)
#2E114A
(46,17,74)
#270F3F
(39,15,63)
#200D34
(32,13,52)
#190B29
(25,11,41)
#12091E
(18,9,30)
#0B0713
(11,7,19)
#000000
(0,0,0)

Tints of #511B81

#511B81
(81,27,129)
#602F8C
(96,47,140)
#6F4397
(111,67,151)
#7E57A2
(126,87,162)
#8D6BAD
(141,107,173)
#9C7FB8
(156,127,184)
#AB93C3
(171,147,195)
#BAA7CE
(186,167,206)
#C9BBD9
(201,187,217)
#D8CFE4
(216,207,228)
#E7E3EF
(231,227,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #511B81; }

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

This text font color is #511B81.


Background Color

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

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

This div background color is #511B81.


Border color

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

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

This div border color is #511B81.


Opacity

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

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

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

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

This text has shadow with #511B81 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #511B81 on black background.


Color preview on white background

This text has color #511B81 on white background.



Black color preview on #511B81 background

This text has black color on #511B81 background.


White color preview on #511B81 background

This text has white color on #511B81 background.