HEX: #AB7CCD
RGB: (171,124,205)
#AB7CCD contains mainly red and blue colors. Web safe color of #AB7CCD is #9966CC (or #96C).
#AB7CCD color RGB value is (171,124,205).
RGB: (171,124,205) (67%,49%,80%)
R 171 of 255 = 67%
G 124 of 255 = 49%
B 205 of 255 = 80%
R + G + B ~ 65%. #AB7CCD is quite light color.
R + G + B =
171 + 124 + 205 = 500 (100%)
R 171 of 500 ~ 34.2%
G 124 of 500 ~ 24.8%
B 205 of 500 ~ 41%
#AB7CCD color CMYK value is (17,40,0,20).
CMYK: (17,40,0,20) C17M40Y0K20 (17%,40%,0%,20%) (0.17/0.40/0.00/0.20)
AB | 7C | CD | |
---|---|---|---|
RGB | 171 | 124 | 205 |
HSL | 275° | 44.75% | 64.51% |
HSB/HSV | 275° | 39.51% | 80.39% |
CMYK | 16.59% | 39.51% | 0.00% |
19.61% |
HEX | AB | 7C | CD |
Decimal | 171 | 124 | 205 |
Binary | 10101011 | 1111100 | 11001101 |
Octal | 253 | 174 | 315 |
Examples of css and html codes for elements with #AB7CCD color. Also use rgb(171,124,205) instead hex code.
.myTextColor { color: #AB7CCD; }
<p style="color:#AB7CCD">This sample text font color is #AB7CCD.</p>
This text font color is #AB7CCD.
.myBgColor { background-color: #AB7CCD; }
<div style="background-color:#AB7CCD">Inner text</div>
This div background color is #AB7CCD.
.myBorderColor { border: 1px solid #AB7CCD; }
<div style="border:3px solid #AB7CCD">Div</div>
This div border color is #AB7CCD.
.myOpacity80 { color: #AB7CCD; opacity: 0.8; }
<p style="color:#AB7CCD;opacity:0.8;">80%</p>
Text with #AB7CCD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB7CCD;}
<p style="text-shadow: 3px 3px 1px #AB7CCD">Text here.</p>
This text has shadow with #AB7CCD color.
.textShadow {text-shadow: 3px 3px 1px #AB7CCD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB7CCD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB7CCD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB7CCD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB7CCD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB7CCD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB7CCD; -webkit-box-shadow: 1px 1px 3px 2px #AB7CCD; box-shadow: 1px 1px 3px 2px #AB7CCD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB7CCD; -webkit-box-shadow: 1px 1px 3px 2px #AB7CCD; box-shadow:1px 1px 3px 2px #AB7CCD;">
Div content here</div>
This text has color #AB7CCD on black background.
This text has color #AB7CCD on white background.
This text has black color on #AB7CCD background.
This text has white color on #AB7CCD background.