HEX: #AB60D6
RGB: (171,96,214)
#AB60D6 contains mainly red and blue colors. Web safe color of #AB60D6 is #9966CC (or #96C).
#AB60D6 color RGB value is (171,96,214).
RGB: (171,96,214) (67%,38%,84%)
R 171 of 255 = 67%
G 96 of 255 = 38%
B 214 of 255 = 84%
R + G + B ~ 63%. #AB60D6 is quite light color.
R + G + B =
171 + 96 + 214 = 481 (100%)
R 171 of 481 ~ 35.55%
G 96 of 481 ~ 19.96%
B 214 of 481 ~ 44.49%
#AB60D6 color CMYK value is (20,55,0,16).
CMYK: (20,55,0,16) C20M55Y0K16 (20%,55%,0%,16%) (0.20/0.55/0.00/0.16)
AB | 60 | D6 | |
---|---|---|---|
RGB | 171 | 96 | 214 |
HSL | 278° | 59.00% | 60.78% |
HSB/HSV | 278° | 55.14% | 83.92% |
CMYK | 20.09% | 55.14% | 0.00% |
16.08% |
HEX | AB | 60 | D6 |
Decimal | 171 | 96 | 214 |
Binary | 10101011 | 1100000 | 11010110 |
Octal | 253 | 140 | 326 |
Examples of css and html codes for elements with #AB60D6 color. Also use rgb(171,96,214) instead hex code.
.myTextColor { color: #AB60D6; }
<p style="color:#AB60D6">This sample text font color is #AB60D6.</p>
This text font color is #AB60D6.
.myBgColor { background-color: #AB60D6; }
<div style="background-color:#AB60D6">Inner text</div>
This div background color is #AB60D6.
.myBorderColor { border: 1px solid #AB60D6; }
<div style="border:3px solid #AB60D6">Div</div>
This div border color is #AB60D6.
.myOpacity80 { color: #AB60D6; opacity: 0.8; }
<p style="color:#AB60D6;opacity:0.8;">80%</p>
Text with #AB60D6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB60D6;}
<p style="text-shadow: 3px 3px 1px #AB60D6">Text here.</p>
This text has shadow with #AB60D6 color.
.textShadow {text-shadow: 3px 3px 1px #AB60D6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB60D6, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB60D6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB60D6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB60D6, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB60D6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB60D6; -webkit-box-shadow: 1px 1px 3px 2px #AB60D6; box-shadow: 1px 1px 3px 2px #AB60D6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB60D6; -webkit-box-shadow: 1px 1px 3px 2px #AB60D6; box-shadow:1px 1px 3px 2px #AB60D6;">
Div content here</div>
This text has color #AB60D6 on black background.
This text has color #AB60D6 on white background.
This text has black color on #AB60D6 background.
This text has white color on #AB60D6 background.