COLOR #51508C

HEX: #51508C
RGB: (81,80,140)

Color info

#51508C contains mainly red and blue colors. Web safe color of #51508C is #666699 (or #669).

RGB color model

#51508C color RGB value is (81,80,140).

  • red value is 81;
  • green value is 80;
  • blue value is 140.
RGB:
(81,80,140)
(32%,31%,55%)

RGB channels and saturation

R 81 of 255 = 32%
G 80 of 255 = 31%
B 140 of 255 = 55%

81
80
140

R + G + B ~ 39%. #51508C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 80 + 140 = 301 (100%)
R 81 of 301 ~ 26.91%
G 80 of 301 ~ 26.58%
B 140 of 301 ~ 46.51%

%26.91
%26.58
%46.51

CMYK color model

#51508C color CMYK value is (42,43,0,45).

  • cyan value is 42.14%
  • magenta value is 42.86%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(42,43,0,45)
C42M43Y0K45 
(42%,43%,0%,45%)
(0.42/0.43/0.00/0.45)	

CMYK percentages

%42.14
%42.86
%0
%45.1

Codes

Color #51508C in popluar color models

51508C
RGB8180140
HSL241°27.27%43.14%
HSB/HSV241°42.86%54.90%
CMYK42.14%42.86%0.00%
45.10%

Color #51508C in popluar number systems.

HEX51508C
Decimal8180140
Binary1010001101000010001100
Octal121120214

Shades and tints

Shades of #51508C

#51508C
(81,80,140)
#4A4980
(74,73,128)
#434274
(67,66,116)
#3C3B68
(60,59,104)
#35345C
(53,52,92)
#2E2D50
(46,45,80)
#272644
(39,38,68)
#201F38
(32,31,56)
#19182C
(25,24,44)
#121120
(18,17,32)
#0B0A14
(11,10,20)
#000000
(0,0,0)

Tints of #51508C

#51508C
(81,80,140)
#605F96
(96,95,150)
#6F6EA0
(111,110,160)
#7E7DAA
(126,125,170)
#8D8CB4
(141,140,180)
#9C9BBE
(156,155,190)
#ABAAC8
(171,170,200)
#BAB9D2
(186,185,210)
#C9C8DC
(201,200,220)
#D8D7E6
(216,215,230)
#E7E6F0
(231,230,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #51508C color. Also use rgb(81,80,140) instead hex code.

Text Font Color

.myTextColor { color: #51508C; }

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

This text font color is #51508C.


Background Color

.myBgColor { background-color: #51508C; }

<div style="background-color:#51508C">Inner text</div>

This div background color is #51508C.


Border color

.myBorderColor { border: 1px solid #51508C; }

<div style="border:3px solid #51508C">Div</div>

This div border color is #51508C.


Opacity

.myOpacity80 { color: #51508C; opacity: 0.8; }

<p style="color:#51508C;opacity:0.8;">80%</p>

Text with #51508C 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 #51508C;}

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

This text has shadow with #51508C color.

.textShadow {text-shadow: 3px 3px 1px #51508C, 3px 3px 1px red;}

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

This text has shadow with #51508C primary color and red secondary color.


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

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

This text has shadow with #51508C and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #51508C on black background.


Color preview on white background

This text has color #51508C on white background.



Black color preview on #51508C background

This text has black color on #51508C background.


White color preview on #51508C background

This text has white color on #51508C background.