HEX: #A87EEA
RGB: (168,126,234)
#A87EEA contains mainly blue color. Web safe color of #A87EEA is #9966FF (or #96F).
#A87EEA color RGB value is (168,126,234).
RGB: (168,126,234) (66%,49%,92%)
R 168 of 255 = 66%
G 126 of 255 = 49%
B 234 of 255 = 92%
R + G + B ~ 69%. #A87EEA is quite light color.
R + G + B =
168 + 126 + 234 = 528 (100%)
R 168 of 528 ~ 31.82%
G 126 of 528 ~ 23.86%
B 234 of 528 ~ 44.32%
#A87EEA color CMYK value is (28,46,0,8).
CMYK: (28,46,0,8) C28M46Y0K8 (28%,46%,0%,8%) (0.28/0.46/0.00/0.08)
A8 | 7E | EA | |
---|---|---|---|
RGB | 168 | 126 | 234 |
HSL | 263° | 72.00% | 70.59% |
HSB/HSV | 263° | 46.15% | 91.76% |
CMYK | 28.21% | 46.15% | 0.00% |
8.24% |
HEX | A8 | 7E | EA |
Decimal | 168 | 126 | 234 |
Binary | 10101000 | 1111110 | 11101010 |
Octal | 250 | 176 | 352 |
Examples of css and html codes for elements with #A87EEA color. Also use rgb(168,126,234) instead hex code.
.myTextColor { color: #A87EEA; }
<p style="color:#A87EEA">This sample text font color is #A87EEA.</p>
This text font color is #A87EEA.
.myBgColor { background-color: #A87EEA; }
<div style="background-color:#A87EEA">Inner text</div>
This div background color is #A87EEA.
.myBorderColor { border: 1px solid #A87EEA; }
<div style="border:3px solid #A87EEA">Div</div>
This div border color is #A87EEA.
.myOpacity80 { color: #A87EEA; opacity: 0.8; }
<p style="color:#A87EEA;opacity:0.8;">80%</p>
Text with #A87EEA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A87EEA;}
<p style="text-shadow: 3px 3px 1px #A87EEA">Text here.</p>
This text has shadow with #A87EEA color.
.textShadow {text-shadow: 3px 3px 1px #A87EEA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A87EEA, 5px 5px 20px red">Text here.</p>
This text has shadow with #A87EEA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A87EEA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A87EEA, Direction=45, Strength=4)">Text</p>
This text has shadow with #A87EEA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A87EEA; -webkit-box-shadow: 1px 1px 3px 2px #A87EEA; box-shadow: 1px 1px 3px 2px #A87EEA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A87EEA; -webkit-box-shadow: 1px 1px 3px 2px #A87EEA; box-shadow:1px 1px 3px 2px #A87EEA;">
Div content here</div>
This text has color #A87EEA on black background.
This text has color #A87EEA on white background.
This text has black color on #A87EEA background.
This text has white color on #A87EEA background.