HEX: #977AEC
RGB: (151,122,236)
#977AEC contains mainly blue color. Web safe color of #977AEC is #9966FF (or #96F).
#977AEC color RGB value is (151,122,236).
RGB: (151,122,236) (59%,48%,93%)
R 151 of 255 = 59%
G 122 of 255 = 48%
B 236 of 255 = 93%
R + G + B ~ 67%. #977AEC is quite light color.
R + G + B =
151 + 122 + 236 = 509 (100%)
R 151 of 509 ~ 29.67%
G 122 of 509 ~ 23.97%
B 236 of 509 ~ 46.37%
#977AEC color CMYK value is (36,48,0,7).
CMYK: (36,48,0,7) C36M48Y0K7 (36%,48%,0%,7%) (0.36/0.48/0.00/0.07)
97 | 7A | EC | |
---|---|---|---|
RGB | 151 | 122 | 236 |
HSL | 255° | 75.00% | 70.20% |
HSB/HSV | 255° | 48.31% | 92.55% |
CMYK | 36.02% | 48.31% | 0.00% |
7.45% |
HEX | 97 | 7A | EC |
Decimal | 151 | 122 | 236 |
Binary | 10010111 | 1111010 | 11101100 |
Octal | 227 | 172 | 354 |
Examples of css and html codes for elements with #977AEC color. Also use rgb(151,122,236) instead hex code.
.myTextColor { color: #977AEC; }
<p style="color:#977AEC">This sample text font color is #977AEC.</p>
This text font color is #977AEC.
.myBgColor { background-color: #977AEC; }
<div style="background-color:#977AEC">Inner text</div>
This div background color is #977AEC.
.myBorderColor { border: 1px solid #977AEC; }
<div style="border:3px solid #977AEC">Div</div>
This div border color is #977AEC.
.myOpacity80 { color: #977AEC; opacity: 0.8; }
<p style="color:#977AEC;opacity:0.8;">80%</p>
Text with #977AEC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #977AEC;}
<p style="text-shadow: 3px 3px 1px #977AEC">Text here.</p>
This text has shadow with #977AEC color.
.textShadow {text-shadow: 3px 3px 1px #977AEC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #977AEC, 5px 5px 20px red">Text here.</p>
This text has shadow with #977AEC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#977AEC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#977AEC, Direction=45, Strength=4)">Text</p>
This text has shadow with #977AEC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #977AEC; -webkit-box-shadow: 1px 1px 3px 2px #977AEC; box-shadow: 1px 1px 3px 2px #977AEC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #977AEC; -webkit-box-shadow: 1px 1px 3px 2px #977AEC; box-shadow:1px 1px 3px 2px #977AEC;">
Div content here</div>
This text has color #977AEC on black background.
This text has color #977AEC on white background.
This text has black color on #977AEC background.
This text has white color on #977AEC background.