HEX: #A7A1EB
RGB: (167,161,235)
#A7A1EB contains mainly blue color. Web safe color of #A7A1EB is #9999FF (or #99F).
#A7A1EB color RGB value is (167,161,235).
RGB: (167,161,235) (65%,63%,92%)
R 167 of 255 = 65%
G 161 of 255 = 63%
B 235 of 255 = 92%
R + G + B ~ 73%. #A7A1EB is quite light color.
R + G + B =
167 + 161 + 235 = 563 (100%)
R 167 of 563 ~ 29.66%
G 161 of 563 ~ 28.6%
B 235 of 563 ~ 41.74%
#A7A1EB color CMYK value is (29,31,0,8).
CMYK: (29,31,0,8) C29M31Y0K8 (29%,31%,0%,8%) (0.29/0.31/0.00/0.08)
A7 | A1 | EB | |
---|---|---|---|
RGB | 167 | 161 | 235 |
HSL | 245° | 64.91% | 77.65% |
HSB/HSV | 245° | 31.49% | 92.16% |
CMYK | 28.94% | 31.49% | 0.00% |
7.84% |
HEX | A7 | A1 | EB |
Decimal | 167 | 161 | 235 |
Binary | 10100111 | 10100001 | 11101011 |
Octal | 247 | 241 | 353 |
Examples of css and html codes for elements with #A7A1EB color. Also use rgb(167,161,235) instead hex code.
.myTextColor { color: #A7A1EB; }
<p style="color:#A7A1EB">This sample text font color is #A7A1EB.</p>
This text font color is #A7A1EB.
.myBgColor { background-color: #A7A1EB; }
<div style="background-color:#A7A1EB">Inner text</div>
This div background color is #A7A1EB.
.myBorderColor { border: 1px solid #A7A1EB; }
<div style="border:3px solid #A7A1EB">Div</div>
This div border color is #A7A1EB.
.myOpacity80 { color: #A7A1EB; opacity: 0.8; }
<p style="color:#A7A1EB;opacity:0.8;">80%</p>
Text with #A7A1EB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A7A1EB;}
<p style="text-shadow: 3px 3px 1px #A7A1EB">Text here.</p>
This text has shadow with #A7A1EB color.
.textShadow {text-shadow: 3px 3px 1px #A7A1EB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A7A1EB, 5px 5px 20px red">Text here.</p>
This text has shadow with #A7A1EB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A7A1EB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A7A1EB, Direction=45, Strength=4)">Text</p>
This text has shadow with #A7A1EB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A7A1EB; -webkit-box-shadow: 1px 1px 3px 2px #A7A1EB; box-shadow: 1px 1px 3px 2px #A7A1EB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A7A1EB; -webkit-box-shadow: 1px 1px 3px 2px #A7A1EB; box-shadow:1px 1px 3px 2px #A7A1EB;">
Div content here</div>
This text has color #A7A1EB on black background.
This text has color #A7A1EB on white background.
This text has black color on #A7A1EB background.
This text has white color on #A7A1EB background.