HEX: #A487C6
RGB: (164,135,198)
#A487C6 contains mainly red and blue colors. Web safe color of #A487C6 is #9999CC (or #99C).
#A487C6 color RGB value is (164,135,198).
RGB: (164,135,198) (64%,53%,78%)
R 164 of 255 = 64%
G 135 of 255 = 53%
B 198 of 255 = 78%
R + G + B ~ 65%. #A487C6 is quite light color.
R + G + B =
164 + 135 + 198 = 497 (100%)
R 164 of 497 ~ 33%
G 135 of 497 ~ 27.16%
B 198 of 497 ~ 39.84%
#A487C6 color CMYK value is (17,32,0,22).
CMYK: (17,32,0,22) C17M32Y0K22 (17%,32%,0%,22%) (0.17/0.32/0.00/0.22)
A4 | 87 | C6 | |
---|---|---|---|
RGB | 164 | 135 | 198 |
HSL | 268° | 35.59% | 65.29% |
HSB/HSV | 268° | 31.82% | 77.65% |
CMYK | 17.17% | 31.82% | 0.00% |
22.35% |
HEX | A4 | 87 | C6 |
Decimal | 164 | 135 | 198 |
Binary | 10100100 | 10000111 | 11000110 |
Octal | 244 | 207 | 306 |
Examples of css and html codes for elements with #A487C6 color. Also use rgb(164,135,198) instead hex code.
.myTextColor { color: #A487C6; }
<p style="color:#A487C6">This sample text font color is #A487C6.</p>
This text font color is #A487C6.
.myBgColor { background-color: #A487C6; }
<div style="background-color:#A487C6">Inner text</div>
This div background color is #A487C6.
.myBorderColor { border: 1px solid #A487C6; }
<div style="border:3px solid #A487C6">Div</div>
This div border color is #A487C6.
.myOpacity80 { color: #A487C6; opacity: 0.8; }
<p style="color:#A487C6;opacity:0.8;">80%</p>
Text with #A487C6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A487C6;}
<p style="text-shadow: 3px 3px 1px #A487C6">Text here.</p>
This text has shadow with #A487C6 color.
.textShadow {text-shadow: 3px 3px 1px #A487C6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A487C6, 5px 5px 20px red">Text here.</p>
This text has shadow with #A487C6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A487C6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A487C6, Direction=45, Strength=4)">Text</p>
This text has shadow with #A487C6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A487C6; -webkit-box-shadow: 1px 1px 3px 2px #A487C6; box-shadow: 1px 1px 3px 2px #A487C6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A487C6; -webkit-box-shadow: 1px 1px 3px 2px #A487C6; box-shadow:1px 1px 3px 2px #A487C6;">
Div content here</div>
This text has color #A487C6 on black background.
This text has color #A487C6 on white background.
This text has black color on #A487C6 background.
This text has white color on #A487C6 background.