HEX: #505268
RGB: (80,82,104)
#505268 contains red, green and blue colors in about the same proportion. Web safe color of #505268 is #666666 (or #666).
#505268 color RGB value is (80,82,104).
RGB: (80,82,104) (31%,32%,41%)
R 80 of 255 = 31%
G 82 of 255 = 32%
B 104 of 255 = 41%
R + G + B ~ 35%. #505268 is quite dark color.
R + G + B =
80 + 82 + 104 = 266 (100%)
R 80 of 266 ~ 30.08%
G 82 of 266 ~ 30.83%
B 104 of 266 ~ 39.1%
#505268 color CMYK value is (23,21,0,59).
CMYK: (23,21,0,59) C23M21Y0K59 (23%,21%,0%,59%) (0.23/0.21/0.00/0.59)
50 | 52 | 68 | |
---|---|---|---|
RGB | 80 | 82 | 104 |
HSL | 235° | 13.04% | 36.08% |
HSB/HSV | 235° | 23.08% | 40.78% |
CMYK | 23.08% | 21.15% | 0.00% |
59.22% |
HEX | 50 | 52 | 68 |
Decimal | 80 | 82 | 104 |
Binary | 1010000 | 1010010 | 1101000 |
Octal | 120 | 122 | 150 |
Examples of css and html codes for elements with #505268 color. Also use rgb(80,82,104) instead hex code.
.myTextColor { color: #505268; }
<p style="color:#505268">This sample text font color is #505268.</p>
This text font color is #505268.
.myBgColor { background-color: #505268; }
<div style="background-color:#505268">Inner text</div>
This div background color is #505268.
.myBorderColor { border: 1px solid #505268; }
<div style="border:3px solid #505268">Div</div>
This div border color is #505268.
.myOpacity80 { color: #505268; opacity: 0.8; }
<p style="color:#505268;opacity:0.8;">80%</p>
Text with #505268 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505268;}
<p style="text-shadow: 3px 3px 1px #505268">Text here.</p>
This text has shadow with #505268 color.
.textShadow {text-shadow: 3px 3px 1px #505268, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505268, 5px 5px 20px red">Text here.</p>
This text has shadow with #505268 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505268, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505268, Direction=45, Strength=4)">Text</p>
This text has shadow with #505268 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505268; -webkit-box-shadow: 1px 1px 3px 2px #505268; box-shadow: 1px 1px 3px 2px #505268; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505268; -webkit-box-shadow: 1px 1px 3px 2px #505268; box-shadow:1px 1px 3px 2px #505268;">
Div content here</div>
This text has color #505268 on black background.
This text has color #505268 on white background.
This text has black color on #505268 background.
This text has white color on #505268 background.