HEX: #8976CC
RGB: (137,118,204)
#8976CC contains mainly blue color. Web safe color of #8976CC is #9966CC (or #96C).
#8976CC color RGB value is (137,118,204).
RGB: (137,118,204) (54%,46%,80%)
R 137 of 255 = 54%
G 118 of 255 = 46%
B 204 of 255 = 80%
R + G + B ~ 60%. #8976CC is middle color (not dark and not light).
R + G + B =
137 + 118 + 204 = 459 (100%)
R 137 of 459 ~ 29.85%
G 118 of 459 ~ 25.71%
B 204 of 459 ~ 44.44%
#8976CC color CMYK value is (33,42,0,20).
CMYK: (33,42,0,20) C33M42Y0K20 (33%,42%,0%,20%) (0.33/0.42/0.00/0.20)
89 | 76 | CC | |
---|---|---|---|
RGB | 137 | 118 | 204 |
HSL | 253° | 45.74% | 63.14% |
HSB/HSV | 253° | 42.16% | 80.00% |
CMYK | 32.84% | 42.16% | 0.00% |
20.00% |
HEX | 89 | 76 | CC |
Decimal | 137 | 118 | 204 |
Binary | 10001001 | 1110110 | 11001100 |
Octal | 211 | 166 | 314 |
Examples of css and html codes for elements with #8976CC color. Also use rgb(137,118,204) instead hex code.
.myTextColor { color: #8976CC; }
<p style="color:#8976CC">This sample text font color is #8976CC.</p>
This text font color is #8976CC.
.myBgColor { background-color: #8976CC; }
<div style="background-color:#8976CC">Inner text</div>
This div background color is #8976CC.
.myBorderColor { border: 1px solid #8976CC; }
<div style="border:3px solid #8976CC">Div</div>
This div border color is #8976CC.
.myOpacity80 { color: #8976CC; opacity: 0.8; }
<p style="color:#8976CC;opacity:0.8;">80%</p>
Text with #8976CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8976CC;}
<p style="text-shadow: 3px 3px 1px #8976CC">Text here.</p>
This text has shadow with #8976CC color.
.textShadow {text-shadow: 3px 3px 1px #8976CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8976CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #8976CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8976CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8976CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #8976CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8976CC; -webkit-box-shadow: 1px 1px 3px 2px #8976CC; box-shadow: 1px 1px 3px 2px #8976CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8976CC; -webkit-box-shadow: 1px 1px 3px 2px #8976CC; box-shadow:1px 1px 3px 2px #8976CC;">
Div content here</div>
This text has color #8976CC on black background.
This text has color #8976CC on white background.
This text has black color on #8976CC background.
This text has white color on #8976CC background.