COLOR #511148

HEX: #511148 RGB: (81,17,72)

Color info

#511148 contains mainly red and blue colors. Web safe color of #511148 is #660033 (or #603).

RGB color model

#511148 color RGB value is (81,17,72).

RGB: (81,17,72) (32%, 7%, 28%)

RGB channels and saturation

R 81 of 255 = 32%
G 17 of 255 = 7%
B 72 of 255 = 28%

81
17
72

R + G + B ~ 22%. #511148 is dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 17 + 72 = 170 (100%)
R 81 of 170 ~ 47.65%
G 17 of 170 ~ 10%
B 72 of 170 ~ 42.35'%

%47.65
%42.35

CMYK color model

#511148 color CMYK value is (0,79,11,68).

  • cyan value is 0.00%
  • magenta value is 79.01%
  • yellow value is 11.11%
  • key color value is 68.24%

CMYK: (0,79,11,68)
C0M79Y11K68 (0%, 79%, 11%, 68%)
(0.00 / 0.79 / 0.11 / 0.68)

CMYK percentages

%0
%79.01
%11.11
%68.24

Codes

Color #511148 in popluar color models

51 11 48
RGB 81 17 72
HSL 308° 65.31% 19.22%
HSB/HSV 308° 79.01% 31.76%
CMYK 0.00% 79.01% 11.11%
68.24%

Color #511148 in popluar number systems.

HEX 51 11 48
Decimal 81 17 72
Binary 1010001 10001 1001000
Octal 121 21 110

Shades and tints

Shades of #511148

#511148
(81,17,72)
#4A1042
(74,16,66)
#430F3C
(67,15,60)
#3C0E36
(60,14,54)
#350D30
(53,13,48)
#2E0C2A
(46,12,42)
#270B24
(39,11,36)
#200A1E
(32,10,30)
#190918
(25,9,24)
#120812
(18,8,18)
#0B070C
(11,7,12)
#000000
(0,0,0)

Tints of #511148

#511148
(81,17,72)
#602658
(96,38,88)
#6F3B68
(111,59,104)
#7E5078
(126,80,120)
#8D6588
(141,101,136)
#9C7A98
(156,122,152)
#AB8FA8
(171,143,168)
#BAA4B8
(186,164,184)
#C9B9C8
(201,185,200)
#D8CED8
(216,206,216)
#E7E3E8
(231,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #511148 color. Also use rgb(81,17,72) instead hex code.

Text Font Color

.myTextColor { color: #511148; }

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

This text font color is #511148.

Background Color

.myBgColor { background-color: #511148; }

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

This div background color is #511148.

Border color

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

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

This div border color is #511148.

Opacity

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

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

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

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

This text has shadow with #511148 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #511148.

Preview

Color preview on black background

This text has color #511148 on black background.


Color preview on white background

This text has color #511148 on white background.


Black color preview on #511148 background

This text has black color on #511148 background.


White color preview on #511148 background

This text has white color on #511148 background.


Related colors

Complementary color

Complementary color for #hex is #AEEEB7.


I love getcolorcode.com

Triadic colors

1 #485111 and #114851 with #511148 are triadic colors.

2 #481151 and #115148 with #511148 are triadic colors.