COLOR #506851

HEX: #506851 RGB: (80,104,81)

Color info

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

RGB color model

#506851 color RGB value is (80,104,81).

RGB: (80,104,81) (31%, 41%, 32%)

RGB channels and saturation

R 80 of 255 = 31%
G 104 of 255 = 41%
B 81 of 255 = 32%

80
104
81

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

Portions of RGB colors in percentages

R + G + B = 80 + 104 + 81 = 265 (100%)
R 80 of 265 ~ 30.19%
G 104 of 265 ~ 39.25%
B 81 of 265 ~ 30.57'%

%30.19
%39.25
%30.57

CMYK color model

#506851 color CMYK value is (23,0,22,59).

  • cyan value is 23.08%
  • magenta value is 0.00%
  • yellow value is 22.12%
  • key color value is 59.22%
CMYK: (23,0,22,59) C23M0Y22K59 (23%,0%,22%,59%) (0.23/0.00/0.22/0.59) 

CMYK percentages

%23.08
%0
%22.12
%59.22

Codes

Color #506851 in popluar color models

50 68 51
RGB 80 104 81
HSL 123° 13.04% 36.08%
HSB/HSV 123° 23.08% 40.78%
CMYK 23.08% 0.00% 22.12%
59.22%

Color #506851 in popluar number systems.

HEX 50 68 51
Decimal 80 104 81
Binary 1010000 1101000 1010001
Octal 120 150 121

Shades and tints

Shades of #506851

#506851
(80,104,81)
#495F4A
(73,95,74)
#425643
(66,86,67)
#3B4D3C
(59,77,60)
#344435
(52,68,53)
#2D3B2E
(45,59,46)
#263227
(38,50,39)
#1F2920
(31,41,32)
#182019
(24,32,25)
#111712
(17,23,18)
#0A0E0B
(10,14,11)
#000000
(0,0,0)

Tints of #506851

#506851
(80,104,81)
#5F7560
(95,117,96)
#6E826F
(110,130,111)
#7D8F7E
(125,143,126)
#8C9C8D
(140,156,141)
#9BA99C
(155,169,156)
#AAB6AB
(170,182,171)
#B9C3BA
(185,195,186)
#C8D0C9
(200,208,201)
#D7DDD8
(215,221,216)
#E6EAE7
(230,234,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #506851; }

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

This text font color is #506851.

Background Color

.myBgColor { background-color: #506851; }

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

This div background color is #506851.

Border color

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

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

This div border color is #506851.

Opacity

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

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

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

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

This text has shadow with #506851 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #506851.

Preview

Color preview on black background

This text has color #506851 on black background.


Color preview on white background

This text has color #506851 on white background.


Black color preview on #506851 background

This text has black color on #506851 background.


White color preview on #506851 background

This text has white color on #506851 background.


Related colors

Complementary color

Complementary color for #hex is #AF97AE.


I love getcolorcode.com

Triadic colors

1 #515068 and #685150 with #506851 are triadic colors.

2 #516850 and #685051 with #506851 are triadic colors.