HEX: #A8509D
RGB: (168,80,157)
#A8509D contains mainly red and blue colors. Web safe color of #A8509D is #996699 (or #969).
#A8509D color RGB value is (168,80,157).
RGB: (168,80,157) (66%,31%,62%)
R 168 of 255 = 66%
G 80 of 255 = 31%
B 157 of 255 = 62%
R + G + B ~ 53%. #A8509D is middle color (not dark and not light).
R + G + B =
168 + 80 + 157 = 405 (100%)
R 168 of 405 ~ 41.48%
G 80 of 405 ~ 19.75%
B 157 of 405 ~ 38.77%
#A8509D color CMYK value is (0,52,7,34).
CMYK: (0,52,7,34) C0M52Y7K34 (0%,52%,7%,34%) (0.00/0.52/0.07/0.34)
A8 | 50 | 9D | |
---|---|---|---|
RGB | 168 | 80 | 157 |
HSL | 308° | 35.48% | 48.63% |
HSB/HSV | 308° | 52.38% | 65.88% |
CMYK | 0.00% | 52.38% | 6.55% |
34.12% |
HEX | A8 | 50 | 9D |
Decimal | 168 | 80 | 157 |
Binary | 10101000 | 1010000 | 10011101 |
Octal | 250 | 120 | 235 |
Examples of css and html codes for elements with #A8509D color. Also use rgb(168,80,157) instead hex code.
.myTextColor { color: #A8509D; }
<p style="color:#A8509D">This sample text font color is #A8509D.</p>
This text font color is #A8509D.
.myBgColor { background-color: #A8509D; }
<div style="background-color:#A8509D">Inner text</div>
This div background color is #A8509D.
.myBorderColor { border: 1px solid #A8509D; }
<div style="border:3px solid #A8509D">Div</div>
This div border color is #A8509D.
.myOpacity80 { color: #A8509D; opacity: 0.8; }
<p style="color:#A8509D;opacity:0.8;">80%</p>
Text with #A8509D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A8509D;}
<p style="text-shadow: 3px 3px 1px #A8509D">Text here.</p>
This text has shadow with #A8509D color.
.textShadow {text-shadow: 3px 3px 1px #A8509D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A8509D, 5px 5px 20px red">Text here.</p>
This text has shadow with #A8509D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A8509D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A8509D, Direction=45, Strength=4)">Text</p>
This text has shadow with #A8509D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A8509D; -webkit-box-shadow: 1px 1px 3px 2px #A8509D; box-shadow: 1px 1px 3px 2px #A8509D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A8509D; -webkit-box-shadow: 1px 1px 3px 2px #A8509D; box-shadow:1px 1px 3px 2px #A8509D;">
Div content here</div>
This text has color #A8509D on black background.
This text has color #A8509D on white background.
This text has black color on #A8509D background.
This text has white color on #A8509D background.