HEX: #A797E0
RGB: (167,151,224)
#A797E0 contains mainly red and blue colors. Web safe color of #A797E0 is #9999CC (or #99C).
#A797E0 color RGB value is (167,151,224).
RGB: (167,151,224) (65%,59%,88%)
R 167 of 255 = 65%
G 151 of 255 = 59%
B 224 of 255 = 88%
R + G + B ~ 71%. #A797E0 is quite light color.
R + G + B =
167 + 151 + 224 = 542 (100%)
R 167 of 542 ~ 30.81%
G 151 of 542 ~ 27.86%
B 224 of 542 ~ 41.33%
#A797E0 color CMYK value is (25,33,0,12).
CMYK: (25,33,0,12) C25M33Y0K12 (25%,33%,0%,12%) (0.25/0.33/0.00/0.12)
A7 | 97 | E0 | |
---|---|---|---|
RGB | 167 | 151 | 224 |
HSL | 253° | 54.07% | 73.53% |
HSB/HSV | 253° | 32.59% | 87.84% |
CMYK | 25.45% | 32.59% | 0.00% |
12.16% |
HEX | A7 | 97 | E0 |
Decimal | 167 | 151 | 224 |
Binary | 10100111 | 10010111 | 11100000 |
Octal | 247 | 227 | 340 |
Examples of css and html codes for elements with #A797E0 color. Also use rgb(167,151,224) instead hex code.
.myTextColor { color: #A797E0; }
<p style="color:#A797E0">This sample text font color is #A797E0.</p>
This text font color is #A797E0.
.myBgColor { background-color: #A797E0; }
<div style="background-color:#A797E0">Inner text</div>
This div background color is #A797E0.
.myBorderColor { border: 1px solid #A797E0; }
<div style="border:3px solid #A797E0">Div</div>
This div border color is #A797E0.
.myOpacity80 { color: #A797E0; opacity: 0.8; }
<p style="color:#A797E0;opacity:0.8;">80%</p>
Text with #A797E0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A797E0;}
<p style="text-shadow: 3px 3px 1px #A797E0">Text here.</p>
This text has shadow with #A797E0 color.
.textShadow {text-shadow: 3px 3px 1px #A797E0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A797E0, 5px 5px 20px red">Text here.</p>
This text has shadow with #A797E0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A797E0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A797E0, Direction=45, Strength=4)">Text</p>
This text has shadow with #A797E0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A797E0; -webkit-box-shadow: 1px 1px 3px 2px #A797E0; box-shadow: 1px 1px 3px 2px #A797E0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A797E0; -webkit-box-shadow: 1px 1px 3px 2px #A797E0; box-shadow:1px 1px 3px 2px #A797E0;">
Div content here</div>
This text has color #A797E0 on black background.
This text has color #A797E0 on white background.
This text has black color on #A797E0 background.
This text has white color on #A797E0 background.