HEX: #997EBD
RGB: (153,126,189)
#997EBD contains mainly red and blue colors. Web safe color of #997EBD is #9966CC (or #96C).
#997EBD color RGB value is (153,126,189).
RGB: (153,126,189) (60%,49%,74%)
R 153 of 255 = 60%
G 126 of 255 = 49%
B 189 of 255 = 74%
R + G + B ~ 61%. #997EBD is quite light color.
R + G + B =
153 + 126 + 189 = 468 (100%)
R 153 of 468 ~ 32.69%
G 126 of 468 ~ 26.92%
B 189 of 468 ~ 40.38%
#997EBD color CMYK value is (19,33,0,26).
CMYK: (19,33,0,26) C19M33Y0K26 (19%,33%,0%,26%) (0.19/0.33/0.00/0.26)
99 | 7E | BD | |
---|---|---|---|
RGB | 153 | 126 | 189 |
HSL | 266° | 32.31% | 61.76% |
HSB/HSV | 266° | 33.33% | 74.12% |
CMYK | 19.05% | 33.33% | 0.00% |
25.88% |
HEX | 99 | 7E | BD |
Decimal | 153 | 126 | 189 |
Binary | 10011001 | 1111110 | 10111101 |
Octal | 231 | 176 | 275 |
Examples of css and html codes for elements with #997EBD color. Also use rgb(153,126,189) instead hex code.
.myTextColor { color: #997EBD; }
<p style="color:#997EBD">This sample text font color is #997EBD.</p>
This text font color is #997EBD.
.myBgColor { background-color: #997EBD; }
<div style="background-color:#997EBD">Inner text</div>
This div background color is #997EBD.
.myBorderColor { border: 1px solid #997EBD; }
<div style="border:3px solid #997EBD">Div</div>
This div border color is #997EBD.
.myOpacity80 { color: #997EBD; opacity: 0.8; }
<p style="color:#997EBD;opacity:0.8;">80%</p>
Text with #997EBD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #997EBD;}
<p style="text-shadow: 3px 3px 1px #997EBD">Text here.</p>
This text has shadow with #997EBD color.
.textShadow {text-shadow: 3px 3px 1px #997EBD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #997EBD, 5px 5px 20px red">Text here.</p>
This text has shadow with #997EBD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#997EBD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#997EBD, Direction=45, Strength=4)">Text</p>
This text has shadow with #997EBD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #997EBD; -webkit-box-shadow: 1px 1px 3px 2px #997EBD; box-shadow: 1px 1px 3px 2px #997EBD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #997EBD; -webkit-box-shadow: 1px 1px 3px 2px #997EBD; box-shadow:1px 1px 3px 2px #997EBD;">
Div content here</div>
This text has color #997EBD on black background.
This text has color #997EBD on white background.
This text has black color on #997EBD background.
This text has white color on #997EBD background.