HEX: #A875DB
RGB: (168,117,219)
#A875DB contains mainly red and blue colors. Web safe color of #A875DB is #9966CC (or #96C).
#A875DB color RGB value is (168,117,219).
RGB: (168,117,219) (66%,46%,86%)
R 168 of 255 = 66%
G 117 of 255 = 46%
B 219 of 255 = 86%
R + G + B ~ 66%. #A875DB is quite light color.
R + G + B =
168 + 117 + 219 = 504 (100%)
R 168 of 504 ~ 33.33%
G 117 of 504 ~ 23.21%
B 219 of 504 ~ 43.45%
#A875DB color CMYK value is (23,47,0,14).
CMYK: (23,47,0,14) C23M47Y0K14 (23%,47%,0%,14%) (0.23/0.47/0.00/0.14)
A8 | 75 | DB | |
---|---|---|---|
RGB | 168 | 117 | 219 |
HSL | 270° | 58.62% | 65.88% |
HSB/HSV | 270° | 46.58% | 85.88% |
CMYK | 23.29% | 46.58% | 0.00% |
14.12% |
HEX | A8 | 75 | DB |
Decimal | 168 | 117 | 219 |
Binary | 10101000 | 1110101 | 11011011 |
Octal | 250 | 165 | 333 |
Examples of css and html codes for elements with #A875DB color. Also use rgb(168,117,219) instead hex code.
.myTextColor { color: #A875DB; }
<p style="color:#A875DB">This sample text font color is #A875DB.</p>
This text font color is #A875DB.
.myBgColor { background-color: #A875DB; }
<div style="background-color:#A875DB">Inner text</div>
This div background color is #A875DB.
.myBorderColor { border: 1px solid #A875DB; }
<div style="border:3px solid #A875DB">Div</div>
This div border color is #A875DB.
.myOpacity80 { color: #A875DB; opacity: 0.8; }
<p style="color:#A875DB;opacity:0.8;">80%</p>
Text with #A875DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A875DB;}
<p style="text-shadow: 3px 3px 1px #A875DB">Text here.</p>
This text has shadow with #A875DB color.
.textShadow {text-shadow: 3px 3px 1px #A875DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A875DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #A875DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A875DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A875DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #A875DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A875DB; -webkit-box-shadow: 1px 1px 3px 2px #A875DB; box-shadow: 1px 1px 3px 2px #A875DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A875DB; -webkit-box-shadow: 1px 1px 3px 2px #A875DB; box-shadow:1px 1px 3px 2px #A875DB;">
Div content here</div>
This text has color #A875DB on black background.
This text has color #A875DB on white background.
This text has black color on #A875DB background.
This text has white color on #A875DB background.