COLOR #51486C

HEX: #51486C RGB: (81,72,108)

Color info

#51486C contains red, green and blue colors in about the same proportion. Web safe color of #51486C is #663366 (or #636).

RGB color model

#51486C color RGB value is (81,72,108).

RGB: (81,72,108) (32%, 28%, 42%)

RGB channels and saturation

R 81 of 255 = 32%
G 72 of 255 = 28%
B 108 of 255 = 42%

81
72
108

R + G + B ~ 34%. #51486C is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 72 + 108 = 261 (100%)
R 81 of 261 ~ 31.03%
G 72 of 261 ~ 27.59%
B 108 of 261 ~ 41.38'%

%31.03
%27.59
%41.38

CMYK color model

#51486C color CMYK value is (25,33,0,58).

  • cyan value is 25.00%
  • magenta value is 33.33%
  • yellow value is 0.00%
  • key color value is 57.65%
CMYK: (25,33,0,58) C25M33Y0K58 (25%,33%,0%,58%) (0.25/0.33/0.00/0.58) 

CMYK percentages

%25
%33.33
%0
%57.65

Codes

Color #51486C in popluar color models

51 48 6C
RGB 81 72 108
HSL 255° 20.00% 35.29%
HSB/HSV 255° 33.33% 42.35%
CMYK 25.00% 33.33% 0.00%
57.65%

Color #51486C in popluar number systems.

HEX 51 48 6C
Decimal 81 72 108
Binary 1010001 1001000 1101100
Octal 121 110 154

Shades and tints

Shades of #51486C

#51486C
(81,72,108)
#4A4263
(74,66,99)
#433C5A
(67,60,90)
#3C3651
(60,54,81)
#353048
(53,48,72)
#2E2A3F
(46,42,63)
#272436
(39,36,54)
#201E2D
(32,30,45)
#191824
(25,24,36)
#12121B
(18,18,27)
#0B0C12
(11,12,18)
#000000
(0,0,0)

Tints of #51486C

#51486C
(81,72,108)
#605879
(96,88,121)
#6F6886
(111,104,134)
#7E7893
(126,120,147)
#8D88A0
(141,136,160)
#9C98AD
(156,152,173)
#ABA8BA
(171,168,186)
#BAB8C7
(186,184,199)
#C9C8D4
(201,200,212)
#D8D8E1
(216,216,225)
#E7E8EE
(231,232,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #51486C color. Also use rgb(81,72,108) instead hex code.

Text Font Color

.myTextColor { color: #51486C; }

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

This text font color is #51486C.

Background Color

.myBgColor { background-color: #51486C; }

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

This div background color is #51486C.

Border color

.myBorderColor { border: 1px solid #51486C; }

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

This div border color is #51486C.

Opacity

.myOpacity80 { color: #51486C; opacity: 0.8; }

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

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

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

This text has shadow with #51486C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #51486C.

Preview

Color preview on black background

This text has color #51486C on black background.


Color preview on white background

This text has color #51486C on white background.


Black color preview on #51486C background

This text has black color on #51486C background.


White color preview on #51486C background

This text has white color on #51486C background.


Related colors

Complementary color

Complementary color for #hex is #AEB793.


I love getcolorcode.com

Triadic colors

1 #6C5148 and #486C51 with #51486C are triadic colors.

2 #6C4851 and #48516C with #51486C are triadic colors.