COLOR #511284

HEX: #511284 RGB: (81,18,132)

Color info

#511284 contains mainly red and blue colors. Web safe color of #511284 is #660099 (or #609).

RGB color model

#511284 color RGB value is (81,18,132).

RGB: (81,18,132) (32%, 7%, 52%)

RGB channels and saturation

R 81 of 255 = 32%
G 18 of 255 = 7%
B 132 of 255 = 52%

81
18
132

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

Portions of RGB colors in percentages

R + G + B = 81 + 18 + 132 = 231 (100%)
R 81 of 231 ~ 35.06%
G 18 of 231 ~ 7.79%
B 132 of 231 ~ 57.14'%

%35.06
%57.14

CMYK color model

#511284 color CMYK value is (39,86,0,48).

  • cyan value is 38.64%
  • magenta value is 86.36%
  • yellow value is 0.00%
  • key color value is 48.24%

CMYK: (39,86,0,48)
C39M86Y0K48 (39%, 86%, 0%, 48%)
(0.39 / 0.86 / 0.00 / 0.48)

CMYK percentages

%38.64
%86.36
%0
%48.24

Codes

Color #511284 in popluar color models

51 12 84
RGB 81 18 132
HSL 273° 76.00% 29.41%
HSB/HSV 273° 86.36% 51.76%
CMYK 38.64% 86.36% 0.00%
48.24%

Color #511284 in popluar number systems.

HEX 51 12 84
Decimal 81 18 132
Binary 1010001 10010 10000100
Octal 121 22 204

Shades and tints

Shades of #511284

#511284
(81,18,132)
#4A1178
(74,17,120)
#43106C
(67,16,108)
#3C0F60
(60,15,96)
#350E54
(53,14,84)
#2E0D48
(46,13,72)
#270C3C
(39,12,60)
#200B30
(32,11,48)
#190A24
(25,10,36)
#120918
(18,9,24)
#0B080C
(11,8,12)
#000000
(0,0,0)

Tints of #511284

#511284
(81,18,132)
#60278F
(96,39,143)
#6F3C9A
(111,60,154)
#7E51A5
(126,81,165)
#8D66B0
(141,102,176)
#9C7BBB
(156,123,187)
#AB90C6
(171,144,198)
#BAA5D1
(186,165,209)
#C9BADC
(201,186,220)
#D8CFE7
(216,207,231)
#E7E4F2
(231,228,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #511284 color. Also use rgb(81,18,132) instead hex code.

Text Font Color

.myTextColor { color: #511284; }

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

This text font color is #511284.

Background Color

.myBgColor { background-color: #511284; }

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

This div background color is #511284.

Border color

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

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

This div border color is #511284.

Opacity

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

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

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

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

This text has shadow with #511284 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #511284.

Preview

Color preview on black background

This text has color #511284 on black background.


Color preview on white background

This text has color #511284 on white background.


Black color preview on #511284 background

This text has black color on #511284 background.


White color preview on #511284 background

This text has white color on #511284 background.


Related colors

Complementary color

Complementary color for #hex is #AEED7B.


I love getcolorcode.com

Triadic colors

1 #845112 and #128451 with #511284 are triadic colors.

2 #841251 and #125184 with #511284 are triadic colors.