COLOR #515787

HEX: #515787 RGB: (81,87,135)

Color info

#515787 contains red, green and blue colors in about the same proportion. Web safe color of #515787 is #666699 (or #669).

RGB color model

#515787 color RGB value is (81,87,135).

RGB: (81,87,135) (32%, 34%, 53%)

RGB channels and saturation

R 81 of 255 = 32%
G 87 of 255 = 34%
B 135 of 255 = 53%

81
87
135

R + G + B ~ 40%. #515787 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 81 + 87 + 135 = 303 (100%)
R 81 of 303 ~ 26.73%
G 87 of 303 ~ 28.71%
B 135 of 303 ~ 44.55'%

%26.73
%28.71
%44.55

CMYK color model

#515787 color CMYK value is (40,36,0,47).

  • cyan value is 40.00%
  • magenta value is 35.56%
  • yellow value is 0.00%
  • key color value is 47.06%

CMYK: (40,36,0,47)
C40M36Y0K47 (40%, 36%, 0%, 47%)
(0.40 / 0.36 / 0.00 / 0.47)

CMYK percentages

%40
%35.56
%0
%47.06

Codes

Color #515787 in popluar color models

51 57 87
RGB 81 87 135
HSL 233° 25.00% 42.35%
HSB/HSV 233° 40.00% 52.94%
CMYK 40.00% 35.56% 0.00%
47.06%

Color #515787 in popluar number systems.

HEX 51 57 87
Decimal 81 87 135
Binary 1010001 1010111 10000111
Octal 121 127 207

Shades and tints

Shades of #515787

#515787
(81,87,135)
#4A507B
(74,80,123)
#43496F
(67,73,111)
#3C4263
(60,66,99)
#353B57
(53,59,87)
#2E344B
(46,52,75)
#272D3F
(39,45,63)
#202633
(32,38,51)
#191F27
(25,31,39)
#12181B
(18,24,27)
#0B110F
(11,17,15)
#000000
(0,0,0)

Tints of #515787

#515787
(81,87,135)
#606691
(96,102,145)
#6F759B
(111,117,155)
#7E84A5
(126,132,165)
#8D93AF
(141,147,175)
#9CA2B9
(156,162,185)
#ABB1C3
(171,177,195)
#BAC0CD
(186,192,205)
#C9CFD7
(201,207,215)
#D8DEE1
(216,222,225)
#E7EDEB
(231,237,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #515787; }

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

This text font color is #515787.

Background Color

.myBgColor { background-color: #515787; }

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

This div background color is #515787.

Border color

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

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

This div border color is #515787.

Opacity

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

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

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

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

This text has shadow with #515787 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #515787.

Preview

Color preview on black background

This text has color #515787 on black background.


Color preview on white background

This text has color #515787 on white background.


Black color preview on #515787 background

This text has black color on #515787 background.


White color preview on #515787 background

This text has white color on #515787 background.


Related colors

Complementary color

Complementary color for #hex is #AEA878.


I love getcolorcode.com

Triadic colors

1 #875157 and #578751 with #515787 are triadic colors.

2 #875751 and #575187 with #515787 are triadic colors.