HEX: #984AAD
RGB: (152,74,173)
#984AAD contains mainly red and blue colors. Web safe color of #984AAD is #993399 (or #939).
#984AAD color RGB value is (152,74,173).
RGB: (152,74,173) (60%,29%,68%)
R 152 of 255 = 60%
G 74 of 255 = 29%
B 173 of 255 = 68%
R + G + B ~ 52%. #984AAD is middle color (not dark and not light).
R + G + B =
152 + 74 + 173 = 399 (100%)
R 152 of 399 ~ 38.1%
G 74 of 399 ~ 18.55%
B 173 of 399 ~ 43.36%
#984AAD color CMYK value is (12,57,0,32).
CMYK: (12,57,0,32) C12M57Y0K32 (12%,57%,0%,32%) (0.12/0.57/0.00/0.32)
98 | 4A | AD | |
---|---|---|---|
RGB | 152 | 74 | 173 |
HSL | 287° | 40.08% | 48.43% |
HSB/HSV | 287° | 57.23% | 67.84% |
CMYK | 12.14% | 57.23% | 0.00% |
32.16% |
HEX | 98 | 4A | AD |
Decimal | 152 | 74 | 173 |
Binary | 10011000 | 1001010 | 10101101 |
Octal | 230 | 112 | 255 |
Examples of css and html codes for elements with #984AAD color. Also use rgb(152,74,173) instead hex code.
.myTextColor { color: #984AAD; }
<p style="color:#984AAD">This sample text font color is #984AAD.</p>
This text font color is #984AAD.
.myBgColor { background-color: #984AAD; }
<div style="background-color:#984AAD">Inner text</div>
This div background color is #984AAD.
.myBorderColor { border: 1px solid #984AAD; }
<div style="border:3px solid #984AAD">Div</div>
This div border color is #984AAD.
.myOpacity80 { color: #984AAD; opacity: 0.8; }
<p style="color:#984AAD;opacity:0.8;">80%</p>
Text with #984AAD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #984AAD;}
<p style="text-shadow: 3px 3px 1px #984AAD">Text here.</p>
This text has shadow with #984AAD color.
.textShadow {text-shadow: 3px 3px 1px #984AAD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #984AAD, 5px 5px 20px red">Text here.</p>
This text has shadow with #984AAD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#984AAD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#984AAD, Direction=45, Strength=4)">Text</p>
This text has shadow with #984AAD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #984AAD; -webkit-box-shadow: 1px 1px 3px 2px #984AAD; box-shadow: 1px 1px 3px 2px #984AAD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #984AAD; -webkit-box-shadow: 1px 1px 3px 2px #984AAD; box-shadow:1px 1px 3px 2px #984AAD;">
Div content here</div>
This text has color #984AAD on black background.
This text has color #984AAD on white background.
This text has black color on #984AAD background.
This text has white color on #984AAD background.