COLOR #505858

HEX: #505858
RGB: (80,88,88)

Color info

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

RGB color model

#505858 color RGB value is (80,88,88).

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

RGB channels and saturation

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

80
88
88

R + G + B ~ 34%. #505858 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 88 + 88 = 256 (100%)
R 80 of 256 ~ 31.25%
G 88 of 256 ~ 34.38%
B 88 of 256 ~ 34.38%

%31.25
%34.38
%34.38

CMYK color model

#505858 color CMYK value is (9,0,0,65).

  • cyan value is 9.09%
  • magenta value is 0.00%
  • yellow value is 0.00%
  • key color value is 65.49%
CMYK:
(9,0,0,65)
C9M0Y0K65 
(9%,0%,0%,65%)
(0.09/0.00/0.00/0.65)	

CMYK percentages

%9.09
%0
%0
%65.49

Codes

Color #505858 in popluar color models

505858
RGB808888
HSL180°4.76%32.94%
HSB/HSV180°9.09%34.51%
CMYK9.09%0.00%0.00%
65.49%

Color #505858 in popluar number systems.

HEX505858
Decimal808888
Binary101000010110001011000
Octal120130130

Shades and tints

Shades of #505858

#505858
(80,88,88)
#495050
(73,80,80)
#424848
(66,72,72)
#3B4040
(59,64,64)
#343838
(52,56,56)
#2D3030
(45,48,48)
#262828
(38,40,40)
#1F2020
(31,32,32)
#181818
(24,24,24)
#111010
(17,16,16)
#0A0808
(10,8,8)
#000000
(0,0,0)

Tints of #505858

#505858
(80,88,88)
#5F6767
(95,103,103)
#6E7676
(110,118,118)
#7D8585
(125,133,133)
#8C9494
(140,148,148)
#9BA3A3
(155,163,163)
#AAB2B2
(170,178,178)
#B9C1C1
(185,193,193)
#C8D0D0
(200,208,208)
#D7DFDF
(215,223,223)
#E6EEEE
(230,238,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #505858; }

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

This text font color is #505858.


Background Color

.myBgColor { background-color: #505858; }

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

This div background color is #505858.


Border color

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

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

This div border color is #505858.


Opacity

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

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

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

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

This text has shadow with #505858 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #505858 on black background.


Color preview on white background

This text has color #505858 on white background.



Black color preview on #505858 background

This text has black color on #505858 background.


White color preview on #505858 background

This text has white color on #505858 background.