COLOR #505166

HEX: #505166 RGB: (80,81,102)

Color info

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

RGB color model

#505166 color RGB value is (80,81,102).

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

RGB channels and saturation

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

80
81
102

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

Portions of RGB colors in percentages

R + G + B = 80 + 81 + 102 = 263 (100%)
R 80 of 263 ~ 30.42%
G 81 of 263 ~ 30.8%
B 102 of 263 ~ 38.78'%

%30.42
%30.8
%38.78

CMYK color model

#505166 color CMYK value is (22,21,0,60).

  • cyan value is 21.57%
  • magenta value is 20.59%
  • yellow value is 0.00%
  • key color value is 60.00%

CMYK: (22,21,0,60)
C22M21Y0K60 (22%, 21%, 0%, 60%)
(0.22 / 0.21 / 0.00 / 0.60)

CMYK percentages

%21.57
%20.59
%0
%60

Codes

Color #505166 in popluar color models

50 51 66
RGB 80 81 102
HSL 237° 12.09% 35.69%
HSB/HSV 237° 21.57% 40.00%
CMYK 21.57% 20.59% 0.00%
60.00%

Color #505166 in popluar number systems.

HEX 50 51 66
Decimal 80 81 102
Binary 1010000 1010001 1100110
Octal 120 121 146

Shades and tints

Shades of #505166

#505166
(80,81,102)
#494A5D
(73,74,93)
#424354
(66,67,84)
#3B3C4B
(59,60,75)
#343542
(52,53,66)
#2D2E39
(45,46,57)
#262730
(38,39,48)
#1F2027
(31,32,39)
#18191E
(24,25,30)
#111215
(17,18,21)
#0A0B0C
(10,11,12)
#000000
(0,0,0)

Tints of #505166

#505166
(80,81,102)
#5F6073
(95,96,115)
#6E6F80
(110,111,128)
#7D7E8D
(125,126,141)
#8C8D9A
(140,141,154)
#9B9CA7
(155,156,167)
#AAABB4
(170,171,180)
#B9BAC1
(185,186,193)
#C8C9CE
(200,201,206)
#D7D8DB
(215,216,219)
#E6E7E8
(230,231,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #505166; }

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

This text font color is #505166.

Background Color

.myBgColor { background-color: #505166; }

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

This div background color is #505166.

Border color

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

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

This div border color is #505166.

Opacity

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

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

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

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

This text has shadow with #505166 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #505166.

Preview

Color preview on black background

This text has color #505166 on black background.


Color preview on white background

This text has color #505166 on white background.


Black color preview on #505166 background

This text has black color on #505166 background.


White color preview on #505166 background

This text has white color on #505166 background.


Related colors

Complementary color

Complementary color for #hex is #AFAE99.


I love getcolorcode.com

Triadic colors

1 #665051 and #516650 with #505166 are triadic colors.

2 #665150 and #515066 with #505166 are triadic colors.