COLOR #515186

HEX: #515186 RGB: (81,81,134)

Color info

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

RGB color model

#515186 color RGB value is (81,81,134).

RGB: (81,81,134) (32%, 32%, 53%)

RGB channels and saturation

R 81 of 255 = 32%
G 81 of 255 = 32%
B 134 of 255 = 53%

81
81
134

R + G + B ~ 39%. #515186 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 81 + 134 = 296 (100%)
R 81 of 296 ~ 27.36%
G 81 of 296 ~ 27.36%
B 134 of 296 ~ 45.27'%

%27.36
%27.36
%45.27

CMYK color model

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

  • cyan value is 39.55%
  • magenta value is 39.55%
  • yellow value is 0.00%
  • key color value is 47.45%

CMYK: (40,40,0,47)
C40M40Y0K47 (40%, 40%, 0%, 47%)
(0.40 / 0.40 / 0.00 / 0.47)

CMYK percentages

%39.55
%39.55
%0
%47.45

Codes

Color #515186 in popluar color models

51 51 86
RGB 81 81 134
HSL 240° 24.65% 42.16%
HSB/HSV 240° 39.55% 52.55%
CMYK 39.55% 39.55% 0.00%
47.45%

Color #515186 in popluar number systems.

HEX 51 51 86
Decimal 81 81 134
Binary 1010001 1010001 10000110
Octal 121 121 206

Shades and tints

Shades of #515186

#515186
(81,81,134)
#4A4A7A
(74,74,122)
#43436E
(67,67,110)
#3C3C62
(60,60,98)
#353556
(53,53,86)
#2E2E4A
(46,46,74)
#27273E
(39,39,62)
#202032
(32,32,50)
#191926
(25,25,38)
#12121A
(18,18,26)
#0B0B0E
(11,11,14)
#000000
(0,0,0)

Tints of #515186

#515186
(81,81,134)
#606091
(96,96,145)
#6F6F9C
(111,111,156)
#7E7EA7
(126,126,167)
#8D8DB2
(141,141,178)
#9C9CBD
(156,156,189)
#ABABC8
(171,171,200)
#BABAD3
(186,186,211)
#C9C9DE
(201,201,222)
#D8D8E9
(216,216,233)
#E7E7F4
(231,231,244)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #515186; }

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

This text font color is #515186.

Background Color

.myBgColor { background-color: #515186; }

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

This div background color is #515186.

Border color

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

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

This div border color is #515186.

Opacity

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

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

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

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

This text has shadow with #515186 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #515186.

Preview

Color preview on black background

This text has color #515186 on black background.


Color preview on white background

This text has color #515186 on white background.


Black color preview on #515186 background

This text has black color on #515186 background.


White color preview on #515186 background

This text has white color on #515186 background.


Related colors

Complementary color

Complementary color for #hex is #AEAE79.


I love getcolorcode.com