HEX: #505155
RGB: (80,81,85)
#505155 contains red, green and blue colors in about the same proportion. Web safe color of #505155 is #666666 (or #666).
#505155 color RGB value is (80,81,85).
RGB: (80,81,85) (31%,32%,33%)
R 80 of 255 = 31%
G 81 of 255 = 32%
B 85 of 255 = 33%
R + G + B ~ 32%. #505155 is quite dark color.
R + G + B =
80 + 81 + 85 = 246 (100%)
R 80 of 246 ~ 32.52%
G 81 of 246 ~ 32.93%
B 85 of 246 ~ 34.55%
#505155 color CMYK value is (6,5,0,67).
CMYK: (6,5,0,67) C6M5Y0K67 (6%,5%,0%,67%) (0.06/0.05/0.00/0.67)
50 | 51 | 55 | |
---|---|---|---|
RGB | 80 | 81 | 85 |
HSL | 228° | 3.03% | 32.35% |
HSB/HSV | 228° | 5.88% | 33.33% |
CMYK | 5.88% | 4.71% | 0.00% |
66.67% |
HEX | 50 | 51 | 55 |
Decimal | 80 | 81 | 85 |
Binary | 1010000 | 1010001 | 1010101 |
Octal | 120 | 121 | 125 |
Examples of css and html codes for elements with #505155 color. Also use rgb(80,81,85) instead hex code.
.myTextColor { color: #505155; }
<p style="color:#505155">This sample text font color is #505155.</p>
This text font color is #505155.
.myBgColor { background-color: #505155; }
<div style="background-color:#505155">Inner text</div>
This div background color is #505155.
.myBorderColor { border: 1px solid #505155; }
<div style="border:3px solid #505155">Div</div>
This div border color is #505155.
.myOpacity80 { color: #505155; opacity: 0.8; }
<p style="color:#505155;opacity:0.8;">80%</p>
Text with #505155 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505155;}
<p style="text-shadow: 3px 3px 1px #505155">Text here.</p>
This text has shadow with #505155 color.
.textShadow {text-shadow: 3px 3px 1px #505155, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505155, 5px 5px 20px red">Text here.</p>
This text has shadow with #505155 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505155, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505155, Direction=45, Strength=4)">Text</p>
This text has shadow with #505155 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505155; -webkit-box-shadow: 1px 1px 3px 2px #505155; box-shadow: 1px 1px 3px 2px #505155; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505155; -webkit-box-shadow: 1px 1px 3px 2px #505155; box-shadow:1px 1px 3px 2px #505155;">
Div content here</div>
This text has color #505155 on black background.
This text has color #505155 on white background.
This text has black color on #505155 background.
This text has white color on #505155 background.