HEX: #5979AB
RGB: (89,121,171)
#5979AB contains mainly green and blue colors. Web safe color of #5979AB is #666699 (or #669).
#5979AB color RGB value is (89,121,171).
RGB: (89,121,171) (35%,47%,67%)
R 89 of 255 = 35%
G 121 of 255 = 47%
B 171 of 255 = 67%
R + G + B ~ 50%. #5979AB is middle color (not dark and not light).
R + G + B =
89 + 121 + 171 = 381 (100%)
R 89 of 381 ~ 23.36%
G 121 of 381 ~ 31.76%
B 171 of 381 ~ 44.88%
#5979AB color CMYK value is (48,29,0,33).
CMYK: (48,29,0,33) C48M29Y0K33 (48%,29%,0%,33%) (0.48/0.29/0.00/0.33)
59 | 79 | AB | |
---|---|---|---|
RGB | 89 | 121 | 171 |
HSL | 217° | 32.80% | 50.98% |
HSB/HSV | 217° | 47.95% | 67.06% |
CMYK | 47.95% | 29.24% | 0.00% |
32.94% |
HEX | 59 | 79 | AB |
Decimal | 89 | 121 | 171 |
Binary | 1011001 | 1111001 | 10101011 |
Octal | 131 | 171 | 253 |
Examples of css and html codes for elements with #5979AB color. Also use rgb(89,121,171) instead hex code.
.myTextColor { color: #5979AB; }
<p style="color:#5979AB">This sample text font color is #5979AB.</p>
This text font color is #5979AB.
.myBgColor { background-color: #5979AB; }
<div style="background-color:#5979AB">Inner text</div>
This div background color is #5979AB.
.myBorderColor { border: 1px solid #5979AB; }
<div style="border:3px solid #5979AB">Div</div>
This div border color is #5979AB.
.myOpacity80 { color: #5979AB; opacity: 0.8; }
<p style="color:#5979AB;opacity:0.8;">80%</p>
Text with #5979AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5979AB;}
<p style="text-shadow: 3px 3px 1px #5979AB">Text here.</p>
This text has shadow with #5979AB color.
.textShadow {text-shadow: 3px 3px 1px #5979AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5979AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #5979AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5979AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5979AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #5979AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5979AB; -webkit-box-shadow: 1px 1px 3px 2px #5979AB; box-shadow: 1px 1px 3px 2px #5979AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5979AB; -webkit-box-shadow: 1px 1px 3px 2px #5979AB; box-shadow:1px 1px 3px 2px #5979AB;">
Div content here</div>
This text has color #5979AB on black background.
This text has color #5979AB on white background.
This text has black color on #5979AB background.
This text has white color on #5979AB background.