HEX: #997FC1
RGB: (153,127,193)
#997FC1 contains mainly red and blue colors. Web safe color of #997FC1 is #9966CC (or #96C).
#997FC1 color RGB value is (153,127,193).
RGB: (153,127,193) (60%,50%,76%)
R 153 of 255 = 60%
G 127 of 255 = 50%
B 193 of 255 = 76%
R + G + B ~ 62%. #997FC1 is quite light color.
R + G + B =
153 + 127 + 193 = 473 (100%)
R 153 of 473 ~ 32.35%
G 127 of 473 ~ 26.85%
B 193 of 473 ~ 40.8%
#997FC1 color CMYK value is (21,34,0,24).
CMYK: (21,34,0,24) C21M34Y0K24 (21%,34%,0%,24%) (0.21/0.34/0.00/0.24)
99 | 7F | C1 | |
---|---|---|---|
RGB | 153 | 127 | 193 |
HSL | 264° | 34.74% | 62.75% |
HSB/HSV | 264° | 34.20% | 75.69% |
CMYK | 20.73% | 34.20% | 0.00% |
24.31% |
HEX | 99 | 7F | C1 |
Decimal | 153 | 127 | 193 |
Binary | 10011001 | 1111111 | 11000001 |
Octal | 231 | 177 | 301 |
Examples of css and html codes for elements with #997FC1 color. Also use rgb(153,127,193) instead hex code.
.myTextColor { color: #997FC1; }
<p style="color:#997FC1">This sample text font color is #997FC1.</p>
This text font color is #997FC1.
.myBgColor { background-color: #997FC1; }
<div style="background-color:#997FC1">Inner text</div>
This div background color is #997FC1.
.myBorderColor { border: 1px solid #997FC1; }
<div style="border:3px solid #997FC1">Div</div>
This div border color is #997FC1.
.myOpacity80 { color: #997FC1; opacity: 0.8; }
<p style="color:#997FC1;opacity:0.8;">80%</p>
Text with #997FC1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #997FC1;}
<p style="text-shadow: 3px 3px 1px #997FC1">Text here.</p>
This text has shadow with #997FC1 color.
.textShadow {text-shadow: 3px 3px 1px #997FC1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #997FC1, 5px 5px 20px red">Text here.</p>
This text has shadow with #997FC1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#997FC1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#997FC1, Direction=45, Strength=4)">Text</p>
This text has shadow with #997FC1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #997FC1; -webkit-box-shadow: 1px 1px 3px 2px #997FC1; box-shadow: 1px 1px 3px 2px #997FC1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #997FC1; -webkit-box-shadow: 1px 1px 3px 2px #997FC1; box-shadow:1px 1px 3px 2px #997FC1;">
Div content here</div>
This text has color #997FC1 on black background.
This text has color #997FC1 on white background.
This text has black color on #997FC1 background.
This text has white color on #997FC1 background.