HEX: #5980AD
RGB: (89,128,173)
#5980AD contains mainly green and blue colors. Web safe color of #5980AD is #666699 (or #669).
#5980AD color RGB value is (89,128,173).
RGB: (89,128,173) (35%,50%,68%)
R 89 of 255 = 35%
G 128 of 255 = 50%
B 173 of 255 = 68%
R + G + B ~ 51%. #5980AD is middle color (not dark and not light).
R + G + B =
89 + 128 + 173 = 390 (100%)
R 89 of 390 ~ 22.82%
G 128 of 390 ~ 32.82%
B 173 of 390 ~ 44.36%
#5980AD color CMYK value is (49,26,0,32).
CMYK: (49,26,0,32) C49M26Y0K32 (49%,26%,0%,32%) (0.49/0.26/0.00/0.32)
59 | 80 | AD | |
---|---|---|---|
RGB | 89 | 128 | 173 |
HSL | 212° | 33.87% | 51.37% |
HSB/HSV | 212° | 48.55% | 67.84% |
CMYK | 48.55% | 26.01% | 0.00% |
32.16% |
HEX | 59 | 80 | AD |
Decimal | 89 | 128 | 173 |
Binary | 1011001 | 10000000 | 10101101 |
Octal | 131 | 200 | 255 |
Examples of css and html codes for elements with #5980AD color. Also use rgb(89,128,173) instead hex code.
.myTextColor { color: #5980AD; }
<p style="color:#5980AD">This sample text font color is #5980AD.</p>
This text font color is #5980AD.
.myBgColor { background-color: #5980AD; }
<div style="background-color:#5980AD">Inner text</div>
This div background color is #5980AD.
.myBorderColor { border: 1px solid #5980AD; }
<div style="border:3px solid #5980AD">Div</div>
This div border color is #5980AD.
.myOpacity80 { color: #5980AD; opacity: 0.8; }
<p style="color:#5980AD;opacity:0.8;">80%</p>
Text with #5980AD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5980AD;}
<p style="text-shadow: 3px 3px 1px #5980AD">Text here.</p>
This text has shadow with #5980AD color.
.textShadow {text-shadow: 3px 3px 1px #5980AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5980AD, 5px 5px 20px red">Text here.</p>
This text has shadow with #5980AD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5980AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5980AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #5980AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5980AD; -webkit-box-shadow: 1px 1px 3px 2px #5980AD; box-shadow: 1px 1px 3px 2px #5980AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5980AD; -webkit-box-shadow: 1px 1px 3px 2px #5980AD; box-shadow:1px 1px 3px 2px #5980AD;">
Div content here</div>
This text has color #5980AD on black background.
This text has color #5980AD on white background.
This text has black color on #5980AD background.
This text has white color on #5980AD background.