HEX: #507FAD
RGB: (80,127,173)
#507FAD contains mainly green and blue colors. Web safe color of #507FAD is #666699 (or #669).
#507FAD color RGB value is (80,127,173).
RGB: (80,127,173) (31%,50%,68%)
R 80 of 255 = 31%
G 127 of 255 = 50%
B 173 of 255 = 68%
R + G + B ~ 50%. #507FAD is middle color (not dark and not light).
R + G + B =
80 + 127 + 173 = 380 (100%)
R 80 of 380 ~ 21.05%
G 127 of 380 ~ 33.42%
B 173 of 380 ~ 45.53%
#507FAD color CMYK value is (54,27,0,32).
CMYK: (54,27,0,32) C54M27Y0K32 (54%,27%,0%,32%) (0.54/0.27/0.00/0.32)
50 | 7F | AD | |
---|---|---|---|
RGB | 80 | 127 | 173 |
HSL | 210° | 36.76% | 49.61% |
HSB/HSV | 210° | 53.76% | 67.84% |
CMYK | 53.76% | 26.59% | 0.00% |
32.16% |
HEX | 50 | 7F | AD |
Decimal | 80 | 127 | 173 |
Binary | 1010000 | 1111111 | 10101101 |
Octal | 120 | 177 | 255 |
Examples of css and html codes for elements with #507FAD color. Also use rgb(80,127,173) instead hex code.
.myTextColor { color: #507FAD; }
<p style="color:#507FAD">This sample text font color is #507FAD.</p>
This text font color is #507FAD.
.myBgColor { background-color: #507FAD; }
<div style="background-color:#507FAD">Inner text</div>
This div background color is #507FAD.
.myBorderColor { border: 1px solid #507FAD; }
<div style="border:3px solid #507FAD">Div</div>
This div border color is #507FAD.
.myOpacity80 { color: #507FAD; opacity: 0.8; }
<p style="color:#507FAD;opacity:0.8;">80%</p>
Text with #507FAD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #507FAD;}
<p style="text-shadow: 3px 3px 1px #507FAD">Text here.</p>
This text has shadow with #507FAD color.
.textShadow {text-shadow: 3px 3px 1px #507FAD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #507FAD, 5px 5px 20px red">Text here.</p>
This text has shadow with #507FAD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#507FAD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#507FAD, Direction=45, Strength=4)">Text</p>
This text has shadow with #507FAD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #507FAD; -webkit-box-shadow: 1px 1px 3px 2px #507FAD; box-shadow: 1px 1px 3px 2px #507FAD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #507FAD; -webkit-box-shadow: 1px 1px 3px 2px #507FAD; box-shadow:1px 1px 3px 2px #507FAD;">
Div content here</div>
This text has color #507FAD on black background.
This text has color #507FAD on white background.
This text has black color on #507FAD background.
This text has white color on #507FAD background.