HEX: #508F9A
RGB: (80,143,154)
#508F9A contains mainly green and blue colors. Web safe color of #508F9A is #669999 (or #699).
#508F9A color RGB value is (80,143,154).
RGB: (80,143,154) (31%,56%,60%)
R 80 of 255 = 31%
G 143 of 255 = 56%
B 154 of 255 = 60%
R + G + B ~ 49%. #508F9A is middle color (not dark and not light).
R + G + B =
80 + 143 + 154 = 377 (100%)
R 80 of 377 ~ 21.22%
G 143 of 377 ~ 37.93%
B 154 of 377 ~ 40.85%
#508F9A color CMYK value is (48,7,0,40).
CMYK: (48,7,0,40) C48M7Y0K40 (48%,7%,0%,40%) (0.48/0.07/0.00/0.40)
50 | 8F | 9A | |
---|---|---|---|
RGB | 80 | 143 | 154 |
HSL | 189° | 31.62% | 45.88% |
HSB/HSV | 189° | 48.05% | 60.39% |
CMYK | 48.05% | 7.14% | 0.00% |
39.61% |
HEX | 50 | 8F | 9A |
Decimal | 80 | 143 | 154 |
Binary | 1010000 | 10001111 | 10011010 |
Octal | 120 | 217 | 232 |
Examples of css and html codes for elements with #508F9A color. Also use rgb(80,143,154) instead hex code.
.myTextColor { color: #508F9A; }
<p style="color:#508F9A">This sample text font color is #508F9A.</p>
This text font color is #508F9A.
.myBgColor { background-color: #508F9A; }
<div style="background-color:#508F9A">Inner text</div>
This div background color is #508F9A.
.myBorderColor { border: 1px solid #508F9A; }
<div style="border:3px solid #508F9A">Div</div>
This div border color is #508F9A.
.myOpacity80 { color: #508F9A; opacity: 0.8; }
<p style="color:#508F9A;opacity:0.8;">80%</p>
Text with #508F9A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #508F9A;}
<p style="text-shadow: 3px 3px 1px #508F9A">Text here.</p>
This text has shadow with #508F9A color.
.textShadow {text-shadow: 3px 3px 1px #508F9A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #508F9A, 5px 5px 20px red">Text here.</p>
This text has shadow with #508F9A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#508F9A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#508F9A, Direction=45, Strength=4)">Text</p>
This text has shadow with #508F9A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #508F9A; -webkit-box-shadow: 1px 1px 3px 2px #508F9A; box-shadow: 1px 1px 3px 2px #508F9A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #508F9A; -webkit-box-shadow: 1px 1px 3px 2px #508F9A; box-shadow:1px 1px 3px 2px #508F9A;">
Div content here</div>
This text has color #508F9A on black background.
This text has color #508F9A on white background.
This text has black color on #508F9A background.
This text has white color on #508F9A background.