HEX: #A7518A
RGB: (167,81,138)
#A7518A contains mainly red and blue colors. Web safe color of #A7518A is #996699 (or #969).
#A7518A color RGB value is (167,81,138).
RGB: (167,81,138) (65%,32%,54%)
R 167 of 255 = 65%
G 81 of 255 = 32%
B 138 of 255 = 54%
R + G + B ~ 50%. #A7518A is middle color (not dark and not light).
R + G + B =
167 + 81 + 138 = 386 (100%)
R 167 of 386 ~ 43.26%
G 81 of 386 ~ 20.98%
B 138 of 386 ~ 35.75%
#A7518A color CMYK value is (0,51,17,35).
CMYK: (0,51,17,35) C0M51Y17K35 (0%,51%,17%,35%) (0.00/0.51/0.17/0.35)
A7 | 51 | 8A | |
---|---|---|---|
RGB | 167 | 81 | 138 |
HSL | 320° | 34.68% | 48.63% |
HSB/HSV | 320° | 51.50% | 65.49% |
CMYK | 0.00% | 51.50% | 17.37% |
34.51% |
HEX | A7 | 51 | 8A |
Decimal | 167 | 81 | 138 |
Binary | 10100111 | 1010001 | 10001010 |
Octal | 247 | 121 | 212 |
Examples of css and html codes for elements with #A7518A color. Also use rgb(167,81,138) instead hex code.
.myTextColor { color: #A7518A; }
<p style="color:#A7518A">This sample text font color is #A7518A.</p>
This text font color is #A7518A.
.myBgColor { background-color: #A7518A; }
<div style="background-color:#A7518A">Inner text</div>
This div background color is #A7518A.
.myBorderColor { border: 1px solid #A7518A; }
<div style="border:3px solid #A7518A">Div</div>
This div border color is #A7518A.
.myOpacity80 { color: #A7518A; opacity: 0.8; }
<p style="color:#A7518A;opacity:0.8;">80%</p>
Text with #A7518A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A7518A;}
<p style="text-shadow: 3px 3px 1px #A7518A">Text here.</p>
This text has shadow with #A7518A color.
.textShadow {text-shadow: 3px 3px 1px #A7518A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A7518A, 5px 5px 20px red">Text here.</p>
This text has shadow with #A7518A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A7518A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A7518A, Direction=45, Strength=4)">Text</p>
This text has shadow with #A7518A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A7518A; -webkit-box-shadow: 1px 1px 3px 2px #A7518A; box-shadow: 1px 1px 3px 2px #A7518A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A7518A; -webkit-box-shadow: 1px 1px 3px 2px #A7518A; box-shadow:1px 1px 3px 2px #A7518A;">
Div content here</div>
This text has color #A7518A on black background.
This text has color #A7518A on white background.
This text has black color on #A7518A background.
This text has white color on #A7518A background.