HEX: #976BA3
RGB: (151,107,163)
#976BA3 contains red, green and blue colors in about the same proportion. Web safe color of #976BA3 is #996699 (or #969).
#976BA3 color RGB value is (151,107,163).
RGB: (151,107,163) (59%,42%,64%)
R 151 of 255 = 59%
G 107 of 255 = 42%
B 163 of 255 = 64%
R + G + B ~ 55%. #976BA3 is middle color (not dark and not light).
R + G + B =
151 + 107 + 163 = 421 (100%)
R 151 of 421 ~ 35.87%
G 107 of 421 ~ 25.42%
B 163 of 421 ~ 38.72%
#976BA3 color CMYK value is (7,34,0,36).
CMYK: (7,34,0,36) C7M34Y0K36 (7%,34%,0%,36%) (0.07/0.34/0.00/0.36)
97 | 6B | A3 | |
---|---|---|---|
RGB | 151 | 107 | 163 |
HSL | 287° | 23.33% | 52.94% |
HSB/HSV | 287° | 34.36% | 63.92% |
CMYK | 7.36% | 34.36% | 0.00% |
36.08% |
HEX | 97 | 6B | A3 |
Decimal | 151 | 107 | 163 |
Binary | 10010111 | 1101011 | 10100011 |
Octal | 227 | 153 | 243 |
Examples of css and html codes for elements with #976BA3 color. Also use rgb(151,107,163) instead hex code.
.myTextColor { color: #976BA3; }
<p style="color:#976BA3">This sample text font color is #976BA3.</p>
This text font color is #976BA3.
.myBgColor { background-color: #976BA3; }
<div style="background-color:#976BA3">Inner text</div>
This div background color is #976BA3.
.myBorderColor { border: 1px solid #976BA3; }
<div style="border:3px solid #976BA3">Div</div>
This div border color is #976BA3.
.myOpacity80 { color: #976BA3; opacity: 0.8; }
<p style="color:#976BA3;opacity:0.8;">80%</p>
Text with #976BA3 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #976BA3;}
<p style="text-shadow: 3px 3px 1px #976BA3">Text here.</p>
This text has shadow with #976BA3 color.
.textShadow {text-shadow: 3px 3px 1px #976BA3, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #976BA3, 5px 5px 20px red">Text here.</p>
This text has shadow with #976BA3 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#976BA3, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#976BA3, Direction=45, Strength=4)">Text</p>
This text has shadow with #976BA3 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #976BA3; -webkit-box-shadow: 1px 1px 3px 2px #976BA3; box-shadow: 1px 1px 3px 2px #976BA3; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #976BA3; -webkit-box-shadow: 1px 1px 3px 2px #976BA3; box-shadow:1px 1px 3px 2px #976BA3;">
Div content here</div>
This text has color #976BA3 on black background.
This text has color #976BA3 on white background.
This text has black color on #976BA3 background.
This text has white color on #976BA3 background.