HEX: #997FAB
RGB: (153,127,171)
#997FAB contains red, green and blue colors in about the same proportion. Web safe color of #997FAB is #996699 (or #969).
#997FAB color RGB value is (153,127,171).
RGB: (153,127,171) (60%,50%,67%)
R 153 of 255 = 60%
G 127 of 255 = 50%
B 171 of 255 = 67%
R + G + B ~ 59%. #997FAB is middle color (not dark and not light).
R + G + B =
153 + 127 + 171 = 451 (100%)
R 153 of 451 ~ 33.92%
G 127 of 451 ~ 28.16%
B 171 of 451 ~ 37.92%
#997FAB color CMYK value is (11,26,0,33).
CMYK: (11,26,0,33) C11M26Y0K33 (11%,26%,0%,33%) (0.11/0.26/0.00/0.33)
99 | 7F | AB | |
---|---|---|---|
RGB | 153 | 127 | 171 |
HSL | 275° | 20.75% | 58.43% |
HSB/HSV | 275° | 25.73% | 67.06% |
CMYK | 10.53% | 25.73% | 0.00% |
32.94% |
HEX | 99 | 7F | AB |
Decimal | 153 | 127 | 171 |
Binary | 10011001 | 1111111 | 10101011 |
Octal | 231 | 177 | 253 |
Examples of css and html codes for elements with #997FAB color. Also use rgb(153,127,171) instead hex code.
.myTextColor { color: #997FAB; }
<p style="color:#997FAB">This sample text font color is #997FAB.</p>
This text font color is #997FAB.
.myBgColor { background-color: #997FAB; }
<div style="background-color:#997FAB">Inner text</div>
This div background color is #997FAB.
.myBorderColor { border: 1px solid #997FAB; }
<div style="border:3px solid #997FAB">Div</div>
This div border color is #997FAB.
.myOpacity80 { color: #997FAB; opacity: 0.8; }
<p style="color:#997FAB;opacity:0.8;">80%</p>
Text with #997FAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #997FAB;}
<p style="text-shadow: 3px 3px 1px #997FAB">Text here.</p>
This text has shadow with #997FAB color.
.textShadow {text-shadow: 3px 3px 1px #997FAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #997FAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #997FAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#997FAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#997FAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #997FAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #997FAB; -webkit-box-shadow: 1px 1px 3px 2px #997FAB; box-shadow: 1px 1px 3px 2px #997FAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #997FAB; -webkit-box-shadow: 1px 1px 3px 2px #997FAB; box-shadow:1px 1px 3px 2px #997FAB;">
Div content here</div>
This text has color #997FAB on black background.
This text has color #997FAB on white background.
This text has black color on #997FAB background.
This text has white color on #997FAB background.