HEX: #508083
RGB: (80,128,131)
#508083 contains red, green and blue colors in about the same proportion. Web safe color of #508083 is #666699 (or #669).
#508083 color RGB value is (80,128,131).
RGB: (80,128,131) (31%,50%,51%)
R 80 of 255 = 31%
G 128 of 255 = 50%
B 131 of 255 = 51%
R + G + B ~ 44%. #508083 is middle color (not dark and not light).
R + G + B =
80 + 128 + 131 = 339 (100%)
R 80 of 339 ~ 23.6%
G 128 of 339 ~ 37.76%
B 131 of 339 ~ 38.64%
#508083 color CMYK value is (39,2,0,49).
CMYK: (39,2,0,49) C39M2Y0K49 (39%,2%,0%,49%) (0.39/0.02/0.00/0.49)
50 | 80 | 83 | |
---|---|---|---|
RGB | 80 | 128 | 131 |
HSL | 184° | 24.17% | 41.37% |
HSB/HSV | 184° | 38.93% | 51.37% |
CMYK | 38.93% | 2.29% | 0.00% |
48.63% |
HEX | 50 | 80 | 83 |
Decimal | 80 | 128 | 131 |
Binary | 1010000 | 10000000 | 10000011 |
Octal | 120 | 200 | 203 |
Examples of css and html codes for elements with #508083 color. Also use rgb(80,128,131) instead hex code.
.myTextColor { color: #508083; }
<p style="color:#508083">This sample text font color is #508083.</p>
This text font color is #508083.
.myBgColor { background-color: #508083; }
<div style="background-color:#508083">Inner text</div>
This div background color is #508083.
.myBorderColor { border: 1px solid #508083; }
<div style="border:3px solid #508083">Div</div>
This div border color is #508083.
.myOpacity80 { color: #508083; opacity: 0.8; }
<p style="color:#508083;opacity:0.8;">80%</p>
Text with #508083 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #508083;}
<p style="text-shadow: 3px 3px 1px #508083">Text here.</p>
This text has shadow with #508083 color.
.textShadow {text-shadow: 3px 3px 1px #508083, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #508083, 5px 5px 20px red">Text here.</p>
This text has shadow with #508083 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#508083, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#508083, Direction=45, Strength=4)">Text</p>
This text has shadow with #508083 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #508083; -webkit-box-shadow: 1px 1px 3px 2px #508083; box-shadow: 1px 1px 3px 2px #508083; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #508083; -webkit-box-shadow: 1px 1px 3px 2px #508083; box-shadow:1px 1px 3px 2px #508083;">
Div content here</div>
This text has color #508083 on black background.
This text has color #508083 on white background.
This text has black color on #508083 background.
This text has white color on #508083 background.