HEX: #A8A5E1
RGB: (168,165,225)
#A8A5E1 contains mainly red and blue colors. Web safe color of #A8A5E1 is #9999CC (or #99C).
#A8A5E1 color RGB value is (168,165,225).
RGB: (168,165,225) (66%,65%,88%)
R 168 of 255 = 66%
G 165 of 255 = 65%
B 225 of 255 = 88%
R + G + B ~ 73%. #A8A5E1 is quite light color.
R + G + B =
168 + 165 + 225 = 558 (100%)
R 168 of 558 ~ 30.11%
G 165 of 558 ~ 29.57%
B 225 of 558 ~ 40.32%
#A8A5E1 color CMYK value is (25,27,0,12).
CMYK: (25,27,0,12) C25M27Y0K12 (25%,27%,0%,12%) (0.25/0.27/0.00/0.12)
A8 | A5 | E1 | |
---|---|---|---|
RGB | 168 | 165 | 225 |
HSL | 243° | 50.00% | 76.47% |
HSB/HSV | 243° | 26.67% | 88.24% |
CMYK | 25.33% | 26.67% | 0.00% |
11.76% |
HEX | A8 | A5 | E1 |
Decimal | 168 | 165 | 225 |
Binary | 10101000 | 10100101 | 11100001 |
Octal | 250 | 245 | 341 |
Examples of css and html codes for elements with #A8A5E1 color. Also use rgb(168,165,225) instead hex code.
.myTextColor { color: #A8A5E1; }
<p style="color:#A8A5E1">This sample text font color is #A8A5E1.</p>
This text font color is #A8A5E1.
.myBgColor { background-color: #A8A5E1; }
<div style="background-color:#A8A5E1">Inner text</div>
This div background color is #A8A5E1.
.myBorderColor { border: 1px solid #A8A5E1; }
<div style="border:3px solid #A8A5E1">Div</div>
This div border color is #A8A5E1.
.myOpacity80 { color: #A8A5E1; opacity: 0.8; }
<p style="color:#A8A5E1;opacity:0.8;">80%</p>
Text with #A8A5E1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A8A5E1;}
<p style="text-shadow: 3px 3px 1px #A8A5E1">Text here.</p>
This text has shadow with #A8A5E1 color.
.textShadow {text-shadow: 3px 3px 1px #A8A5E1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A8A5E1, 5px 5px 20px red">Text here.</p>
This text has shadow with #A8A5E1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A8A5E1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A8A5E1, Direction=45, Strength=4)">Text</p>
This text has shadow with #A8A5E1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A8A5E1; -webkit-box-shadow: 1px 1px 3px 2px #A8A5E1; box-shadow: 1px 1px 3px 2px #A8A5E1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A8A5E1; -webkit-box-shadow: 1px 1px 3px 2px #A8A5E1; box-shadow:1px 1px 3px 2px #A8A5E1;">
Div content here</div>
This text has color #A8A5E1 on black background.
This text has color #A8A5E1 on white background.
This text has black color on #A8A5E1 background.
This text has white color on #A8A5E1 background.