COLOR #516C8A

HEX: #516C8A RGB: (81,108,138)

Color info

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

RGB color model

#516C8A color RGB value is (81,108,138).

RGB: (81,108,138) (32%, 42%, 54%)

RGB channels and saturation

R 81 of 255 = 32%
G 108 of 255 = 42%
B 138 of 255 = 54%

81
108
138

R + G + B ~ 43%. #516C8A is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 81 + 108 + 138 = 327 (100%)
R 81 of 327 ~ 24.77%
G 108 of 327 ~ 33.03%
B 138 of 327 ~ 42.2'%

%24.77
%33.03
%42.2

CMYK color model

#516C8A color CMYK value is (41,22,0,46).

  • cyan value is 41.30%
  • magenta value is 21.74%
  • yellow value is 0.00%
  • key color value is 45.88%

CMYK: (41,22,0,46)
C41M22Y0K46 (41%, 22%, 0%, 46%)
(0.41 / 0.22 / 0.00 / 0.46)

CMYK percentages

%41.3
%21.74
%0
%45.88

Codes

Color #516C8A in popluar color models

51 6C 8A
RGB 81 108 138
HSL 212° 26.03% 42.94%
HSB/HSV 212° 41.30% 54.12%
CMYK 41.30% 21.74% 0.00%
45.88%

Color #516C8A in popluar number systems.

HEX 51 6C 8A
Decimal 81 108 138
Binary 1010001 1101100 10001010
Octal 121 154 212

Shades and tints

Shades of #516C8A

#516C8A
(81,108,138)
#4A637E
(74,99,126)
#435A72
(67,90,114)
#3C5166
(60,81,102)
#35485A
(53,72,90)
#2E3F4E
(46,63,78)
#273642
(39,54,66)
#202D36
(32,45,54)
#19242A
(25,36,42)
#121B1E
(18,27,30)
#0B1212
(11,18,18)
#000000
(0,0,0)

Tints of #516C8A

#516C8A
(81,108,138)
#607994
(96,121,148)
#6F869E
(111,134,158)
#7E93A8
(126,147,168)
#8DA0B2
(141,160,178)
#9CADBC
(156,173,188)
#ABBAC6
(171,186,198)
#BAC7D0
(186,199,208)
#C9D4DA
(201,212,218)
#D8E1E4
(216,225,228)
#E7EEEE
(231,238,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #516C8A color. Also use rgb(81,108,138) instead hex code.

Text Font Color

.myTextColor { color: #516C8A; }

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

This text font color is #516C8A.

Background Color

.myBgColor { background-color: #516C8A; }

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

This div background color is #516C8A.

Border color

.myBorderColor { border: 1px solid #516C8A; }

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

This div border color is #516C8A.

Opacity

.myOpacity80 { color: #516C8A; opacity: 0.8; }

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

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

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

This text has shadow with #516C8A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #516C8A.

Preview

Color preview on black background

This text has color #516C8A on black background.


Color preview on white background

This text has color #516C8A on white background.


Black color preview on #516C8A background

This text has black color on #516C8A background.


White color preview on #516C8A background

This text has white color on #516C8A background.


Related colors

Complementary color

Complementary color for #hex is #AE9375.


I love getcolorcode.com

Triadic colors

1 #8A516C and #6C8A51 with #516C8A are triadic colors.

2 #8A6C51 and #6C518A with #516C8A are triadic colors.