HEX: #976FAC
RGB: (151,111,172)
#976FAC contains mainly red and blue colors. Web safe color of #976FAC is #996699 (or #969).
#976FAC color RGB value is (151,111,172).
RGB: (151,111,172) (59%,44%,67%)
R 151 of 255 = 59%
G 111 of 255 = 44%
B 172 of 255 = 67%
R + G + B ~ 57%. #976FAC is middle color (not dark and not light).
R + G + B =
151 + 111 + 172 = 434 (100%)
R 151 of 434 ~ 34.79%
G 111 of 434 ~ 25.58%
B 172 of 434 ~ 39.63%
#976FAC 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 | AC | |
---|---|---|---|
RGB | 151 | 111 | 172 |
HSL | 279° | 26.87% | 55.49% |
HSB/HSV | 279° | 35.47% | 67.45% |
CMYK | 12.21% | 35.47% | 0.00% |
32.55% |
HEX | 97 | 6F | AC |
Decimal | 151 | 111 | 172 |
Binary | 10010111 | 1101111 | 10101100 |
Octal | 227 | 157 | 254 |
Examples of css and html codes for elements with #976FAC color. Also use rgb(151,111,172) instead hex code.
.myTextColor { color: #976FAC; }
<p style="color:#976FAC">This sample text font color is #976FAC.</p>
This text font color is #976FAC.
.myBgColor { background-color: #976FAC; }
<div style="background-color:#976FAC">Inner text</div>
This div background color is #976FAC.
.myBorderColor { border: 1px solid #976FAC; }
<div style="border:3px solid #976FAC">Div</div>
This div border color is #976FAC.
.myOpacity80 { color: #976FAC; opacity: 0.8; }
<p style="color:#976FAC;opacity:0.8;">80%</p>
Text with #976FAC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #976FAC;}
<p style="text-shadow: 3px 3px 1px #976FAC">Text here.</p>
This text has shadow with #976FAC color.
.textShadow {text-shadow: 3px 3px 1px #976FAC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #976FAC, 5px 5px 20px red">Text here.</p>
This text has shadow with #976FAC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#976FAC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#976FAC, Direction=45, Strength=4)">Text</p>
This text has shadow with #976FAC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #976FAC; -webkit-box-shadow: 1px 1px 3px 2px #976FAC; box-shadow: 1px 1px 3px 2px #976FAC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #976FAC; -webkit-box-shadow: 1px 1px 3px 2px #976FAC; box-shadow:1px 1px 3px 2px #976FAC;">
Div content here</div>
This text has color #976FAC on black background.
This text has color #976FAC on white background.
This text has black color on #976FAC background.
This text has white color on #976FAC background.