COLOR #515170

HEX: #515170
RGB: (81,81,112)

Color info

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

RGB color model

#515170 color RGB value is (81,81,112).

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

RGB channels and saturation

R 81 of 255 = 32%
G 81 of 255 = 32%
B 112 of 255 = 44%

81
81
112

R + G + B ~ 36%. #515170 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 81 + 112 = 274 (100%)
R 81 of 274 ~ 29.56%
G 81 of 274 ~ 29.56%
B 112 of 274 ~ 40.88%

%29.56
%29.56
%40.88

CMYK color model

#515170 color CMYK value is (28,28,0,56).

  • cyan value is 27.68%
  • magenta value is 27.68%
  • yellow value is 0.00%
  • key color value is 56.08%
CMYK:
(28,28,0,56)
C28M28Y0K56 
(28%,28%,0%,56%)
(0.28/0.28/0.00/0.56)	

CMYK percentages

%27.68
%27.68
%0
%56.08

Codes

Color #515170 in popluar color models

515170
RGB8181112
HSL240°16.06%37.84%
HSB/HSV240°27.68%43.92%
CMYK27.68%27.68%0.00%
56.08%

Color #515170 in popluar number systems.

HEX515170
Decimal8181112
Binary101000110100011110000
Octal121121160

Shades and tints

Shades of #515170

#515170
(81,81,112)
#4A4A66
(74,74,102)
#43435C
(67,67,92)
#3C3C52
(60,60,82)
#353548
(53,53,72)
#2E2E3E
(46,46,62)
#272734
(39,39,52)
#20202A
(32,32,42)
#191920
(25,25,32)
#121216
(18,18,22)
#0B0B0C
(11,11,12)
#000000
(0,0,0)

Tints of #515170

#515170
(81,81,112)
#60607D
(96,96,125)
#6F6F8A
(111,111,138)
#7E7E97
(126,126,151)
#8D8DA4
(141,141,164)
#9C9CB1
(156,156,177)
#ABABBE
(171,171,190)
#BABACB
(186,186,203)
#C9C9D8
(201,201,216)
#D8D8E5
(216,216,229)
#E7E7F2
(231,231,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #515170; }

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

This text font color is #515170.


Background Color

.myBgColor { background-color: #515170; }

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

This div background color is #515170.


Border color

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

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

This div border color is #515170.


Opacity

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

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

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

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

This text has shadow with #515170 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #515170 on black background.


Color preview on white background

This text has color #515170 on white background.



Black color preview on #515170 background

This text has black color on #515170 background.


White color preview on #515170 background

This text has white color on #515170 background.