COLOR #511979

HEX: #511979 RGB: (81,25,121)

Color info

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

RGB color model

#511979 color RGB value is (81,25,121).

RGB: (81,25,121) (32%, 10%, 47%)

RGB channels and saturation

R 81 of 255 = 32%
G 25 of 255 = 10%
B 121 of 255 = 47%

81
25
121

R + G + B ~ 30%. #511979 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 25 + 121 = 227 (100%)
R 81 of 227 ~ 35.68%
G 25 of 227 ~ 11.01%
B 121 of 227 ~ 53.3'%

%35.68
%11.01
%53.3

CMYK color model

#511979 color CMYK value is (33,79,0,53).

  • cyan value is 33.06%
  • magenta value is 79.34%
  • yellow value is 0.00%
  • key color value is 52.55%
CMYK: (33,79,0,53) C33M79Y0K53 (33%,79%,0%,53%) (0.33/0.79/0.00/0.53) 

CMYK percentages

%33.06
%79.34
%0
%52.55

Codes

Color #511979 in popluar color models

51 19 79
RGB 81 25 121
HSL 275° 65.75% 28.63%
HSB/HSV 275° 79.34% 47.45%
CMYK 33.06% 79.34% 0.00%
52.55%

Color #511979 in popluar number systems.

HEX 51 19 79
Decimal 81 25 121
Binary 1010001 11001 1111001
Octal 121 31 171

Shades and tints

Shades of #511979

#511979
(81,25,121)
#4A176E
(74,23,110)
#431563
(67,21,99)
#3C1358
(60,19,88)
#35114D
(53,17,77)
#2E0F42
(46,15,66)
#270D37
(39,13,55)
#200B2C
(32,11,44)
#190921
(25,9,33)
#120716
(18,7,22)
#0B050B
(11,5,11)
#000000
(0,0,0)

Tints of #511979

#511979
(81,25,121)
#602D85
(96,45,133)
#6F4191
(111,65,145)
#7E559D
(126,85,157)
#8D69A9
(141,105,169)
#9C7DB5
(156,125,181)
#AB91C1
(171,145,193)
#BAA5CD
(186,165,205)
#C9B9D9
(201,185,217)
#D8CDE5
(216,205,229)
#E7E1F1
(231,225,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #511979 color. Also use rgb(81,25,121) instead hex code.

Text Font Color

.myTextColor { color: #511979; }

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

This text font color is #511979.

Background Color

.myBgColor { background-color: #511979; }

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

This div background color is #511979.

Border color

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

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

This div border color is #511979.

Opacity

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

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

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

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

This text has shadow with #511979 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #511979.

Preview

Color preview on black background

This text has color #511979 on black background.


Color preview on white background

This text has color #511979 on white background.


Black color preview on #511979 background

This text has black color on #511979 background.


White color preview on #511979 background

This text has white color on #511979 background.


Related colors

Complementary color

Complementary color for #hex is #AEE686.


I love getcolorcode.com

Triadic colors

1 #795119 and #197951 with #511979 are triadic colors.

2 #791951 and #195179 with #511979 are triadic colors.