HEX: #976FAB
RGB: (151,111,171)
#976FAB contains mainly red and blue colors. Web safe color of #976FAB is #996699 (or #969).
#976FAB color RGB value is (151,111,171).
RGB: (151,111,171) (59%,44%,67%)
R 151 of 255 = 59%
G 111 of 255 = 44%
B 171 of 255 = 67%
R + G + B ~ 57%. #976FAB is middle color (not dark and not light).
R + G + B =
151 + 111 + 171 = 433 (100%)
R 151 of 433 ~ 34.87%
G 111 of 433 ~ 25.64%
B 171 of 433 ~ 39.49%
#976FAB color CMYK value is (12,35,0,33).
CMYK: (12,35,0,33) C12M35Y0K33 (12%,35%,0%,33%) (0.12/0.35/0.00/0.33)
97 | 6F | AB | |
---|---|---|---|
RGB | 151 | 111 | 171 |
HSL | 280° | 26.32% | 55.29% |
HSB/HSV | 280° | 35.09% | 67.06% |
CMYK | 11.70% | 35.09% | 0.00% |
32.94% |
HEX | 97 | 6F | AB |
Decimal | 151 | 111 | 171 |
Binary | 10010111 | 1101111 | 10101011 |
Octal | 227 | 157 | 253 |
Examples of css and html codes for elements with #976FAB color. Also use rgb(151,111,171) instead hex code.
.myTextColor { color: #976FAB; }
<p style="color:#976FAB">This sample text font color is #976FAB.</p>
This text font color is #976FAB.
.myBgColor { background-color: #976FAB; }
<div style="background-color:#976FAB">Inner text</div>
This div background color is #976FAB.
.myBorderColor { border: 1px solid #976FAB; }
<div style="border:3px solid #976FAB">Div</div>
This div border color is #976FAB.
.myOpacity80 { color: #976FAB; opacity: 0.8; }
<p style="color:#976FAB;opacity:0.8;">80%</p>
Text with #976FAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #976FAB;}
<p style="text-shadow: 3px 3px 1px #976FAB">Text here.</p>
This text has shadow with #976FAB color.
.textShadow {text-shadow: 3px 3px 1px #976FAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #976FAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #976FAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#976FAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#976FAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #976FAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #976FAB; -webkit-box-shadow: 1px 1px 3px 2px #976FAB; box-shadow: 1px 1px 3px 2px #976FAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #976FAB; -webkit-box-shadow: 1px 1px 3px 2px #976FAB; box-shadow:1px 1px 3px 2px #976FAB;">
Div content here</div>
This text has color #976FAB on black background.
This text has color #976FAB on white background.
This text has black color on #976FAB background.
This text has white color on #976FAB background.