COLOR #505151

HEX: #505151 RGB: (80,81,81)

Color info

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

RGB color model

#505151 color RGB value is (80,81,81).

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

RGB channels and saturation

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

80
81
81

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

Portions of RGB colors in percentages

R + G + B = 80 + 81 + 81 = 242 (100%)
R 80 of 242 ~ 33.06%
G 81 of 242 ~ 33.47%
B 81 of 242 ~ 33.47'%

%33.06
%33.47
%33.47

CMYK color model

#505151 color CMYK value is (1,0,0,68).

  • cyan value is 1.23%
  • magenta value is 0.00%
  • yellow value is 0.00%
  • key color value is 68.24%

CMYK: (1,0,0,68)
C1M0Y0K68 (1%, 0%, 0%, 68%)
(0.01 / 0.00 / 0.00 / 0.68)

CMYK percentages

%1.23
%0
%0
%68.24

Codes

Color #505151 in popluar color models

50 51 51
RGB 80 81 81
HSL 180° 0.62% 31.57%
HSB/HSV 180° 1.23% 31.76%
CMYK 1.23% 0.00% 0.00%
68.24%

Color #505151 in popluar number systems.

HEX 50 51 51
Decimal 80 81 81
Binary 1010000 1010001 1010001
Octal 120 121 121

Shades and tints

Shades of #505151

#505151
(80,81,81)
#494A4A
(73,74,74)
#424343
(66,67,67)
#3B3C3C
(59,60,60)
#343535
(52,53,53)
#2D2E2E
(45,46,46)
#262727
(38,39,39)
#1F2020
(31,32,32)
#181919
(24,25,25)
#111212
(17,18,18)
#0A0B0B
(10,11,11)
#000000
(0,0,0)

Tints of #505151

#505151
(80,81,81)
#5F6060
(95,96,96)
#6E6F6F
(110,111,111)
#7D7E7E
(125,126,126)
#8C8D8D
(140,141,141)
#9B9C9C
(155,156,156)
#AAABAB
(170,171,171)
#B9BABA
(185,186,186)
#C8C9C9
(200,201,201)
#D7D8D8
(215,216,216)
#E6E7E7
(230,231,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #505151; }

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

This text font color is #505151.

Background Color

.myBgColor { background-color: #505151; }

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

This div background color is #505151.

Border color

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

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

This div border color is #505151.

Opacity

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

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

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

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

This text has shadow with #505151 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #505151.

Preview

Color preview on black background

This text has color #505151 on black background.


Color preview on white background

This text has color #505151 on white background.


Black color preview on #505151 background

This text has black color on #505151 background.


White color preview on #505151 background

This text has white color on #505151 background.


Related colors

Complementary color

Complementary color for #hex is #AFAEAE.


I love getcolorcode.com