HEX: #8997AB
RGB: (137,151,171)
#8997AB contains red, green and blue colors in about the same proportion. Web safe color of #8997AB is #999999 (or #999).
#8997AB color RGB value is (137,151,171).
RGB: (137,151,171) (54%,59%,67%)
R 137 of 255 = 54%
G 151 of 255 = 59%
B 171 of 255 = 67%
R + G + B ~ 60%. #8997AB is middle color (not dark and not light).
R + G + B =
137 + 151 + 171 = 459 (100%)
R 137 of 459 ~ 29.85%
G 151 of 459 ~ 32.9%
B 171 of 459 ~ 37.25%
#8997AB color CMYK value is (20,12,0,33).
CMYK: (20,12,0,33) C20M12Y0K33 (20%,12%,0%,33%) (0.20/0.12/0.00/0.33)
89 | 97 | AB | |
---|---|---|---|
RGB | 137 | 151 | 171 |
HSL | 215° | 16.83% | 60.39% |
HSB/HSV | 215° | 19.88% | 67.06% |
CMYK | 19.88% | 11.70% | 0.00% |
32.94% |
HEX | 89 | 97 | AB |
Decimal | 137 | 151 | 171 |
Binary | 10001001 | 10010111 | 10101011 |
Octal | 211 | 227 | 253 |
Examples of css and html codes for elements with #8997AB color. Also use rgb(137,151,171) instead hex code.
.myTextColor { color: #8997AB; }
<p style="color:#8997AB">This sample text font color is #8997AB.</p>
This text font color is #8997AB.
.myBgColor { background-color: #8997AB; }
<div style="background-color:#8997AB">Inner text</div>
This div background color is #8997AB.
.myBorderColor { border: 1px solid #8997AB; }
<div style="border:3px solid #8997AB">Div</div>
This div border color is #8997AB.
.myOpacity80 { color: #8997AB; opacity: 0.8; }
<p style="color:#8997AB;opacity:0.8;">80%</p>
Text with #8997AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8997AB;}
<p style="text-shadow: 3px 3px 1px #8997AB">Text here.</p>
This text has shadow with #8997AB color.
.textShadow {text-shadow: 3px 3px 1px #8997AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8997AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #8997AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8997AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8997AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #8997AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8997AB; -webkit-box-shadow: 1px 1px 3px 2px #8997AB; box-shadow: 1px 1px 3px 2px #8997AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8997AB; -webkit-box-shadow: 1px 1px 3px 2px #8997AB; box-shadow:1px 1px 3px 2px #8997AB;">
Div content here</div>
This text has color #8997AB on black background.
This text has color #8997AB on white background.
This text has black color on #8997AB background.
This text has white color on #8997AB background.