HEX: #977FF4
RGB: (151,127,244)
#977FF4 contains mainly blue color. Web safe color of #977FF4 is #9966FF (or #96F).
#977FF4 color RGB value is (151,127,244).
RGB: (151,127,244) (59%,50%,96%)
R 151 of 255 = 59%
G 127 of 255 = 50%
B 244 of 255 = 96%
R + G + B ~ 68%. #977FF4 is quite light color.
R + G + B =
151 + 127 + 244 = 522 (100%)
R 151 of 522 ~ 28.93%
G 127 of 522 ~ 24.33%
B 244 of 522 ~ 46.74%
#977FF4 color CMYK value is (38,48,0,4).
CMYK: (38,48,0,4) C38M48Y0K4 (38%,48%,0%,4%) (0.38/0.48/0.00/0.04)
97 | 7F | F4 | |
---|---|---|---|
RGB | 151 | 127 | 244 |
HSL | 252° | 84.17% | 72.75% |
HSB/HSV | 252° | 47.95% | 95.69% |
CMYK | 38.11% | 47.95% | 0.00% |
4.31% |
HEX | 97 | 7F | F4 |
Decimal | 151 | 127 | 244 |
Binary | 10010111 | 1111111 | 11110100 |
Octal | 227 | 177 | 364 |
Examples of css and html codes for elements with #977FF4 color. Also use rgb(151,127,244) instead hex code.
.myTextColor { color: #977FF4; }
<p style="color:#977FF4">This sample text font color is #977FF4.</p>
This text font color is #977FF4.
.myBgColor { background-color: #977FF4; }
<div style="background-color:#977FF4">Inner text</div>
This div background color is #977FF4.
.myBorderColor { border: 1px solid #977FF4; }
<div style="border:3px solid #977FF4">Div</div>
This div border color is #977FF4.
.myOpacity80 { color: #977FF4; opacity: 0.8; }
<p style="color:#977FF4;opacity:0.8;">80%</p>
Text with #977FF4 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #977FF4;}
<p style="text-shadow: 3px 3px 1px #977FF4">Text here.</p>
This text has shadow with #977FF4 color.
.textShadow {text-shadow: 3px 3px 1px #977FF4, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #977FF4, 5px 5px 20px red">Text here.</p>
This text has shadow with #977FF4 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#977FF4, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#977FF4, Direction=45, Strength=4)">Text</p>
This text has shadow with #977FF4 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #977FF4; -webkit-box-shadow: 1px 1px 3px 2px #977FF4; box-shadow: 1px 1px 3px 2px #977FF4; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #977FF4; -webkit-box-shadow: 1px 1px 3px 2px #977FF4; box-shadow:1px 1px 3px 2px #977FF4;">
Div content here</div>
This text has color #977FF4 on black background.
This text has color #977FF4 on white background.
This text has black color on #977FF4 background.
This text has white color on #977FF4 background.