HEX: #977DC9
RGB: (151,125,201)
#977DC9 contains mainly red and blue colors. Web safe color of #977DC9 is #9966CC (or #96C).
#977DC9 color RGB value is (151,125,201).
RGB: (151,125,201) (59%,49%,79%)
R 151 of 255 = 59%
G 125 of 255 = 49%
B 201 of 255 = 79%
R + G + B ~ 62%. #977DC9 is quite light color.
R + G + B =
151 + 125 + 201 = 477 (100%)
R 151 of 477 ~ 31.66%
G 125 of 477 ~ 26.21%
B 201 of 477 ~ 42.14%
#977DC9 color CMYK value is (25,38,0,21).
CMYK: (25,38,0,21) C25M38Y0K21 (25%,38%,0%,21%) (0.25/0.38/0.00/0.21)
97 | 7D | C9 | |
---|---|---|---|
RGB | 151 | 125 | 201 |
HSL | 261° | 41.30% | 63.92% |
HSB/HSV | 261° | 37.81% | 78.82% |
CMYK | 24.88% | 37.81% | 0.00% |
21.18% |
HEX | 97 | 7D | C9 |
Decimal | 151 | 125 | 201 |
Binary | 10010111 | 1111101 | 11001001 |
Octal | 227 | 175 | 311 |
Examples of css and html codes for elements with #977DC9 color. Also use rgb(151,125,201) instead hex code.
.myTextColor { color: #977DC9; }
<p style="color:#977DC9">This sample text font color is #977DC9.</p>
This text font color is #977DC9.
.myBgColor { background-color: #977DC9; }
<div style="background-color:#977DC9">Inner text</div>
This div background color is #977DC9.
.myBorderColor { border: 1px solid #977DC9; }
<div style="border:3px solid #977DC9">Div</div>
This div border color is #977DC9.
.myOpacity80 { color: #977DC9; opacity: 0.8; }
<p style="color:#977DC9;opacity:0.8;">80%</p>
Text with #977DC9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #977DC9;}
<p style="text-shadow: 3px 3px 1px #977DC9">Text here.</p>
This text has shadow with #977DC9 color.
.textShadow {text-shadow: 3px 3px 1px #977DC9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #977DC9, 5px 5px 20px red">Text here.</p>
This text has shadow with #977DC9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#977DC9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#977DC9, Direction=45, Strength=4)">Text</p>
This text has shadow with #977DC9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #977DC9; -webkit-box-shadow: 1px 1px 3px 2px #977DC9; box-shadow: 1px 1px 3px 2px #977DC9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #977DC9; -webkit-box-shadow: 1px 1px 3px 2px #977DC9; box-shadow:1px 1px 3px 2px #977DC9;">
Div content here</div>
This text has color #977DC9 on black background.
This text has color #977DC9 on white background.
This text has black color on #977DC9 background.
This text has white color on #977DC9 background.