COLOR #51517F

HEX: #51517F
RGB: (81,81,127)

Color info

#51517F contains red, green and blue colors in about the same proportion. Web safe color of #51517F is #666666 (or #666).

RGB color model

#51517F color RGB value is (81,81,127).

  • red value is 81;
  • green value is 81;
  • blue value is 127.
RGB:
(81,81,127)
(32%,32%,50%)

RGB channels and saturation

R 81 of 255 = 32%
G 81 of 255 = 32%
B 127 of 255 = 50%

81
81
127

R + G + B ~ 38%. #51517F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 81 + 127 = 289 (100%)
R 81 of 289 ~ 28.03%
G 81 of 289 ~ 28.03%
B 127 of 289 ~ 43.94%

%28.03
%28.03
%43.94

CMYK color model

#51517F color CMYK value is (36,36,0,50).

  • cyan value is 36.22%
  • magenta value is 36.22%
  • yellow value is 0.00%
  • key color value is 50.20%
CMYK:
(36,36,0,50)
C36M36Y0K50 
(36%,36%,0%,50%)
(0.36/0.36/0.00/0.50)	

CMYK percentages

%36.22
%36.22
%0
%50.2

Codes

Color #51517F in popluar color models

51517F
RGB8181127
HSL240°22.12%40.78%
HSB/HSV240°36.22%49.80%
CMYK36.22%36.22%0.00%
50.20%

Color #51517F in popluar number systems.

HEX51517F
Decimal8181127
Binary101000110100011111111
Octal121121177

Shades and tints

Shades of #51517F

#51517F
(81,81,127)
#4A4A74
(74,74,116)
#434369
(67,67,105)
#3C3C5E
(60,60,94)
#353553
(53,53,83)
#2E2E48
(46,46,72)
#27273D
(39,39,61)
#202032
(32,32,50)
#191927
(25,25,39)
#12121C
(18,18,28)
#0B0B11
(11,11,17)
#000000
(0,0,0)

Tints of #51517F

#51517F
(81,81,127)
#60608A
(96,96,138)
#6F6F95
(111,111,149)
#7E7EA0
(126,126,160)
#8D8DAB
(141,141,171)
#9C9CB6
(156,156,182)
#ABABC1
(171,171,193)
#BABACC
(186,186,204)
#C9C9D7
(201,201,215)
#D8D8E2
(216,216,226)
#E7E7ED
(231,231,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #51517F color. Also use rgb(81,81,127) instead hex code.

Text Font Color

.myTextColor { color: #51517F; }

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

This text font color is #51517F.


Background Color

.myBgColor { background-color: #51517F; }

<div style="background-color:#51517F">Inner text</div>

This div background color is #51517F.


Border color

.myBorderColor { border: 1px solid #51517F; }

<div style="border:3px solid #51517F">Div</div>

This div border color is #51517F.


Opacity

.myOpacity80 { color: #51517F; opacity: 0.8; }

<p style="color:#51517F;opacity:0.8;">80%</p>

Text with #51517F 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 #51517F;}

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

This text has shadow with #51517F color.

.textShadow {text-shadow: 3px 3px 1px #51517F, 3px 3px 1px red;}

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

This text has shadow with #51517F primary color and red secondary color.


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

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

This text has shadow with #51517F and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #51517F on black background.


Color preview on white background

This text has color #51517F on white background.



Black color preview on #51517F background

This text has black color on #51517F background.


White color preview on #51517F background

This text has white color on #51517F background.