HEX: #8F24AD
RGB: (143,36,173)
#8F24AD contains mainly red and blue colors. Web safe color of #8F24AD is #993399 (or #939).
#8F24AD color RGB value is (143,36,173).
RGB: (143,36,173) (56%,14%,68%)
R 143 of 255 = 56%
G 36 of 255 = 14%
B 173 of 255 = 68%
R + G + B ~ 46%. #8F24AD is middle color (not dark and not light).
R + G + B =
143 + 36 + 173 = 352 (100%)
R 143 of 352 ~ 40.63%
G 36 of 352 ~ 10.23%
B 173 of 352 ~ 49.15%
#8F24AD color CMYK value is (17,79,0,32).
CMYK: (17,79,0,32) C17M79Y0K32 (17%,79%,0%,32%) (0.17/0.79/0.00/0.32)
8F | 24 | AD | |
---|---|---|---|
RGB | 143 | 36 | 173 |
HSL | 287° | 65.55% | 40.98% |
HSB/HSV | 287° | 79.19% | 67.84% |
CMYK | 17.34% | 79.19% | 0.00% |
32.16% |
HEX | 8F | 24 | AD |
Decimal | 143 | 36 | 173 |
Binary | 10001111 | 100100 | 10101101 |
Octal | 217 | 44 | 255 |
Examples of css and html codes for elements with #8F24AD color. Also use rgb(143,36,173) instead hex code.
.myTextColor { color: #8F24AD; }
<p style="color:#8F24AD">This sample text font color is #8F24AD.</p>
This text font color is #8F24AD.
.myBgColor { background-color: #8F24AD; }
<div style="background-color:#8F24AD">Inner text</div>
This div background color is #8F24AD.
.myBorderColor { border: 1px solid #8F24AD; }
<div style="border:3px solid #8F24AD">Div</div>
This div border color is #8F24AD.
.myOpacity80 { color: #8F24AD; opacity: 0.8; }
<p style="color:#8F24AD;opacity:0.8;">80%</p>
Text with #8F24AD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8F24AD;}
<p style="text-shadow: 3px 3px 1px #8F24AD">Text here.</p>
This text has shadow with #8F24AD color.
.textShadow {text-shadow: 3px 3px 1px #8F24AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8F24AD, 5px 5px 20px red">Text here.</p>
This text has shadow with #8F24AD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8F24AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8F24AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #8F24AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8F24AD; -webkit-box-shadow: 1px 1px 3px 2px #8F24AD; box-shadow: 1px 1px 3px 2px #8F24AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8F24AD; -webkit-box-shadow: 1px 1px 3px 2px #8F24AD; box-shadow:1px 1px 3px 2px #8F24AD;">
Div content here</div>
This text has color #8F24AD on black background.
This text has color #8F24AD on white background.
This text has black color on #8F24AD background.
This text has white color on #8F24AD background.