HEX: #A790C6
RGB: (167,144,198)
#A790C6 contains red, green and blue colors in about the same proportion. Web safe color of #A790C6 is #9999CC (or #99C).
#A790C6 color RGB value is (167,144,198).
RGB: (167,144,198) (65%,56%,78%)
R 167 of 255 = 65%
G 144 of 255 = 56%
B 198 of 255 = 78%
R + G + B ~ 66%. #A790C6 is quite light color.
R + G + B =
167 + 144 + 198 = 509 (100%)
R 167 of 509 ~ 32.81%
G 144 of 509 ~ 28.29%
B 198 of 509 ~ 38.9%
#A790C6 color CMYK value is (16,27,0,22).
CMYK: (16,27,0,22) C16M27Y0K22 (16%,27%,0%,22%) (0.16/0.27/0.00/0.22)
A7 | 90 | C6 | |
---|---|---|---|
RGB | 167 | 144 | 198 |
HSL | 266° | 32.14% | 67.06% |
HSB/HSV | 266° | 27.27% | 77.65% |
CMYK | 15.66% | 27.27% | 0.00% |
22.35% |
HEX | A7 | 90 | C6 |
Decimal | 167 | 144 | 198 |
Binary | 10100111 | 10010000 | 11000110 |
Octal | 247 | 220 | 306 |
Examples of css and html codes for elements with #A790C6 color. Also use rgb(167,144,198) instead hex code.
.myTextColor { color: #A790C6; }
<p style="color:#A790C6">This sample text font color is #A790C6.</p>
This text font color is #A790C6.
.myBgColor { background-color: #A790C6; }
<div style="background-color:#A790C6">Inner text</div>
This div background color is #A790C6.
.myBorderColor { border: 1px solid #A790C6; }
<div style="border:3px solid #A790C6">Div</div>
This div border color is #A790C6.
.myOpacity80 { color: #A790C6; opacity: 0.8; }
<p style="color:#A790C6;opacity:0.8;">80%</p>
Text with #A790C6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A790C6;}
<p style="text-shadow: 3px 3px 1px #A790C6">Text here.</p>
This text has shadow with #A790C6 color.
.textShadow {text-shadow: 3px 3px 1px #A790C6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A790C6, 5px 5px 20px red">Text here.</p>
This text has shadow with #A790C6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A790C6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A790C6, Direction=45, Strength=4)">Text</p>
This text has shadow with #A790C6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A790C6; -webkit-box-shadow: 1px 1px 3px 2px #A790C6; box-shadow: 1px 1px 3px 2px #A790C6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A790C6; -webkit-box-shadow: 1px 1px 3px 2px #A790C6; box-shadow:1px 1px 3px 2px #A790C6;">
Div content here</div>
This text has color #A790C6 on black background.
This text has color #A790C6 on white background.
This text has black color on #A790C6 background.
This text has white color on #A790C6 background.