HEX: #509BA8
RGB: (80,155,168)
#509BA8 contains mainly green and blue colors. Web safe color of #509BA8 is #669999 (or #699).
#509BA8 color RGB value is (80,155,168).
RGB: (80,155,168) (31%,61%,66%)
R 80 of 255 = 31%
G 155 of 255 = 61%
B 168 of 255 = 66%
R + G + B ~ 53%. #509BA8 is middle color (not dark and not light).
R + G + B =
80 + 155 + 168 = 403 (100%)
R 80 of 403 ~ 19.85%
G 155 of 403 ~ 38.46%
B 168 of 403 ~ 41.69%
#509BA8 color CMYK value is (52,8,0,34).
CMYK: (52,8,0,34) C52M8Y0K34 (52%,8%,0%,34%) (0.52/0.08/0.00/0.34)
50 | 9B | A8 | |
---|---|---|---|
RGB | 80 | 155 | 168 |
HSL | 189° | 35.48% | 48.63% |
HSB/HSV | 189° | 52.38% | 65.88% |
CMYK | 52.38% | 7.74% | 0.00% |
34.12% |
HEX | 50 | 9B | A8 |
Decimal | 80 | 155 | 168 |
Binary | 1010000 | 10011011 | 10101000 |
Octal | 120 | 233 | 250 |
Examples of css and html codes for elements with #509BA8 color. Also use rgb(80,155,168) instead hex code.
.myTextColor { color: #509BA8; }
<p style="color:#509BA8">This sample text font color is #509BA8.</p>
This text font color is #509BA8.
.myBgColor { background-color: #509BA8; }
<div style="background-color:#509BA8">Inner text</div>
This div background color is #509BA8.
.myBorderColor { border: 1px solid #509BA8; }
<div style="border:3px solid #509BA8">Div</div>
This div border color is #509BA8.
.myOpacity80 { color: #509BA8; opacity: 0.8; }
<p style="color:#509BA8;opacity:0.8;">80%</p>
Text with #509BA8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #509BA8;}
<p style="text-shadow: 3px 3px 1px #509BA8">Text here.</p>
This text has shadow with #509BA8 color.
.textShadow {text-shadow: 3px 3px 1px #509BA8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #509BA8, 5px 5px 20px red">Text here.</p>
This text has shadow with #509BA8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#509BA8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#509BA8, Direction=45, Strength=4)">Text</p>
This text has shadow with #509BA8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #509BA8; -webkit-box-shadow: 1px 1px 3px 2px #509BA8; box-shadow: 1px 1px 3px 2px #509BA8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #509BA8; -webkit-box-shadow: 1px 1px 3px 2px #509BA8; box-shadow:1px 1px 3px 2px #509BA8;">
Div content here</div>
This text has color #509BA8 on black background.
This text has color #509BA8 on white background.
This text has black color on #509BA8 background.
This text has white color on #509BA8 background.