COLOR #51317B

HEX: #51317B RGB: (81,49,123)

Color info

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

RGB color model

#51317B color RGB value is (81,49,123).

RGB: (81,49,123) (32%, 19%, 48%)

RGB channels and saturation

R 81 of 255 = 32%
G 49 of 255 = 19%
B 123 of 255 = 48%

81
49
123

R + G + B ~ 33%. #51317B is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 49 + 123 = 253 (100%)
R 81 of 253 ~ 32.02%
G 49 of 253 ~ 19.37%
B 123 of 253 ~ 48.62'%

%32.02
%19.37
%48.62

CMYK color model

#51317B color CMYK value is (34,60,0,52).

  • cyan value is 34.15%
  • magenta value is 60.16%
  • yellow value is 0.00%
  • key color value is 51.76%
CMYK: (34,60,0,52) C34M60Y0K52 (34%,60%,0%,52%) (0.34/0.60/0.00/0.52) 

CMYK percentages

%34.15
%60.16
%0
%51.76

Codes

Color #51317B in popluar color models

51 31 7B
RGB 81 49 123
HSL 266° 43.02% 33.73%
HSB/HSV 266° 60.16% 48.24%
CMYK 34.15% 60.16% 0.00%
51.76%

Color #51317B in popluar number systems.

HEX 51 31 7B
Decimal 81 49 123
Binary 1010001 110001 1111011
Octal 121 61 173

Shades and tints

Shades of #51317B

#51317B
(81,49,123)
#4A2D70
(74,45,112)
#432965
(67,41,101)
#3C255A
(60,37,90)
#35214F
(53,33,79)
#2E1D44
(46,29,68)
#271939
(39,25,57)
#20152E
(32,21,46)
#191123
(25,17,35)
#120D18
(18,13,24)
#0B090D
(11,9,13)
#000000
(0,0,0)

Tints of #51317B

#51317B
(81,49,123)
#604387
(96,67,135)
#6F5593
(111,85,147)
#7E679F
(126,103,159)
#8D79AB
(141,121,171)
#9C8BB7
(156,139,183)
#AB9DC3
(171,157,195)
#BAAFCF
(186,175,207)
#C9C1DB
(201,193,219)
#D8D3E7
(216,211,231)
#E7E5F3
(231,229,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #51317B; }

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

This text font color is #51317B.

Background Color

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

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

This div background color is #51317B.

Border color

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

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

This div border color is #51317B.

Opacity

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

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

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

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

This text has shadow with #51317B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #51317B.

Preview

Color preview on black background

This text has color #51317B on black background.


Color preview on white background

This text has color #51317B on white background.


Black color preview on #51317B background

This text has black color on #51317B background.


White color preview on #51317B background

This text has white color on #51317B background.


Related colors

Complementary color

Complementary color for #hex is #AECE84.


I love getcolorcode.com

Triadic colors

1 #7B5131 and #317B51 with #51317B are triadic colors.

2 #7B3151 and #31517B with #51317B are triadic colors.