HEX: #A8A8DB
RGB: (168,168,219)
#A8A8DB contains red, green and blue colors in about the same proportion. Web safe color of #A8A8DB is #9999CC (or #99C).
#A8A8DB color RGB value is (168,168,219).
RGB: (168,168,219) (66%,66%,86%)
R 168 of 255 = 66%
G 168 of 255 = 66%
B 219 of 255 = 86%
R + G + B ~ 73%. #A8A8DB is quite light color.
R + G + B =
168 + 168 + 219 = 555 (100%)
R 168 of 555 ~ 30.27%
G 168 of 555 ~ 30.27%
B 219 of 555 ~ 39.46%
#A8A8DB color CMYK value is (23,23,0,14).
CMYK: (23,23,0,14) C23M23Y0K14 (23%,23%,0%,14%) (0.23/0.23/0.00/0.14)
A8 | A8 | DB | |
---|---|---|---|
RGB | 168 | 168 | 219 |
HSL | 240° | 41.46% | 75.88% |
HSB/HSV | 240° | 23.29% | 85.88% |
CMYK | 23.29% | 23.29% | 0.00% |
14.12% |
HEX | A8 | A8 | DB |
Decimal | 168 | 168 | 219 |
Binary | 10101000 | 10101000 | 11011011 |
Octal | 250 | 250 | 333 |
Examples of css and html codes for elements with #A8A8DB color. Also use rgb(168,168,219) instead hex code.
.myTextColor { color: #A8A8DB; }
<p style="color:#A8A8DB">This sample text font color is #A8A8DB.</p>
This text font color is #A8A8DB.
.myBgColor { background-color: #A8A8DB; }
<div style="background-color:#A8A8DB">Inner text</div>
This div background color is #A8A8DB.
.myBorderColor { border: 1px solid #A8A8DB; }
<div style="border:3px solid #A8A8DB">Div</div>
This div border color is #A8A8DB.
.myOpacity80 { color: #A8A8DB; opacity: 0.8; }
<p style="color:#A8A8DB;opacity:0.8;">80%</p>
Text with #A8A8DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A8A8DB;}
<p style="text-shadow: 3px 3px 1px #A8A8DB">Text here.</p>
This text has shadow with #A8A8DB color.
.textShadow {text-shadow: 3px 3px 1px #A8A8DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A8A8DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #A8A8DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A8A8DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A8A8DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #A8A8DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A8A8DB; -webkit-box-shadow: 1px 1px 3px 2px #A8A8DB; box-shadow: 1px 1px 3px 2px #A8A8DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A8A8DB; -webkit-box-shadow: 1px 1px 3px 2px #A8A8DB; box-shadow:1px 1px 3px 2px #A8A8DB;">
Div content here</div>
This text has color #A8A8DB on black background.
This text has color #A8A8DB on white background.
This text has black color on #A8A8DB background.
This text has white color on #A8A8DB background.