HEX: #8C4AAD
RGB: (140,74,173)
#8C4AAD contains mainly red and blue colors. Web safe color of #8C4AAD is #993399 (or #939).
#8C4AAD color RGB value is (140,74,173).
RGB: (140,74,173)
(55%, 29%, 68%)
R 140 of 255 = 55%
G 74 of 255 = 29%
B 173 of 255 = 68%
R + G + B ~ 51%. #8C4AAD is middle color (not dark and not light).
R + G + B = 140 + 74 + 173 = 387 (100%)
R 140 of 387 ~ 36.18%
G 74 of 387 ~ 19.12%
B 173 of 387 ~ 44.7'%
#8C4AAD color CMYK value is (19,57,0,32).
CMYK: (19,57,0,32)
C19M57Y0K32 (19%, 57%, 0%, 32%)
(0.19 / 0.57 / 0.00 / 0.32)
Color #8C4AAD in popluar color models
8C | 4A | AD | |
---|---|---|---|
RGB | 140 | 74 | 173 |
HSL | 280° | 40.08% | 48.43% |
HSB/HSV | 280° | 57.23% | 67.84% |
CMYK | 19.08% | 57.23% | 0.00% |
32.16% |
Color #8C4AAD in popluar number systems.
HEX | 8C | 4A | AD |
Decimal | 140 | 74 | 173 |
Binary | 10001100 | 1001010 | 10101101 |
Octal | 214 | 112 | 255 |
Shades of #8C4AAD
Tints of #8C4AAD
Examples of css and html codes for elements with #8C4AAD color. Also use rgb(140,74,173) instead hex code.
.myTextColor { color: #8C4AAD; }
<p style="color:#8C4AAD">This sample text font color is #8C4AAD.</p>
This text font color is #8C4AAD.
.myBgColor { background-color: #8C4AAD; }
<div style="background-color:#8C4AAD">Inner text</div>
This div background color is #8C4AAD.
.myBorderColor { border: 1px solid #8C4AAD; }
<div style="border:3px solid #8C4AAD">Div</div>
This div border color is #8C4AAD.
.myOpacity80 { color: #8C4AAD; opacity: 0.8; }
<p style="color:#8C4AAD;opacity:0.8;">80%</p>
Text with #8C4AAD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C4AAD;}
<p style="text-shadow: 3px 3px 1px #8C4AAD">Text here.</p>
This text has shadow with #8C4AAD color.
.textShadow {text-shadow: 3px 3px 1px #8C4AAD', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C4AAD, 5px 5px 20px red">Text here.</p>
This text has shadow with #8C4AAD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C4AAD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C4AAD, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C4AAD and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #8C4AAD;
-webkit-box-shadow: 1px 1px 3px 2px #8C4AAD;
box-shadow: 1px 1px 3px 2px #8C4AAD;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #8C4AAD; -webkit-box-shadow: 1px 1px 3px 2px #8C4AAD; box-shadow:1px 1px 3px 2px #8C4AAD;">
Div content here
</div>
This text has color #8C4AAD on black background.
This text has color #8C4AAD on white background.
This text has black color on #8C4AAD background.
This text has white color on #8C4AAD background.
Complementary color for #hex is #73B552.