COLOR #51506B

HEX: #51506B RGB: (81,80,107)

Color info

#51506B contains red, green and blue colors in about the same proportion. Web safe color of #51506B is #666666 (or #666).

RGB color model

#51506B color RGB value is (81,80,107).

RGB: (81,80,107) (32%, 31%, 42%)

RGB channels and saturation

R 81 of 255 = 32%
G 80 of 255 = 31%
B 107 of 255 = 42%

81
80
107

R + G + B ~ 35%. #51506B is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 80 + 107 = 268 (100%)
R 81 of 268 ~ 30.22%
G 80 of 268 ~ 29.85%
B 107 of 268 ~ 39.93'%

%30.22
%29.85
%39.93

CMYK color model

#51506B color CMYK value is (24,25,0,58).

  • cyan value is 24.30%
  • magenta value is 25.23%
  • yellow value is 0.00%
  • key color value is 58.04%

CMYK: (24,25,0,58)
C24M25Y0K58 (24%, 25%, 0%, 58%)
(0.24 / 0.25 / 0.00 / 0.58)

CMYK percentages

%24.3
%25.23
%0
%58.04

Codes

Color #51506B in popluar color models

51 50 6B
RGB 81 80 107
HSL 242° 14.44% 36.67%
HSB/HSV 242° 25.23% 41.96%
CMYK 24.30% 25.23% 0.00%
58.04%

Color #51506B in popluar number systems.

HEX 51 50 6B
Decimal 81 80 107
Binary 1010001 1010000 1101011
Octal 121 120 153

Shades and tints

Shades of #51506B

#51506B
(81,80,107)
#4A4962
(74,73,98)
#434259
(67,66,89)
#3C3B50
(60,59,80)
#353447
(53,52,71)
#2E2D3E
(46,45,62)
#272635
(39,38,53)
#201F2C
(32,31,44)
#191823
(25,24,35)
#12111A
(18,17,26)
#0B0A11
(11,10,17)
#000000
(0,0,0)

Tints of #51506B

#51506B
(81,80,107)
#605F78
(96,95,120)
#6F6E85
(111,110,133)
#7E7D92
(126,125,146)
#8D8C9F
(141,140,159)
#9C9BAC
(156,155,172)
#ABAAB9
(171,170,185)
#BAB9C6
(186,185,198)
#C9C8D3
(201,200,211)
#D8D7E0
(216,215,224)
#E7E6ED
(231,230,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #51506B color. Also use rgb(81,80,107) instead hex code.

Text Font Color

.myTextColor { color: #51506B; }

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

This text font color is #51506B.

Background Color

.myBgColor { background-color: #51506B; }

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

This div background color is #51506B.

Border color

.myBorderColor { border: 1px solid #51506B; }

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

This div border color is #51506B.

Opacity

.myOpacity80 { color: #51506B; opacity: 0.8; }

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

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

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

This text has shadow with #51506B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #51506B.

Preview

Color preview on black background

This text has color #51506B on black background.


Color preview on white background

This text has color #51506B on white background.


Black color preview on #51506B background

This text has black color on #51506B background.


White color preview on #51506B background

This text has white color on #51506B background.


Related colors

Complementary color

Complementary color for #hex is #AEAF94.


I love getcolorcode.com

Triadic colors

1 #6B5150 and #506B51 with #51506B are triadic colors.

2 #6B5051 and #50516B with #51506B are triadic colors.