COLOR #51515F

HEX: #51515F
RGB: (81,81,95)

Color info

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

RGB color model

#51515F color RGB value is (81,81,95).

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

RGB channels and saturation

R 81 of 255 = 32%
G 81 of 255 = 32%
B 95 of 255 = 37%

81
81
95

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

Portions of RGB colors in percentages

R + G + B =
81 + 81 + 95 = 257 (100%)
R 81 of 257 ~ 31.52%
G 81 of 257 ~ 31.52%
B 95 of 257 ~ 36.96%

%31.52
%31.52
%36.96

CMYK color model

#51515F color CMYK value is (15,15,0,63).

  • cyan value is 14.74%
  • magenta value is 14.74%
  • yellow value is 0.00%
  • key color value is 62.75%
CMYK:
(15,15,0,63)
C15M15Y0K63 
(15%,15%,0%,63%)
(0.15/0.15/0.00/0.63)	

CMYK percentages

%14.74
%14.74
%0
%62.75

Codes

Color #51515F in popluar color models

51515F
RGB818195
HSL240°7.95%34.51%
HSB/HSV240°14.74%37.25%
CMYK14.74%14.74%0.00%
62.75%

Color #51515F in popluar number systems.

HEX51515F
Decimal818195
Binary101000110100011011111
Octal121121137

Shades and tints

Shades of #51515F

#51515F
(81,81,95)
#4A4A57
(74,74,87)
#43434F
(67,67,79)
#3C3C47
(60,60,71)
#35353F
(53,53,63)
#2E2E37
(46,46,55)
#27272F
(39,39,47)
#202027
(32,32,39)
#19191F
(25,25,31)
#121217
(18,18,23)
#0B0B0F
(11,11,15)
#000000
(0,0,0)

Tints of #51515F

#51515F
(81,81,95)
#60606D
(96,96,109)
#6F6F7B
(111,111,123)
#7E7E89
(126,126,137)
#8D8D97
(141,141,151)
#9C9CA5
(156,156,165)
#ABABB3
(171,171,179)
#BABAC1
(186,186,193)
#C9C9CF
(201,201,207)
#D8D8DD
(216,216,221)
#E7E7EB
(231,231,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #51515F; }

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

This text font color is #51515F.


Background Color

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

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

This div background color is #51515F.


Border color

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

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

This div border color is #51515F.


Opacity

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

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

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

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

This text has shadow with #51515F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #51515F on black background.


Color preview on white background

This text has color #51515F on white background.



Black color preview on #51515F background

This text has black color on #51515F background.


White color preview on #51515F background

This text has white color on #51515F background.