HEX: #509FAC
RGB: (80,159,172)
#509FAC contains mainly green and blue colors. Web safe color of #509FAC is #669999 (or #699).
#509FAC color RGB value is (80,159,172).
RGB: (80,159,172) (31%,62%,67%)
R 80 of 255 = 31%
G 159 of 255 = 62%
B 172 of 255 = 67%
R + G + B ~ 53%. #509FAC is middle color (not dark and not light).
R + G + B =
80 + 159 + 172 = 411 (100%)
R 80 of 411 ~ 19.46%
G 159 of 411 ~ 38.69%
B 172 of 411 ~ 41.85%
#509FAC color CMYK value is (53,8,0,33).
CMYK: (53,8,0,33) C53M8Y0K33 (53%,8%,0%,33%) (0.53/0.08/0.00/0.33)
50 | 9F | AC | |
---|---|---|---|
RGB | 80 | 159 | 172 |
HSL | 188° | 36.51% | 49.41% |
HSB/HSV | 188° | 53.49% | 67.45% |
CMYK | 53.49% | 7.56% | 0.00% |
32.55% |
HEX | 50 | 9F | AC |
Decimal | 80 | 159 | 172 |
Binary | 1010000 | 10011111 | 10101100 |
Octal | 120 | 237 | 254 |
Examples of css and html codes for elements with #509FAC color. Also use rgb(80,159,172) instead hex code.
.myTextColor { color: #509FAC; }
<p style="color:#509FAC">This sample text font color is #509FAC.</p>
This text font color is #509FAC.
.myBgColor { background-color: #509FAC; }
<div style="background-color:#509FAC">Inner text</div>
This div background color is #509FAC.
.myBorderColor { border: 1px solid #509FAC; }
<div style="border:3px solid #509FAC">Div</div>
This div border color is #509FAC.
.myOpacity80 { color: #509FAC; opacity: 0.8; }
<p style="color:#509FAC;opacity:0.8;">80%</p>
Text with #509FAC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #509FAC;}
<p style="text-shadow: 3px 3px 1px #509FAC">Text here.</p>
This text has shadow with #509FAC color.
.textShadow {text-shadow: 3px 3px 1px #509FAC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #509FAC, 5px 5px 20px red">Text here.</p>
This text has shadow with #509FAC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#509FAC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#509FAC, Direction=45, Strength=4)">Text</p>
This text has shadow with #509FAC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #509FAC; -webkit-box-shadow: 1px 1px 3px 2px #509FAC; box-shadow: 1px 1px 3px 2px #509FAC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #509FAC; -webkit-box-shadow: 1px 1px 3px 2px #509FAC; box-shadow:1px 1px 3px 2px #509FAC;">
Div content here</div>
This text has color #509FAC on black background.
This text has color #509FAC on white background.
This text has black color on #509FAC background.
This text has white color on #509FAC background.