HEX: #A597F6
RGB: (165,151,246)
#A597F6 contains mainly blue color. Web safe color of #A597F6 is #9999FF (or #99F).
#A597F6 color RGB value is (165,151,246).
RGB: (165,151,246) (65%,59%,96%)
R 165 of 255 = 65%
G 151 of 255 = 59%
B 246 of 255 = 96%
R + G + B ~ 73%. #A597F6 is quite light color.
R + G + B =
165 + 151 + 246 = 562 (100%)
R 165 of 562 ~ 29.36%
G 151 of 562 ~ 26.87%
B 246 of 562 ~ 43.77%
#A597F6 color CMYK value is (33,39,0,4).
CMYK: (33,39,0,4) C33M39Y0K4 (33%,39%,0%,4%) (0.33/0.39/0.00/0.04)
A5 | 97 | F6 | |
---|---|---|---|
RGB | 165 | 151 | 246 |
HSL | 249° | 84.07% | 77.84% |
HSB/HSV | 249° | 38.62% | 96.47% |
CMYK | 32.93% | 38.62% | 0.00% |
3.53% |
HEX | A5 | 97 | F6 |
Decimal | 165 | 151 | 246 |
Binary | 10100101 | 10010111 | 11110110 |
Octal | 245 | 227 | 366 |
Examples of css and html codes for elements with #A597F6 color. Also use rgb(165,151,246) instead hex code.
.myTextColor { color: #A597F6; }
<p style="color:#A597F6">This sample text font color is #A597F6.</p>
This text font color is #A597F6.
.myBgColor { background-color: #A597F6; }
<div style="background-color:#A597F6">Inner text</div>
This div background color is #A597F6.
.myBorderColor { border: 1px solid #A597F6; }
<div style="border:3px solid #A597F6">Div</div>
This div border color is #A597F6.
.myOpacity80 { color: #A597F6; opacity: 0.8; }
<p style="color:#A597F6;opacity:0.8;">80%</p>
Text with #A597F6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A597F6;}
<p style="text-shadow: 3px 3px 1px #A597F6">Text here.</p>
This text has shadow with #A597F6 color.
.textShadow {text-shadow: 3px 3px 1px #A597F6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A597F6, 5px 5px 20px red">Text here.</p>
This text has shadow with #A597F6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A597F6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A597F6, Direction=45, Strength=4)">Text</p>
This text has shadow with #A597F6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A597F6; -webkit-box-shadow: 1px 1px 3px 2px #A597F6; box-shadow: 1px 1px 3px 2px #A597F6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A597F6; -webkit-box-shadow: 1px 1px 3px 2px #A597F6; box-shadow:1px 1px 3px 2px #A597F6;">
Div content here</div>
This text has color #A597F6 on black background.
This text has color #A597F6 on white background.
This text has black color on #A597F6 background.
This text has white color on #A597F6 background.