HEX: #A387F6
RGB: (163,135,246)
#A387F6 contains mainly blue color. Web safe color of #A387F6 is #9999FF (or #99F).
#A387F6 color RGB value is (163,135,246).
RGB: (163,135,246) (64%,53%,96%)
R 163 of 255 = 64%
G 135 of 255 = 53%
B 246 of 255 = 96%
R + G + B ~ 71%. #A387F6 is quite light color.
R + G + B =
163 + 135 + 246 = 544 (100%)
R 163 of 544 ~ 29.96%
G 135 of 544 ~ 24.82%
B 246 of 544 ~ 45.22%
#A387F6 color CMYK value is (34,45,0,4).
CMYK: (34,45,0,4) C34M45Y0K4 (34%,45%,0%,4%) (0.34/0.45/0.00/0.04)
A3 | 87 | F6 | |
---|---|---|---|
RGB | 163 | 135 | 246 |
HSL | 255° | 86.05% | 74.71% |
HSB/HSV | 255° | 45.12% | 96.47% |
CMYK | 33.74% | 45.12% | 0.00% |
3.53% |
HEX | A3 | 87 | F6 |
Decimal | 163 | 135 | 246 |
Binary | 10100011 | 10000111 | 11110110 |
Octal | 243 | 207 | 366 |
Examples of css and html codes for elements with #A387F6 color. Also use rgb(163,135,246) instead hex code.
.myTextColor { color: #A387F6; }
<p style="color:#A387F6">This sample text font color is #A387F6.</p>
This text font color is #A387F6.
.myBgColor { background-color: #A387F6; }
<div style="background-color:#A387F6">Inner text</div>
This div background color is #A387F6.
.myBorderColor { border: 1px solid #A387F6; }
<div style="border:3px solid #A387F6">Div</div>
This div border color is #A387F6.
.myOpacity80 { color: #A387F6; opacity: 0.8; }
<p style="color:#A387F6;opacity:0.8;">80%</p>
Text with #A387F6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A387F6;}
<p style="text-shadow: 3px 3px 1px #A387F6">Text here.</p>
This text has shadow with #A387F6 color.
.textShadow {text-shadow: 3px 3px 1px #A387F6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A387F6, 5px 5px 20px red">Text here.</p>
This text has shadow with #A387F6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A387F6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A387F6, Direction=45, Strength=4)">Text</p>
This text has shadow with #A387F6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A387F6; -webkit-box-shadow: 1px 1px 3px 2px #A387F6; box-shadow: 1px 1px 3px 2px #A387F6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A387F6; -webkit-box-shadow: 1px 1px 3px 2px #A387F6; box-shadow:1px 1px 3px 2px #A387F6;">
Div content here</div>
This text has color #A387F6 on black background.
This text has color #A387F6 on white background.
This text has black color on #A387F6 background.
This text has white color on #A387F6 background.