COLOR #505162

HEX: #505162 RGB: (80,81,98)

Color info

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

RGB color model

#505162 color RGB value is (80,81,98).

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

RGB channels and saturation

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

80
81
98

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

Portions of RGB colors in percentages

R + G + B = 80 + 81 + 98 = 259 (100%)
R 80 of 259 ~ 30.89%
G 81 of 259 ~ 31.27%
B 98 of 259 ~ 37.84'%

%30.89
%31.27
%37.84

CMYK color model

#505162 color CMYK value is (18,17,0,62).

  • cyan value is 18.37%
  • magenta value is 17.35%
  • yellow value is 0.00%
  • key color value is 61.57%
CMYK: (18,17,0,62) C18M17Y0K62 (18%,17%,0%,62%) (0.18/0.17/0.00/0.62) 

CMYK percentages

%18.37
%17.35
%0
%61.57

Codes

Color #505162 in popluar color models

50 51 62
RGB 80 81 98
HSL 237° 10.11% 34.90%
HSB/HSV 237° 18.37% 38.43%
CMYK 18.37% 17.35% 0.00%
61.57%

Color #505162 in popluar number systems.

HEX 50 51 62
Decimal 80 81 98
Binary 1010000 1010001 1100010
Octal 120 121 142

Shades and tints

Shades of #505162

#505162
(80,81,98)
#494A5A
(73,74,90)
#424352
(66,67,82)
#3B3C4A
(59,60,74)
#343542
(52,53,66)
#2D2E3A
(45,46,58)
#262732
(38,39,50)
#1F202A
(31,32,42)
#181922
(24,25,34)
#11121A
(17,18,26)
#0A0B12
(10,11,18)
#000000
(0,0,0)

Tints of #505162

#505162
(80,81,98)
#5F6070
(95,96,112)
#6E6F7E
(110,111,126)
#7D7E8C
(125,126,140)
#8C8D9A
(140,141,154)
#9B9CA8
(155,156,168)
#AAABB6
(170,171,182)
#B9BAC4
(185,186,196)
#C8C9D2
(200,201,210)
#D7D8E0
(215,216,224)
#E6E7EE
(230,231,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #505162; }

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

This text font color is #505162.

Background Color

.myBgColor { background-color: #505162; }

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

This div background color is #505162.

Border color

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

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

This div border color is #505162.

Opacity

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

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

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

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

This text has shadow with #505162 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #505162.

Preview

Color preview on black background

This text has color #505162 on black background.


Color preview on white background

This text has color #505162 on white background.


Black color preview on #505162 background

This text has black color on #505162 background.


White color preview on #505162 background

This text has white color on #505162 background.


Related colors

Complementary color

Complementary color for #hex is #AFAE9D.


I love getcolorcode.com

Triadic colors

1 #625051 and #516250 with #505162 are triadic colors.

2 #625150 and #515062 with #505162 are triadic colors.