COLOR #505751

HEX: #505751
RGB: (80,87,81)

Color info

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

RGB color model

#505751 color RGB value is (80,87,81).

  • red value is 80;
  • green value is 87;
  • blue value is 81.
RGB:
(80,87,81)
(31%,34%,32%)

RGB channels and saturation

R 80 of 255 = 31%
G 87 of 255 = 34%
B 81 of 255 = 32%

80
87
81

R + G + B ~ 32%. #505751 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 87 + 81 = 248 (100%)
R 80 of 248 ~ 32.26%
G 87 of 248 ~ 35.08%
B 81 of 248 ~ 32.66%

%32.26
%35.08
%32.66

CMYK color model

#505751 color CMYK value is (8,0,7,66).

  • cyan value is 8.05%
  • magenta value is 0.00%
  • yellow value is 6.90%
  • key color value is 65.88%
CMYK:
(8,0,7,66)
C8M0Y7K66 
(8%,0%,7%,66%)
(0.08/0.00/0.07/0.66)	

CMYK percentages

%8.05
%0
%6.9
%65.88

Codes

Color #505751 in popluar color models

505751
RGB808781
HSL129°4.19%32.75%
HSB/HSV129°8.05%34.12%
CMYK8.05%0.00%6.90%
65.88%

Color #505751 in popluar number systems.

HEX505751
Decimal808781
Binary101000010101111010001
Octal120127121

Shades and tints

Shades of #505751

#505751
(80,87,81)
#49504A
(73,80,74)
#424943
(66,73,67)
#3B423C
(59,66,60)
#343B35
(52,59,53)
#2D342E
(45,52,46)
#262D27
(38,45,39)
#1F2620
(31,38,32)
#181F19
(24,31,25)
#111812
(17,24,18)
#0A110B
(10,17,11)
#000000
(0,0,0)

Tints of #505751

#505751
(80,87,81)
#5F6660
(95,102,96)
#6E756F
(110,117,111)
#7D847E
(125,132,126)
#8C938D
(140,147,141)
#9BA29C
(155,162,156)
#AAB1AB
(170,177,171)
#B9C0BA
(185,192,186)
#C8CFC9
(200,207,201)
#D7DED8
(215,222,216)
#E6EDE7
(230,237,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #505751; }

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

This text font color is #505751.


Background Color

.myBgColor { background-color: #505751; }

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

This div background color is #505751.


Border color

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

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

This div border color is #505751.


Opacity

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

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

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

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

This text has shadow with #505751 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #505751 on black background.


Color preview on white background

This text has color #505751 on white background.



Black color preview on #505751 background

This text has black color on #505751 background.


White color preview on #505751 background

This text has white color on #505751 background.