COLOR #515156

HEX: #515156
RGB: (81,81,86)

Color info

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

RGB color model

#515156 color RGB value is (81,81,86).

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

RGB channels and saturation

R 81 of 255 = 32%
G 81 of 255 = 32%
B 86 of 255 = 34%

81
81
86

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

Portions of RGB colors in percentages

R + G + B =
81 + 81 + 86 = 248 (100%)
R 81 of 248 ~ 32.66%
G 81 of 248 ~ 32.66%
B 86 of 248 ~ 34.68%

%32.66
%32.66
%34.68

CMYK color model

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

  • cyan value is 5.81%
  • magenta value is 5.81%
  • yellow value is 0.00%
  • key color value is 66.27%
CMYK:
(6,6,0,66)
C6M6Y0K66 
(6%,6%,0%,66%)
(0.06/0.06/0.00/0.66)	

CMYK percentages

%5.81
%5.81
%0
%66.27

Codes

Color #515156 in popluar color models

515156
RGB818186
HSL240°2.99%32.75%
HSB/HSV240°5.81%33.73%
CMYK5.81%5.81%0.00%
66.27%

Color #515156 in popluar number systems.

HEX515156
Decimal818186
Binary101000110100011010110
Octal121121126

Shades and tints

Shades of #515156

#515156
(81,81,86)
#4A4A4F
(74,74,79)
#434348
(67,67,72)
#3C3C41
(60,60,65)
#35353A
(53,53,58)
#2E2E33
(46,46,51)
#27272C
(39,39,44)
#202025
(32,32,37)
#19191E
(25,25,30)
#121217
(18,18,23)
#0B0B10
(11,11,16)
#000000
(0,0,0)

Tints of #515156

#515156
(81,81,86)
#606065
(96,96,101)
#6F6F74
(111,111,116)
#7E7E83
(126,126,131)
#8D8D92
(141,141,146)
#9C9CA1
(156,156,161)
#ABABB0
(171,171,176)
#BABABF
(186,186,191)
#C9C9CE
(201,201,206)
#D8D8DD
(216,216,221)
#E7E7EC
(231,231,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #515156; }

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

This text font color is #515156.


Background Color

.myBgColor { background-color: #515156; }

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

This div background color is #515156.


Border color

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

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

This div border color is #515156.


Opacity

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

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

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

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

This text has shadow with #515156 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #515156 on black background.


Color preview on white background

This text has color #515156 on white background.



Black color preview on #515156 background

This text has black color on #515156 background.


White color preview on #515156 background

This text has white color on #515156 background.