HEX: #A78ECC
RGB: (167,142,204)
#A78ECC contains mainly red and blue colors. Web safe color of #A78ECC is #9999CC (or #99C).
#A78ECC color RGB value is (167,142,204).
RGB: (167,142,204) (65%,56%,80%)
R 167 of 255 = 65%
G 142 of 255 = 56%
B 204 of 255 = 80%
R + G + B ~ 67%. #A78ECC is quite light color.
R + G + B =
167 + 142 + 204 = 513 (100%)
R 167 of 513 ~ 32.55%
G 142 of 513 ~ 27.68%
B 204 of 513 ~ 39.77%
#A78ECC color CMYK value is (18,30,0,20).
CMYK: (18,30,0,20) C18M30Y0K20 (18%,30%,0%,20%) (0.18/0.30/0.00/0.20)
A7 | 8E | CC | |
---|---|---|---|
RGB | 167 | 142 | 204 |
HSL | 264° | 37.80% | 67.84% |
HSB/HSV | 264° | 30.39% | 80.00% |
CMYK | 18.14% | 30.39% | 0.00% |
20.00% |
HEX | A7 | 8E | CC |
Decimal | 167 | 142 | 204 |
Binary | 10100111 | 10001110 | 11001100 |
Octal | 247 | 216 | 314 |
Examples of css and html codes for elements with #A78ECC color. Also use rgb(167,142,204) instead hex code.
.myTextColor { color: #A78ECC; }
<p style="color:#A78ECC">This sample text font color is #A78ECC.</p>
This text font color is #A78ECC.
.myBgColor { background-color: #A78ECC; }
<div style="background-color:#A78ECC">Inner text</div>
This div background color is #A78ECC.
.myBorderColor { border: 1px solid #A78ECC; }
<div style="border:3px solid #A78ECC">Div</div>
This div border color is #A78ECC.
.myOpacity80 { color: #A78ECC; opacity: 0.8; }
<p style="color:#A78ECC;opacity:0.8;">80%</p>
Text with #A78ECC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A78ECC;}
<p style="text-shadow: 3px 3px 1px #A78ECC">Text here.</p>
This text has shadow with #A78ECC color.
.textShadow {text-shadow: 3px 3px 1px #A78ECC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A78ECC, 5px 5px 20px red">Text here.</p>
This text has shadow with #A78ECC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A78ECC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A78ECC, Direction=45, Strength=4)">Text</p>
This text has shadow with #A78ECC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A78ECC; -webkit-box-shadow: 1px 1px 3px 2px #A78ECC; box-shadow: 1px 1px 3px 2px #A78ECC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A78ECC; -webkit-box-shadow: 1px 1px 3px 2px #A78ECC; box-shadow:1px 1px 3px 2px #A78ECC;">
Div content here</div>
This text has color #A78ECC on black background.
This text has color #A78ECC on white background.
This text has black color on #A78ECC background.
This text has white color on #A78ECC background.