HEX: #A387CC
RGB: (163,135,204)
#A387CC contains mainly red and blue colors. Web safe color of #A387CC is #9999CC (or #99C).
#A387CC color RGB value is (163,135,204).
RGB: (163,135,204) (64%,53%,80%)
R 163 of 255 = 64%
G 135 of 255 = 53%
B 204 of 255 = 80%
R + G + B ~ 66%. #A387CC is quite light color.
R + G + B =
163 + 135 + 204 = 502 (100%)
R 163 of 502 ~ 32.47%
G 135 of 502 ~ 26.89%
B 204 of 502 ~ 40.64%
#A387CC color CMYK value is (20,34,0,20).
CMYK: (20,34,0,20) C20M34Y0K20 (20%,34%,0%,20%) (0.20/0.34/0.00/0.20)
A3 | 87 | CC | |
---|---|---|---|
RGB | 163 | 135 | 204 |
HSL | 264° | 40.35% | 66.47% |
HSB/HSV | 264° | 33.82% | 80.00% |
CMYK | 20.10% | 33.82% | 0.00% |
20.00% |
HEX | A3 | 87 | CC |
Decimal | 163 | 135 | 204 |
Binary | 10100011 | 10000111 | 11001100 |
Octal | 243 | 207 | 314 |
Examples of css and html codes for elements with #A387CC color. Also use rgb(163,135,204) instead hex code.
.myTextColor { color: #A387CC; }
<p style="color:#A387CC">This sample text font color is #A387CC.</p>
This text font color is #A387CC.
.myBgColor { background-color: #A387CC; }
<div style="background-color:#A387CC">Inner text</div>
This div background color is #A387CC.
.myBorderColor { border: 1px solid #A387CC; }
<div style="border:3px solid #A387CC">Div</div>
This div border color is #A387CC.
.myOpacity80 { color: #A387CC; opacity: 0.8; }
<p style="color:#A387CC;opacity:0.8;">80%</p>
Text with #A387CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A387CC;}
<p style="text-shadow: 3px 3px 1px #A387CC">Text here.</p>
This text has shadow with #A387CC color.
.textShadow {text-shadow: 3px 3px 1px #A387CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A387CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #A387CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A387CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A387CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #A387CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A387CC; -webkit-box-shadow: 1px 1px 3px 2px #A387CC; box-shadow: 1px 1px 3px 2px #A387CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A387CC; -webkit-box-shadow: 1px 1px 3px 2px #A387CC; box-shadow:1px 1px 3px 2px #A387CC;">
Div content here</div>
This text has color #A387CC on black background.
This text has color #A387CC on white background.
This text has black color on #A387CC background.
This text has white color on #A387CC background.