HEX: #A997DB
RGB: (169,151,219)
#A997DB contains mainly red and blue colors. Web safe color of #A997DB is #9999CC (or #99C).
#A997DB color RGB value is (169,151,219).
RGB: (169,151,219) (66%,59%,86%)
R 169 of 255 = 66%
G 151 of 255 = 59%
B 219 of 255 = 86%
R + G + B ~ 70%. #A997DB is quite light color.
R + G + B =
169 + 151 + 219 = 539 (100%)
R 169 of 539 ~ 31.35%
G 151 of 539 ~ 28.01%
B 219 of 539 ~ 40.63%
#A997DB color CMYK value is (23,31,0,14).
CMYK: (23,31,0,14) C23M31Y0K14 (23%,31%,0%,14%) (0.23/0.31/0.00/0.14)
A9 | 97 | DB | |
---|---|---|---|
RGB | 169 | 151 | 219 |
HSL | 256° | 48.57% | 72.55% |
HSB/HSV | 256° | 31.05% | 85.88% |
CMYK | 22.83% | 31.05% | 0.00% |
14.12% |
HEX | A9 | 97 | DB |
Decimal | 169 | 151 | 219 |
Binary | 10101001 | 10010111 | 11011011 |
Octal | 251 | 227 | 333 |
Examples of css and html codes for elements with #A997DB color. Also use rgb(169,151,219) instead hex code.
.myTextColor { color: #A997DB; }
<p style="color:#A997DB">This sample text font color is #A997DB.</p>
This text font color is #A997DB.
.myBgColor { background-color: #A997DB; }
<div style="background-color:#A997DB">Inner text</div>
This div background color is #A997DB.
.myBorderColor { border: 1px solid #A997DB; }
<div style="border:3px solid #A997DB">Div</div>
This div border color is #A997DB.
.myOpacity80 { color: #A997DB; opacity: 0.8; }
<p style="color:#A997DB;opacity:0.8;">80%</p>
Text with #A997DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A997DB;}
<p style="text-shadow: 3px 3px 1px #A997DB">Text here.</p>
This text has shadow with #A997DB color.
.textShadow {text-shadow: 3px 3px 1px #A997DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A997DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #A997DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A997DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A997DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #A997DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A997DB; -webkit-box-shadow: 1px 1px 3px 2px #A997DB; box-shadow: 1px 1px 3px 2px #A997DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A997DB; -webkit-box-shadow: 1px 1px 3px 2px #A997DB; box-shadow:1px 1px 3px 2px #A997DB;">
Div content here</div>
This text has color #A997DB on black background.
This text has color #A997DB on white background.
This text has black color on #A997DB background.
This text has white color on #A997DB background.