COLOR #515257

HEX: #515257
RGB: (81,82,87)

Color info

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

RGB color model

#515257 color RGB value is (81,82,87).

  • red value is 81;
  • green value is 82;
  • blue value is 87.
RGB:
(81,82,87)
(32%,32%,34%)

RGB channels and saturation

R 81 of 255 = 32%
G 82 of 255 = 32%
B 87 of 255 = 34%

81
82
87

R + G + B ~ 33%. #515257 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 82 + 87 = 250 (100%)
R 81 of 250 ~ 32.4%
G 82 of 250 ~ 32.8%
B 87 of 250 ~ 34.8%

%32.4
%32.8
%34.8

CMYK color model

#515257 color CMYK value is (7,6,0,66).

  • cyan value is 6.90%
  • magenta value is 5.75%
  • yellow value is 0.00%
  • key color value is 65.88%
CMYK:
(7,6,0,66)
C7M6Y0K66 
(7%,6%,0%,66%)
(0.07/0.06/0.00/0.66)	

CMYK percentages

%6.9
%5.75
%0
%65.88

Codes

Color #515257 in popluar color models

515257
RGB818287
HSL230°3.57%32.94%
HSB/HSV230°6.90%34.12%
CMYK6.90%5.75%0.00%
65.88%

Color #515257 in popluar number systems.

HEX515257
Decimal818287
Binary101000110100101010111
Octal121122127

Shades and tints

Shades of #515257

#515257
(81,82,87)
#4A4B50
(74,75,80)
#434449
(67,68,73)
#3C3D42
(60,61,66)
#35363B
(53,54,59)
#2E2F34
(46,47,52)
#27282D
(39,40,45)
#202126
(32,33,38)
#191A1F
(25,26,31)
#121318
(18,19,24)
#0B0C11
(11,12,17)
#000000
(0,0,0)

Tints of #515257

#515257
(81,82,87)
#606166
(96,97,102)
#6F7075
(111,112,117)
#7E7F84
(126,127,132)
#8D8E93
(141,142,147)
#9C9DA2
(156,157,162)
#ABACB1
(171,172,177)
#BABBC0
(186,187,192)
#C9CACF
(201,202,207)
#D8D9DE
(216,217,222)
#E7E8ED
(231,232,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #515257 color. Also use rgb(81,82,87) instead hex code.

Text Font Color

.myTextColor { color: #515257; }

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

This text font color is #515257.


Background Color

.myBgColor { background-color: #515257; }

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

This div background color is #515257.


Border color

.myBorderColor { border: 1px solid #515257; }

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

This div border color is #515257.


Opacity

.myOpacity80 { color: #515257; opacity: 0.8; }

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

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

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

This text has shadow with #515257 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #515257 on black background.


Color preview on white background

This text has color #515257 on white background.



Black color preview on #515257 background

This text has black color on #515257 background.


White color preview on #515257 background

This text has white color on #515257 background.