HEX: #A478C6
RGB: (164,120,198)
#A478C6 contains mainly red and blue colors. Web safe color of #A478C6 is #9966CC (or #96C).
#A478C6 color RGB value is (164,120,198).
RGB: (164,120,198) (64%,47%,78%)
R 164 of 255 = 64%
G 120 of 255 = 47%
B 198 of 255 = 78%
R + G + B ~ 63%. #A478C6 is quite light color.
R + G + B =
164 + 120 + 198 = 482 (100%)
R 164 of 482 ~ 34.02%
G 120 of 482 ~ 24.9%
B 198 of 482 ~ 41.08%
#A478C6 color CMYK value is (17,39,0,22).
CMYK: (17,39,0,22) C17M39Y0K22 (17%,39%,0%,22%) (0.17/0.39/0.00/0.22)
A4 | 78 | C6 | |
---|---|---|---|
RGB | 164 | 120 | 198 |
HSL | 274° | 40.63% | 62.35% |
HSB/HSV | 274° | 39.39% | 77.65% |
CMYK | 17.17% | 39.39% | 0.00% |
22.35% |
HEX | A4 | 78 | C6 |
Decimal | 164 | 120 | 198 |
Binary | 10100100 | 1111000 | 11000110 |
Octal | 244 | 170 | 306 |
Examples of css and html codes for elements with #A478C6 color. Also use rgb(164,120,198) instead hex code.
.myTextColor { color: #A478C6; }
<p style="color:#A478C6">This sample text font color is #A478C6.</p>
This text font color is #A478C6.
.myBgColor { background-color: #A478C6; }
<div style="background-color:#A478C6">Inner text</div>
This div background color is #A478C6.
.myBorderColor { border: 1px solid #A478C6; }
<div style="border:3px solid #A478C6">Div</div>
This div border color is #A478C6.
.myOpacity80 { color: #A478C6; opacity: 0.8; }
<p style="color:#A478C6;opacity:0.8;">80%</p>
Text with #A478C6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A478C6;}
<p style="text-shadow: 3px 3px 1px #A478C6">Text here.</p>
This text has shadow with #A478C6 color.
.textShadow {text-shadow: 3px 3px 1px #A478C6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A478C6, 5px 5px 20px red">Text here.</p>
This text has shadow with #A478C6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A478C6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A478C6, Direction=45, Strength=4)">Text</p>
This text has shadow with #A478C6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A478C6; -webkit-box-shadow: 1px 1px 3px 2px #A478C6; box-shadow: 1px 1px 3px 2px #A478C6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A478C6; -webkit-box-shadow: 1px 1px 3px 2px #A478C6; box-shadow:1px 1px 3px 2px #A478C6;">
Div content here</div>
This text has color #A478C6 on black background.
This text has color #A478C6 on white background.
This text has black color on #A478C6 background.
This text has white color on #A478C6 background.