HEX: #8A24CC
RGB: (138,36,204)
#8A24CC contains mainly blue color. Web safe color of #8A24CC is #9933CC (or #93C).
#8A24CC color RGB value is (138,36,204).
RGB: (138,36,204) (54%,14%,80%)
R 138 of 255 = 54%
G 36 of 255 = 14%
B 204 of 255 = 80%
R + G + B ~ 49%. #8A24CC is middle color (not dark and not light).
R + G + B =
138 + 36 + 204 = 378 (100%)
R 138 of 378 ~ 36.51%
G 36 of 378 ~ 9.52%
B 204 of 378 ~ 53.97%
#8A24CC color CMYK value is (32,82,0,20).
CMYK: (32,82,0,20) C32M82Y0K20 (32%,82%,0%,20%) (0.32/0.82/0.00/0.20)
8A | 24 | CC | |
---|---|---|---|
RGB | 138 | 36 | 204 |
HSL | 276° | 70.00% | 47.06% |
HSB/HSV | 276° | 82.35% | 80.00% |
CMYK | 32.35% | 82.35% | 0.00% |
20.00% |
HEX | 8A | 24 | CC |
Decimal | 138 | 36 | 204 |
Binary | 10001010 | 100100 | 11001100 |
Octal | 212 | 44 | 314 |
Examples of css and html codes for elements with #8A24CC color. Also use rgb(138,36,204) instead hex code.
.myTextColor { color: #8A24CC; }
<p style="color:#8A24CC">This sample text font color is #8A24CC.</p>
This text font color is #8A24CC.
.myBgColor { background-color: #8A24CC; }
<div style="background-color:#8A24CC">Inner text</div>
This div background color is #8A24CC.
.myBorderColor { border: 1px solid #8A24CC; }
<div style="border:3px solid #8A24CC">Div</div>
This div border color is #8A24CC.
.myOpacity80 { color: #8A24CC; opacity: 0.8; }
<p style="color:#8A24CC;opacity:0.8;">80%</p>
Text with #8A24CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8A24CC;}
<p style="text-shadow: 3px 3px 1px #8A24CC">Text here.</p>
This text has shadow with #8A24CC color.
.textShadow {text-shadow: 3px 3px 1px #8A24CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8A24CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #8A24CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8A24CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8A24CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #8A24CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8A24CC; -webkit-box-shadow: 1px 1px 3px 2px #8A24CC; box-shadow: 1px 1px 3px 2px #8A24CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8A24CC; -webkit-box-shadow: 1px 1px 3px 2px #8A24CC; box-shadow:1px 1px 3px 2px #8A24CC;">
Div content here</div>
This text has color #8A24CC on black background.
This text has color #8A24CC on white background.
This text has black color on #8A24CC background.
This text has white color on #8A24CC background.