COLOR #51217B

HEX: #51217B RGB: (81,33,123)

Color info

#51217B contains mainly red and blue colors. Web safe color of #51217B is #663366 (or #636).

RGB color model

#51217B color RGB value is (81,33,123).

RGB: (81,33,123) (32%, 13%, 48%)

RGB channels and saturation

R 81 of 255 = 32%
G 33 of 255 = 13%
B 123 of 255 = 48%

81
33
123

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

Portions of RGB colors in percentages

R + G + B = 81 + 33 + 123 = 237 (100%)
R 81 of 237 ~ 34.18%
G 33 of 237 ~ 13.92%
B 123 of 237 ~ 51.9'%

%34.18
%13.92
%51.9

CMYK color model

#51217B color CMYK value is (34,73,0,52).

  • cyan value is 34.15%
  • magenta value is 73.17%
  • yellow value is 0.00%
  • key color value is 51.76%

CMYK: (34,73,0,52)
C34M73Y0K52 (34%, 73%, 0%, 52%)
(0.34 / 0.73 / 0.00 / 0.52)

CMYK percentages

%34.15
%73.17
%0
%51.76

Codes

Color #51217B in popluar color models

51 21 7B
RGB 81 33 123
HSL 272° 57.69% 30.59%
HSB/HSV 272° 73.17% 48.24%
CMYK 34.15% 73.17% 0.00%
51.76%

Color #51217B in popluar number systems.

HEX 51 21 7B
Decimal 81 33 123
Binary 1010001 100001 1111011
Octal 121 41 173

Shades and tints

Shades of #51217B

#51217B
(81,33,123)
#4A1E70
(74,30,112)
#431B65
(67,27,101)
#3C185A
(60,24,90)
#35154F
(53,21,79)
#2E1244
(46,18,68)
#270F39
(39,15,57)
#200C2E
(32,12,46)
#190923
(25,9,35)
#120618
(18,6,24)
#0B030D
(11,3,13)
#000000
(0,0,0)

Tints of #51217B

#51217B
(81,33,123)
#603587
(96,53,135)
#6F4993
(111,73,147)
#7E5D9F
(126,93,159)
#8D71AB
(141,113,171)
#9C85B7
(156,133,183)
#AB99C3
(171,153,195)
#BAADCF
(186,173,207)
#C9C1DB
(201,193,219)
#D8D5E7
(216,213,231)
#E7E9F3
(231,233,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #51217B color. Also use rgb(81,33,123) instead hex code.

Text Font Color

.myTextColor { color: #51217B; }

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

This text font color is #51217B.

Background Color

.myBgColor { background-color: #51217B; }

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

This div background color is #51217B.

Border color

.myBorderColor { border: 1px solid #51217B; }

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

This div border color is #51217B.

Opacity

.myOpacity80 { color: #51217B; opacity: 0.8; }

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

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

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

This text has shadow with #51217B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #51217B.

Preview

Color preview on black background

This text has color #51217B on black background.


Color preview on white background

This text has color #51217B on white background.


Black color preview on #51217B background

This text has black color on #51217B background.


White color preview on #51217B background

This text has white color on #51217B background.


Related colors

Complementary color

Complementary color for #hex is #AEDE84.


I love getcolorcode.com

Triadic colors

1 #7B5121 and #217B51 with #51217B are triadic colors.

2 #7B2151 and #21517B with #51217B are triadic colors.