COLOR #511342

HEX: #511342 RGB: (81,19,66)

Color info

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

RGB color model

#511342 color RGB value is (81,19,66).

RGB: (81,19,66) (32%, 7%, 26%)

RGB channels and saturation

R 81 of 255 = 32%
G 19 of 255 = 7%
B 66 of 255 = 26%

81
19
66

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

Portions of RGB colors in percentages

R + G + B = 81 + 19 + 66 = 166 (100%)
R 81 of 166 ~ 48.8%
G 19 of 166 ~ 11.45%
B 66 of 166 ~ 39.76'%

%48.8
%11.45
%39.76

CMYK color model

#511342 color CMYK value is (0,77,19,68).

  • cyan value is 0.00%
  • magenta value is 76.54%
  • yellow value is 18.52%
  • key color value is 68.24%

CMYK: (0,77,19,68)
C0M77Y19K68 (0%, 77%, 19%, 68%)
(0.00 / 0.77 / 0.19 / 0.68)

CMYK percentages

%0
%76.54
%18.52
%68.24

Codes

Color #511342 in popluar color models

51 13 42
RGB 81 19 66
HSL 315° 62.00% 19.61%
HSB/HSV 315° 76.54% 31.76%
CMYK 0.00% 76.54% 18.52%
68.24%

Color #511342 in popluar number systems.

HEX 51 13 42
Decimal 81 19 66
Binary 1010001 10011 1000010
Octal 121 23 102

Shades and tints

Shades of #511342

#511342
(81,19,66)
#4A123C
(74,18,60)
#431136
(67,17,54)
#3C1030
(60,16,48)
#350F2A
(53,15,42)
#2E0E24
(46,14,36)
#270D1E
(39,13,30)
#200C18
(32,12,24)
#190B12
(25,11,18)
#120A0C
(18,10,12)
#0B0906
(11,9,6)
#000000
(0,0,0)

Tints of #511342

#511342
(81,19,66)
#602853
(96,40,83)
#6F3D64
(111,61,100)
#7E5275
(126,82,117)
#8D6786
(141,103,134)
#9C7C97
(156,124,151)
#AB91A8
(171,145,168)
#BAA6B9
(186,166,185)
#C9BBCA
(201,187,202)
#D8D0DB
(216,208,219)
#E7E5EC
(231,229,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #511342 color. Also use rgb(81,19,66) instead hex code.

Text Font Color

.myTextColor { color: #511342; }

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

This text font color is #511342.

Background Color

.myBgColor { background-color: #511342; }

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

This div background color is #511342.

Border color

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

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

This div border color is #511342.

Opacity

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

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

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

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

This text has shadow with #511342 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #511342.

Preview

Color preview on black background

This text has color #511342 on black background.


Color preview on white background

This text has color #511342 on white background.


Black color preview on #511342 background

This text has black color on #511342 background.


White color preview on #511342 background

This text has white color on #511342 background.


Related colors

Complementary color

Complementary color for #hex is #AEECBD.


I love getcolorcode.com

Triadic colors

1 #425113 and #134251 with #511342 are triadic colors.

2 #421351 and #135142 with #511342 are triadic colors.