HEX: #974CA5
RGB: (151,76,165)
#974CA5 contains mainly red and blue colors. Web safe color of #974CA5 is #993399 (or #939).
#974CA5 color RGB value is (151,76,165).
RGB: (151,76,165) (59%,30%,65%)
R 151 of 255 = 59%
G 76 of 255 = 30%
B 165 of 255 = 65%
R + G + B ~ 51%. #974CA5 is middle color (not dark and not light).
R + G + B =
151 + 76 + 165 = 392 (100%)
R 151 of 392 ~ 38.52%
G 76 of 392 ~ 19.39%
B 165 of 392 ~ 42.09%
#974CA5 color CMYK value is (8,54,0,35).
CMYK: (8,54,0,35) C8M54Y0K35 (8%,54%,0%,35%) (0.08/0.54/0.00/0.35)
97 | 4C | A5 | |
---|---|---|---|
RGB | 151 | 76 | 165 |
HSL | 291° | 36.93% | 47.25% |
HSB/HSV | 291° | 53.94% | 64.71% |
CMYK | 8.48% | 53.94% | 0.00% |
35.29% |
HEX | 97 | 4C | A5 |
Decimal | 151 | 76 | 165 |
Binary | 10010111 | 1001100 | 10100101 |
Octal | 227 | 114 | 245 |
Examples of css and html codes for elements with #974CA5 color. Also use rgb(151,76,165) instead hex code.
.myTextColor { color: #974CA5; }
<p style="color:#974CA5">This sample text font color is #974CA5.</p>
This text font color is #974CA5.
.myBgColor { background-color: #974CA5; }
<div style="background-color:#974CA5">Inner text</div>
This div background color is #974CA5.
.myBorderColor { border: 1px solid #974CA5; }
<div style="border:3px solid #974CA5">Div</div>
This div border color is #974CA5.
.myOpacity80 { color: #974CA5; opacity: 0.8; }
<p style="color:#974CA5;opacity:0.8;">80%</p>
Text with #974CA5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #974CA5;}
<p style="text-shadow: 3px 3px 1px #974CA5">Text here.</p>
This text has shadow with #974CA5 color.
.textShadow {text-shadow: 3px 3px 1px #974CA5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #974CA5, 5px 5px 20px red">Text here.</p>
This text has shadow with #974CA5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#974CA5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#974CA5, Direction=45, Strength=4)">Text</p>
This text has shadow with #974CA5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #974CA5; -webkit-box-shadow: 1px 1px 3px 2px #974CA5; box-shadow: 1px 1px 3px 2px #974CA5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #974CA5; -webkit-box-shadow: 1px 1px 3px 2px #974CA5; box-shadow:1px 1px 3px 2px #974CA5;">
Div content here</div>
This text has color #974CA5 on black background.
This text has color #974CA5 on white background.
This text has black color on #974CA5 background.
This text has white color on #974CA5 background.