COLOR #51397B

HEX: #51397B
RGB: (81,57,123)

Color info

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

RGB color model

#51397B color RGB value is (81,57,123).

  • red value is 81;
  • green value is 57;
  • blue value is 123.
RGB:
(81,57,123)
(32%,22%,48%)

RGB channels and saturation

R 81 of 255 = 32%
G 57 of 255 = 22%
B 123 of 255 = 48%

81
57
123

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

Portions of RGB colors in percentages

R + G + B =
81 + 57 + 123 = 261 (100%)
R 81 of 261 ~ 31.03%
G 57 of 261 ~ 21.84%
B 123 of 261 ~ 47.13%

%31.03
%21.84
%47.13

CMYK color model

#51397B color CMYK value is (34,54,0,52).

  • cyan value is 34.15%
  • magenta value is 53.66%
  • yellow value is 0.00%
  • key color value is 51.76%
CMYK:
(34,54,0,52)
C34M54Y0K52 
(34%,54%,0%,52%)
(0.34/0.54/0.00/0.52)	

CMYK percentages

%34.15
%53.66
%0
%51.76

Codes

Color #51397B in popluar color models

51397B
RGB8157123
HSL262°36.67%35.29%
HSB/HSV262°53.66%48.24%
CMYK34.15%53.66%0.00%
51.76%

Color #51397B in popluar number systems.

HEX51397B
Decimal8157123
Binary10100011110011111011
Octal12171173

Shades and tints

Shades of #51397B

#51397B
(81,57,123)
#4A3470
(74,52,112)
#432F65
(67,47,101)
#3C2A5A
(60,42,90)
#35254F
(53,37,79)
#2E2044
(46,32,68)
#271B39
(39,27,57)
#20162E
(32,22,46)
#191123
(25,17,35)
#120C18
(18,12,24)
#0B070D
(11,7,13)
#000000
(0,0,0)

Tints of #51397B

#51397B
(81,57,123)
#604B87
(96,75,135)
#6F5D93
(111,93,147)
#7E6F9F
(126,111,159)
#8D81AB
(141,129,171)
#9C93B7
(156,147,183)
#ABA5C3
(171,165,195)
#BAB7CF
(186,183,207)
#C9C9DB
(201,201,219)
#D8DBE7
(216,219,231)
#E7EDF3
(231,237,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #51397B; }

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

This text font color is #51397B.


Background Color

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

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

This div background color is #51397B.


Border color

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

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

This div border color is #51397B.


Opacity

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

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

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

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

This text has shadow with #51397B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #51397B on black background.


Color preview on white background

This text has color #51397B on white background.



Black color preview on #51397B background

This text has black color on #51397B background.


White color preview on #51397B background

This text has white color on #51397B background.