HEX: #977EAD
RGB: (151,126,173)
#977EAD contains red, green and blue colors in about the same proportion. Web safe color of #977EAD is #996699 (or #969).
#977EAD color RGB value is (151,126,173).
RGB: (151,126,173) (59%,49%,68%)
R 151 of 255 = 59%
G 126 of 255 = 49%
B 173 of 255 = 68%
R + G + B ~ 59%. #977EAD is middle color (not dark and not light).
R + G + B =
151 + 126 + 173 = 450 (100%)
R 151 of 450 ~ 33.56%
G 126 of 450 ~ 28%
B 173 of 450 ~ 38.44%
#977EAD color CMYK value is (13,27,0,32).
CMYK: (13,27,0,32) C13M27Y0K32 (13%,27%,0%,32%) (0.13/0.27/0.00/0.32)
97 | 7E | AD | |
---|---|---|---|
RGB | 151 | 126 | 173 |
HSL | 272° | 22.27% | 58.63% |
HSB/HSV | 272° | 27.17% | 67.84% |
CMYK | 12.72% | 27.17% | 0.00% |
32.16% |
HEX | 97 | 7E | AD |
Decimal | 151 | 126 | 173 |
Binary | 10010111 | 1111110 | 10101101 |
Octal | 227 | 176 | 255 |
Examples of css and html codes for elements with #977EAD color. Also use rgb(151,126,173) instead hex code.
.myTextColor { color: #977EAD; }
<p style="color:#977EAD">This sample text font color is #977EAD.</p>
This text font color is #977EAD.
.myBgColor { background-color: #977EAD; }
<div style="background-color:#977EAD">Inner text</div>
This div background color is #977EAD.
.myBorderColor { border: 1px solid #977EAD; }
<div style="border:3px solid #977EAD">Div</div>
This div border color is #977EAD.
.myOpacity80 { color: #977EAD; opacity: 0.8; }
<p style="color:#977EAD;opacity:0.8;">80%</p>
Text with #977EAD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #977EAD;}
<p style="text-shadow: 3px 3px 1px #977EAD">Text here.</p>
This text has shadow with #977EAD color.
.textShadow {text-shadow: 3px 3px 1px #977EAD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #977EAD, 5px 5px 20px red">Text here.</p>
This text has shadow with #977EAD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#977EAD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#977EAD, Direction=45, Strength=4)">Text</p>
This text has shadow with #977EAD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #977EAD; -webkit-box-shadow: 1px 1px 3px 2px #977EAD; box-shadow: 1px 1px 3px 2px #977EAD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #977EAD; -webkit-box-shadow: 1px 1px 3px 2px #977EAD; box-shadow:1px 1px 3px 2px #977EAD;">
Div content here</div>
This text has color #977EAD on black background.
This text has color #977EAD on white background.
This text has black color on #977EAD background.
This text has white color on #977EAD background.