COLOR #51288B

HEX: #51288B RGB: (81,40,139)

Color info

#51288B contains mainly red and blue colors. Web safe color of #51288B is #663399 (or #639).

RGB color model

#51288B color RGB value is (81,40,139).

RGB: (81,40,139) (32%, 16%, 55%)

RGB channels and saturation

R 81 of 255 = 32%
G 40 of 255 = 16%
B 139 of 255 = 55%

81
40
139

R + G + B ~ 34%. #51288B is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 40 + 139 = 260 (100%)
R 81 of 260 ~ 31.15%
G 40 of 260 ~ 15.38%
B 139 of 260 ~ 53.46'%

%31.15
%15.38
%53.46

CMYK color model

#51288B color CMYK value is (42,71,0,45).

  • cyan value is 41.73%
  • magenta value is 71.22%
  • yellow value is 0.00%
  • key color value is 45.49%

CMYK: (42,71,0,45)
C42M71Y0K45 (42%, 71%, 0%, 45%)
(0.42 / 0.71 / 0.00 / 0.45)

CMYK percentages

%41.73
%71.22
%0
%45.49

Codes

Color #51288B in popluar color models

51 28 8B
RGB 81 40 139
HSL 265° 55.31% 35.10%
HSB/HSV 265° 71.22% 54.51%
CMYK 41.73% 71.22% 0.00%
45.49%

Color #51288B in popluar number systems.

HEX 51 28 8B
Decimal 81 40 139
Binary 1010001 101000 10001011
Octal 121 50 213

Shades and tints

Shades of #51288B

#51288B
(81,40,139)
#4A257F
(74,37,127)
#432273
(67,34,115)
#3C1F67
(60,31,103)
#351C5B
(53,28,91)
#2E194F
(46,25,79)
#271643
(39,22,67)
#201337
(32,19,55)
#19102B
(25,16,43)
#120D1F
(18,13,31)
#0B0A13
(11,10,19)
#000000
(0,0,0)

Tints of #51288B

#51288B
(81,40,139)
#603B95
(96,59,149)
#6F4E9F
(111,78,159)
#7E61A9
(126,97,169)
#8D74B3
(141,116,179)
#9C87BD
(156,135,189)
#AB9AC7
(171,154,199)
#BAADD1
(186,173,209)
#C9C0DB
(201,192,219)
#D8D3E5
(216,211,229)
#E7E6EF
(231,230,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #51288B color. Also use rgb(81,40,139) instead hex code.

Text Font Color

.myTextColor { color: #51288B; }

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

This text font color is #51288B.

Background Color

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

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

This div background color is #51288B.

Border color

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

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

This div border color is #51288B.

Opacity

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

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

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

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

This text has shadow with #51288B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #51288B.

Preview

Color preview on black background

This text has color #51288B on black background.


Color preview on white background

This text has color #51288B on white background.


Black color preview on #51288B background

This text has black color on #51288B background.


White color preview on #51288B background

This text has white color on #51288B background.


Related colors

Complementary color

Complementary color for #hex is #AED774.


I love getcolorcode.com

Triadic colors

1 #8B5128 and #288B51 with #51288B are triadic colors.

2 #8B2851 and #28518B with #51288B are triadic colors.