HEX: #A54ADA
RGB: (165,74,218)
#A54ADA contains mainly red and blue colors. Web safe color of #A54ADA is #9933CC (or #93C).
#A54ADA color RGB value is (165,74,218).
RGB: (165,74,218) (65%,29%,85%)
R 165 of 255 = 65%
G 74 of 255 = 29%
B 218 of 255 = 85%
R + G + B ~ 60%. #A54ADA is middle color (not dark and not light).
R + G + B =
165 + 74 + 218 = 457 (100%)
R 165 of 457 ~ 36.11%
G 74 of 457 ~ 16.19%
B 218 of 457 ~ 47.7%
#A54ADA color CMYK value is (24,66,0,15).
CMYK: (24,66,0,15) C24M66Y0K15 (24%,66%,0%,15%) (0.24/0.66/0.00/0.15)
A5 | 4A | DA | |
---|---|---|---|
RGB | 165 | 74 | 218 |
HSL | 278° | 66.06% | 57.25% |
HSB/HSV | 278° | 66.06% | 85.49% |
CMYK | 24.31% | 66.06% | 0.00% |
14.51% |
HEX | A5 | 4A | DA |
Decimal | 165 | 74 | 218 |
Binary | 10100101 | 1001010 | 11011010 |
Octal | 245 | 112 | 332 |
Examples of css and html codes for elements with #A54ADA color. Also use rgb(165,74,218) instead hex code.
.myTextColor { color: #A54ADA; }
<p style="color:#A54ADA">This sample text font color is #A54ADA.</p>
This text font color is #A54ADA.
.myBgColor { background-color: #A54ADA; }
<div style="background-color:#A54ADA">Inner text</div>
This div background color is #A54ADA.
.myBorderColor { border: 1px solid #A54ADA; }
<div style="border:3px solid #A54ADA">Div</div>
This div border color is #A54ADA.
.myOpacity80 { color: #A54ADA; opacity: 0.8; }
<p style="color:#A54ADA;opacity:0.8;">80%</p>
Text with #A54ADA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A54ADA;}
<p style="text-shadow: 3px 3px 1px #A54ADA">Text here.</p>
This text has shadow with #A54ADA color.
.textShadow {text-shadow: 3px 3px 1px #A54ADA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A54ADA, 5px 5px 20px red">Text here.</p>
This text has shadow with #A54ADA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A54ADA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A54ADA, Direction=45, Strength=4)">Text</p>
This text has shadow with #A54ADA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A54ADA; -webkit-box-shadow: 1px 1px 3px 2px #A54ADA; box-shadow: 1px 1px 3px 2px #A54ADA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A54ADA; -webkit-box-shadow: 1px 1px 3px 2px #A54ADA; box-shadow:1px 1px 3px 2px #A54ADA;">
Div content here</div>
This text has color #A54ADA on black background.
This text has color #A54ADA on white background.
This text has black color on #A54ADA background.
This text has white color on #A54ADA background.