COLOR #51217E

HEX: #51217E RGB: (81,33,126)

Color info

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

RGB color model

#51217E color RGB value is (81,33,126).

RGB: (81,33,126) (32%, 13%, 49%)

RGB channels and saturation

R 81 of 255 = 32%
G 33 of 255 = 13%
B 126 of 255 = 49%

81
33
126

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

Portions of RGB colors in percentages

R + G + B = 81 + 33 + 126 = 240 (100%)
R 81 of 240 ~ 33.75%
G 33 of 240 ~ 13.75%
B 126 of 240 ~ 52.5'%

%33.75
%13.75
%52.5

CMYK color model

#51217E color CMYK value is (36,74,0,51).

  • cyan value is 35.71%
  • magenta value is 73.81%
  • yellow value is 0.00%
  • key color value is 50.59%
CMYK: (36,74,0,51) C36M74Y0K51 (36%,74%,0%,51%) (0.36/0.74/0.00/0.51) 

CMYK percentages

%35.71
%73.81
%0
%50.59

Codes

Color #51217E in popluar color models

51 21 7E
RGB 81 33 126
HSL 271° 58.49% 31.18%
HSB/HSV 271° 73.81% 49.41%
CMYK 35.71% 73.81% 0.00%
50.59%

Color #51217E in popluar number systems.

HEX 51 21 7E
Decimal 81 33 126
Binary 1010001 100001 1111110
Octal 121 41 176

Shades and tints

Shades of #51217E

#51217E
(81,33,126)
#4A1E73
(74,30,115)
#431B68
(67,27,104)
#3C185D
(60,24,93)
#351552
(53,21,82)
#2E1247
(46,18,71)
#270F3C
(39,15,60)
#200C31
(32,12,49)
#190926
(25,9,38)
#12061B
(18,6,27)
#0B0310
(11,3,16)
#000000
(0,0,0)

Tints of #51217E

#51217E
(81,33,126)
#603589
(96,53,137)
#6F4994
(111,73,148)
#7E5D9F
(126,93,159)
#8D71AA
(141,113,170)
#9C85B5
(156,133,181)
#AB99C0
(171,153,192)
#BAADCB
(186,173,203)
#C9C1D6
(201,193,214)
#D8D5E1
(216,213,225)
#E7E9EC
(231,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #51217E; }

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

This text font color is #51217E.

Background Color

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

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

This div background color is #51217E.

Border color

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

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

This div border color is #51217E.

Opacity

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

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

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

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

This text has shadow with #51217E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #51217E.

Preview

Color preview on black background

This text has color #51217E on black background.


Color preview on white background

This text has color #51217E on white background.


Black color preview on #51217E background

This text has black color on #51217E background.


White color preview on #51217E background

This text has white color on #51217E background.


Related colors

Complementary color

Complementary color for #hex is #AEDE81.


I love getcolorcode.com

Triadic colors

1 #7E5121 and #217E51 with #51217E are triadic colors.

2 #7E2151 and #21517E with #51217E are triadic colors.