HEX: #AD54A1
RGB: (173,84,161)
#AD54A1 contains mainly red and blue colors. Web safe color of #AD54A1 is #996699 (or #969).
#AD54A1 color RGB value is (173,84,161).
RGB: (173,84,161) (68%,33%,63%)
R 173 of 255 = 68%
G 84 of 255 = 33%
B 161 of 255 = 63%
R + G + B ~ 55%. #AD54A1 is middle color (not dark and not light).
R + G + B =
173 + 84 + 161 = 418 (100%)
R 173 of 418 ~ 41.39%
G 84 of 418 ~ 20.1%
B 161 of 418 ~ 38.52%
#AD54A1 color CMYK value is (0,51,7,32).
CMYK: (0,51,7,32) C0M51Y7K32 (0%,51%,7%,32%) (0.00/0.51/0.07/0.32)
AD | 54 | A1 | |
---|---|---|---|
RGB | 173 | 84 | 161 |
HSL | 308° | 35.18% | 50.39% |
HSB/HSV | 308° | 51.45% | 67.84% |
CMYK | 0.00% | 51.45% | 6.94% |
32.16% |
HEX | AD | 54 | A1 |
Decimal | 173 | 84 | 161 |
Binary | 10101101 | 1010100 | 10100001 |
Octal | 255 | 124 | 241 |
Examples of css and html codes for elements with #AD54A1 color. Also use rgb(173,84,161) instead hex code.
.myTextColor { color: #AD54A1; }
<p style="color:#AD54A1">This sample text font color is #AD54A1.</p>
This text font color is #AD54A1.
.myBgColor { background-color: #AD54A1; }
<div style="background-color:#AD54A1">Inner text</div>
This div background color is #AD54A1.
.myBorderColor { border: 1px solid #AD54A1; }
<div style="border:3px solid #AD54A1">Div</div>
This div border color is #AD54A1.
.myOpacity80 { color: #AD54A1; opacity: 0.8; }
<p style="color:#AD54A1;opacity:0.8;">80%</p>
Text with #AD54A1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD54A1;}
<p style="text-shadow: 3px 3px 1px #AD54A1">Text here.</p>
This text has shadow with #AD54A1 color.
.textShadow {text-shadow: 3px 3px 1px #AD54A1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD54A1, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD54A1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD54A1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD54A1, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD54A1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD54A1; -webkit-box-shadow: 1px 1px 3px 2px #AD54A1; box-shadow: 1px 1px 3px 2px #AD54A1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD54A1; -webkit-box-shadow: 1px 1px 3px 2px #AD54A1; box-shadow:1px 1px 3px 2px #AD54A1;">
Div content here</div>
This text has color #AD54A1 on black background.
This text has color #AD54A1 on white background.
This text has black color on #AD54A1 background.
This text has white color on #AD54A1 background.