HEX: #A8A8E0
RGB: (168,168,224)
#A8A8E0 contains red, green and blue colors in about the same proportion. Web safe color of #A8A8E0 is #9999CC (or #99C).
#A8A8E0 color RGB value is (168,168,224).
RGB: (168,168,224) (66%,66%,88%)
R 168 of 255 = 66%
G 168 of 255 = 66%
B 224 of 255 = 88%
R + G + B ~ 73%. #A8A8E0 is quite light color.
R + G + B =
168 + 168 + 224 = 560 (100%)
R 168 of 560 ~ 30%
G 168 of 560 ~ 30%
B 224 of 560 ~ 40%
#A8A8E0 color CMYK value is (25,25,0,12).
CMYK: (25,25,0,12) C25M25Y0K12 (25%,25%,0%,12%) (0.25/0.25/0.00/0.12)
A8 | A8 | E0 | |
---|---|---|---|
RGB | 168 | 168 | 224 |
HSL | 240° | 47.46% | 76.86% |
HSB/HSV | 240° | 25.00% | 87.84% |
CMYK | 25.00% | 25.00% | 0.00% |
12.16% |
HEX | A8 | A8 | E0 |
Decimal | 168 | 168 | 224 |
Binary | 10101000 | 10101000 | 11100000 |
Octal | 250 | 250 | 340 |
Examples of css and html codes for elements with #A8A8E0 color. Also use rgb(168,168,224) instead hex code.
.myTextColor { color: #A8A8E0; }
<p style="color:#A8A8E0">This sample text font color is #A8A8E0.</p>
This text font color is #A8A8E0.
.myBgColor { background-color: #A8A8E0; }
<div style="background-color:#A8A8E0">Inner text</div>
This div background color is #A8A8E0.
.myBorderColor { border: 1px solid #A8A8E0; }
<div style="border:3px solid #A8A8E0">Div</div>
This div border color is #A8A8E0.
.myOpacity80 { color: #A8A8E0; opacity: 0.8; }
<p style="color:#A8A8E0;opacity:0.8;">80%</p>
Text with #A8A8E0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A8A8E0;}
<p style="text-shadow: 3px 3px 1px #A8A8E0">Text here.</p>
This text has shadow with #A8A8E0 color.
.textShadow {text-shadow: 3px 3px 1px #A8A8E0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A8A8E0, 5px 5px 20px red">Text here.</p>
This text has shadow with #A8A8E0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A8A8E0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A8A8E0, Direction=45, Strength=4)">Text</p>
This text has shadow with #A8A8E0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A8A8E0; -webkit-box-shadow: 1px 1px 3px 2px #A8A8E0; box-shadow: 1px 1px 3px 2px #A8A8E0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A8A8E0; -webkit-box-shadow: 1px 1px 3px 2px #A8A8E0; box-shadow:1px 1px 3px 2px #A8A8E0;">
Div content here</div>
This text has color #A8A8E0 on black background.
This text has color #A8A8E0 on white background.
This text has black color on #A8A8E0 background.
This text has white color on #A8A8E0 background.