HEX: #997DAF
RGB: (153,125,175)
#997DAF contains red, green and blue colors in about the same proportion. Web safe color of #997DAF is #996699 (or #969).
#997DAF color RGB value is (153,125,175).
RGB: (153,125,175) (60%,49%,69%)
R 153 of 255 = 60%
G 125 of 255 = 49%
B 175 of 255 = 69%
R + G + B ~ 59%. #997DAF is middle color (not dark and not light).
R + G + B =
153 + 125 + 175 = 453 (100%)
R 153 of 453 ~ 33.77%
G 125 of 453 ~ 27.59%
B 175 of 453 ~ 38.63%
#997DAF color CMYK value is (13,29,0,31).
CMYK: (13,29,0,31) C13M29Y0K31 (13%,29%,0%,31%) (0.13/0.29/0.00/0.31)
99 | 7D | AF | |
---|---|---|---|
RGB | 153 | 125 | 175 |
HSL | 274° | 23.81% | 58.82% |
HSB/HSV | 274° | 28.57% | 68.63% |
CMYK | 12.57% | 28.57% | 0.00% |
31.37% |
HEX | 99 | 7D | AF |
Decimal | 153 | 125 | 175 |
Binary | 10011001 | 1111101 | 10101111 |
Octal | 231 | 175 | 257 |
Examples of css and html codes for elements with #997DAF color. Also use rgb(153,125,175) instead hex code.
.myTextColor { color: #997DAF; }
<p style="color:#997DAF">This sample text font color is #997DAF.</p>
This text font color is #997DAF.
.myBgColor { background-color: #997DAF; }
<div style="background-color:#997DAF">Inner text</div>
This div background color is #997DAF.
.myBorderColor { border: 1px solid #997DAF; }
<div style="border:3px solid #997DAF">Div</div>
This div border color is #997DAF.
.myOpacity80 { color: #997DAF; opacity: 0.8; }
<p style="color:#997DAF;opacity:0.8;">80%</p>
Text with #997DAF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #997DAF;}
<p style="text-shadow: 3px 3px 1px #997DAF">Text here.</p>
This text has shadow with #997DAF color.
.textShadow {text-shadow: 3px 3px 1px #997DAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #997DAF, 5px 5px 20px red">Text here.</p>
This text has shadow with #997DAF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#997DAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#997DAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #997DAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #997DAF; -webkit-box-shadow: 1px 1px 3px 2px #997DAF; box-shadow: 1px 1px 3px 2px #997DAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #997DAF; -webkit-box-shadow: 1px 1px 3px 2px #997DAF; box-shadow:1px 1px 3px 2px #997DAF;">
Div content here</div>
This text has color #997DAF on black background.
This text has color #997DAF on white background.
This text has black color on #997DAF background.
This text has white color on #997DAF background.