HEX: #8E53AF
RGB: (142,83,175)
#8E53AF contains mainly red and blue colors. Web safe color of #8E53AF is #996699 (or #969).
#8E53AF color RGB value is (142,83,175).
RGB: (142,83,175) (56%,33%,69%)
R 142 of 255 = 56%
G 83 of 255 = 33%
B 175 of 255 = 69%
R + G + B ~ 53%. #8E53AF is middle color (not dark and not light).
R + G + B =
142 + 83 + 175 = 400 (100%)
R 142 of 400 ~ 35.5%
G 83 of 400 ~ 20.75%
B 175 of 400 ~ 43.75%
#8E53AF color CMYK value is (19,53,0,31).
CMYK: (19,53,0,31) C19M53Y0K31 (19%,53%,0%,31%) (0.19/0.53/0.00/0.31)
8E | 53 | AF | |
---|---|---|---|
RGB | 142 | 83 | 175 |
HSL | 278° | 36.51% | 50.59% |
HSB/HSV | 278° | 52.57% | 68.63% |
CMYK | 18.86% | 52.57% | 0.00% |
31.37% |
HEX | 8E | 53 | AF |
Decimal | 142 | 83 | 175 |
Binary | 10001110 | 1010011 | 10101111 |
Octal | 216 | 123 | 257 |
Examples of css and html codes for elements with #8E53AF color. Also use rgb(142,83,175) instead hex code.
.myTextColor { color: #8E53AF; }
<p style="color:#8E53AF">This sample text font color is #8E53AF.</p>
This text font color is #8E53AF.
.myBgColor { background-color: #8E53AF; }
<div style="background-color:#8E53AF">Inner text</div>
This div background color is #8E53AF.
.myBorderColor { border: 1px solid #8E53AF; }
<div style="border:3px solid #8E53AF">Div</div>
This div border color is #8E53AF.
.myOpacity80 { color: #8E53AF; opacity: 0.8; }
<p style="color:#8E53AF;opacity:0.8;">80%</p>
Text with #8E53AF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E53AF;}
<p style="text-shadow: 3px 3px 1px #8E53AF">Text here.</p>
This text has shadow with #8E53AF color.
.textShadow {text-shadow: 3px 3px 1px #8E53AF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E53AF, 5px 5px 20px red">Text here.</p>
This text has shadow with #8E53AF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E53AF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E53AF, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E53AF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E53AF; -webkit-box-shadow: 1px 1px 3px 2px #8E53AF; box-shadow: 1px 1px 3px 2px #8E53AF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E53AF; -webkit-box-shadow: 1px 1px 3px 2px #8E53AF; box-shadow:1px 1px 3px 2px #8E53AF;">
Div content here</div>
This text has color #8E53AF on black background.
This text has color #8E53AF on white background.
This text has black color on #8E53AF background.
This text has white color on #8E53AF background.