COLOR #505050

HEX: #505050
RGB: (80,80,80)

Color info

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

RGB color model

#505050 color RGB value is (80,80,80).

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

RGB channels and saturation

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

80
80
80

R + G + B ~ 31%. #505050 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 80 + 80 = 240 (100%)
R 80 of 240 ~ 33.33%
G 80 of 240 ~ 33.33%
B 80 of 240 ~ 33.33%

%33.33
%33.33
%33.33

CMYK color model

#505050 color CMYK value is (0,0,0,69).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 0.00%
  • key color value is 68.63%
CMYK:
(0,0,0,69)
C0M0Y0K69 
(0%,0%,0%,69%)
(0.00/0.00/0.00/0.69)	

CMYK percentages

%0
%0
%0
%68.63

Codes

Color #505050 in popluar color models

505050
RGB808080
HSL0.00%0.31%
HSB/HSV0.00%0.31%
CMYK0.00%0.00%0.00%
68.63%

Color #505050 in popluar number systems.

HEX505050
Decimal808080
Binary101000010100001010000
Octal120120120

Shades and tints

Shades of #505050

#505050
(80,80,80)
#494949
(73,73,73)
#424242
(66,66,66)
#3B3B3B
(59,59,59)
#343434
(52,52,52)
#2D2D2D
(45,45,45)
#262626
(38,38,38)
#1F1F1F
(31,31,31)
#181818
(24,24,24)
#111111
(17,17,17)
#0A0A0A
(10,10,10)
#000000
(0,0,0)

Tints of #505050

#505050
(80,80,80)
#5F5F5F
(95,95,95)
#6E6E6E
(110,110,110)
#7D7D7D
(125,125,125)
#8C8C8C
(140,140,140)
#9B9B9B
(155,155,155)
#AAAAAA
(170,170,170)
#B9B9B9
(185,185,185)
#C8C8C8
(200,200,200)
#D7D7D7
(215,215,215)
#E6E6E6
(230,230,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #505050; }

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

This text font color is #505050.


Background Color

.myBgColor { background-color: #505050; }

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

This div background color is #505050.


Border color

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

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

This div border color is #505050.


Opacity

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

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

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

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

This text has shadow with #505050 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #505050 on black background.


Color preview on white background

This text has color #505050 on white background.



Black color preview on #505050 background

This text has black color on #505050 background.


White color preview on #505050 background

This text has white color on #505050 background.