COLOR #515797

HEX: #515797 RGB: (81,87,151)

Color info

#515797 contains mainly blue color. Web safe color of #515797 is #666699 (or #669).

RGB color model

#515797 color RGB value is (81,87,151).

RGB: (81,87,151) (32%, 34%, 59%)

RGB channels and saturation

R 81 of 255 = 32%
G 87 of 255 = 34%
B 151 of 255 = 59%

81
87
151

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

Portions of RGB colors in percentages

R + G + B = 81 + 87 + 151 = 319 (100%)
R 81 of 319 ~ 25.39%
G 87 of 319 ~ 27.27%
B 151 of 319 ~ 47.34'%

%25.39
%27.27
%47.34

CMYK color model

#515797 color CMYK value is (46,42,0,41).

  • cyan value is 46.36%
  • magenta value is 42.38%
  • yellow value is 0.00%
  • key color value is 40.78%

CMYK: (46,42,0,41)
C46M42Y0K41 (46%, 42%, 0%, 41%)
(0.46 / 0.42 / 0.00 / 0.41)

CMYK percentages

%46.36
%42.38
%0
%40.78

Codes

Color #515797 in popluar color models

51 57 97
RGB 81 87 151
HSL 235° 30.17% 45.49%
HSB/HSV 235° 46.36% 59.22%
CMYK 46.36% 42.38% 0.00%
40.78%

Color #515797 in popluar number systems.

HEX 51 57 97
Decimal 81 87 151
Binary 1010001 1010111 10010111
Octal 121 127 227

Shades and tints

Shades of #515797

#515797
(81,87,151)
#4A508A
(74,80,138)
#43497D
(67,73,125)
#3C4270
(60,66,112)
#353B63
(53,59,99)
#2E3456
(46,52,86)
#272D49
(39,45,73)
#20263C
(32,38,60)
#191F2F
(25,31,47)
#121822
(18,24,34)
#0B1115
(11,17,21)
#000000
(0,0,0)

Tints of #515797

#515797
(81,87,151)
#6066A0
(96,102,160)
#6F75A9
(111,117,169)
#7E84B2
(126,132,178)
#8D93BB
(141,147,187)
#9CA2C4
(156,162,196)
#ABB1CD
(171,177,205)
#BAC0D6
(186,192,214)
#C9CFDF
(201,207,223)
#D8DEE8
(216,222,232)
#E7EDF1
(231,237,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #515797; }

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

This text font color is #515797.

Background Color

.myBgColor { background-color: #515797; }

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

This div background color is #515797.

Border color

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

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

This div border color is #515797.

Opacity

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

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

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

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

This text has shadow with #515797 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #515797.

Preview

Color preview on black background

This text has color #515797 on black background.


Color preview on white background

This text has color #515797 on white background.


Black color preview on #515797 background

This text has black color on #515797 background.


White color preview on #515797 background

This text has white color on #515797 background.


Related colors

Complementary color

Complementary color for #hex is #AEA868.


I love getcolorcode.com

Triadic colors

1 #975157 and #579751 with #515797 are triadic colors.

2 #975751 and #575197 with #515797 are triadic colors.