HEX: #A18EBA
RGB: (161,142,186)
#A18EBA contains red, green and blue colors in about the same proportion. Web safe color of #A18EBA is #9999CC (or #99C).
#A18EBA color RGB value is (161,142,186).
RGB: (161,142,186) (63%,56%,73%)
R 161 of 255 = 63%
G 142 of 255 = 56%
B 186 of 255 = 73%
R + G + B ~ 64%. #A18EBA is quite light color.
R + G + B =
161 + 142 + 186 = 489 (100%)
R 161 of 489 ~ 32.92%
G 142 of 489 ~ 29.04%
B 186 of 489 ~ 38.04%
#A18EBA color CMYK value is (13,24,0,27).
CMYK: (13,24,0,27) C13M24Y0K27 (13%,24%,0%,27%) (0.13/0.24/0.00/0.27)
A1 | 8E | BA | |
---|---|---|---|
RGB | 161 | 142 | 186 |
HSL | 266° | 24.18% | 64.31% |
HSB/HSV | 266° | 23.66% | 72.94% |
CMYK | 13.44% | 23.66% | 0.00% |
27.06% |
HEX | A1 | 8E | BA |
Decimal | 161 | 142 | 186 |
Binary | 10100001 | 10001110 | 10111010 |
Octal | 241 | 216 | 272 |
Examples of css and html codes for elements with #A18EBA color. Also use rgb(161,142,186) instead hex code.
.myTextColor { color: #A18EBA; }
<p style="color:#A18EBA">This sample text font color is #A18EBA.</p>
This text font color is #A18EBA.
.myBgColor { background-color: #A18EBA; }
<div style="background-color:#A18EBA">Inner text</div>
This div background color is #A18EBA.
.myBorderColor { border: 1px solid #A18EBA; }
<div style="border:3px solid #A18EBA">Div</div>
This div border color is #A18EBA.
.myOpacity80 { color: #A18EBA; opacity: 0.8; }
<p style="color:#A18EBA;opacity:0.8;">80%</p>
Text with #A18EBA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A18EBA;}
<p style="text-shadow: 3px 3px 1px #A18EBA">Text here.</p>
This text has shadow with #A18EBA color.
.textShadow {text-shadow: 3px 3px 1px #A18EBA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A18EBA, 5px 5px 20px red">Text here.</p>
This text has shadow with #A18EBA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A18EBA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A18EBA, Direction=45, Strength=4)">Text</p>
This text has shadow with #A18EBA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A18EBA; -webkit-box-shadow: 1px 1px 3px 2px #A18EBA; box-shadow: 1px 1px 3px 2px #A18EBA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A18EBA; -webkit-box-shadow: 1px 1px 3px 2px #A18EBA; box-shadow:1px 1px 3px 2px #A18EBA;">
Div content here</div>
This text has color #A18EBA on black background.
This text has color #A18EBA on white background.
This text has black color on #A18EBA background.
This text has white color on #A18EBA background.