HEX: #AB7DCF
RGB: (171,125,207)
#AB7DCF contains mainly red and blue colors. Web safe color of #AB7DCF is #9966CC (or #96C).
#AB7DCF color RGB value is (171,125,207).
RGB: (171,125,207) (67%,49%,81%)
R 171 of 255 = 67%
G 125 of 255 = 49%
B 207 of 255 = 81%
R + G + B ~ 66%. #AB7DCF is quite light color.
R + G + B =
171 + 125 + 207 = 503 (100%)
R 171 of 503 ~ 34%
G 125 of 503 ~ 24.85%
B 207 of 503 ~ 41.15%
#AB7DCF color CMYK value is (17,40,0,19).
CMYK: (17,40,0,19) C17M40Y0K19 (17%,40%,0%,19%) (0.17/0.40/0.00/0.19)
AB | 7D | CF | |
---|---|---|---|
RGB | 171 | 125 | 207 |
HSL | 274° | 46.07% | 65.10% |
HSB/HSV | 274° | 39.61% | 81.18% |
CMYK | 17.39% | 39.61% | 0.00% |
18.82% |
HEX | AB | 7D | CF |
Decimal | 171 | 125 | 207 |
Binary | 10101011 | 1111101 | 11001111 |
Octal | 253 | 175 | 317 |
Examples of css and html codes for elements with #AB7DCF color. Also use rgb(171,125,207) instead hex code.
.myTextColor { color: #AB7DCF; }
<p style="color:#AB7DCF">This sample text font color is #AB7DCF.</p>
This text font color is #AB7DCF.
.myBgColor { background-color: #AB7DCF; }
<div style="background-color:#AB7DCF">Inner text</div>
This div background color is #AB7DCF.
.myBorderColor { border: 1px solid #AB7DCF; }
<div style="border:3px solid #AB7DCF">Div</div>
This div border color is #AB7DCF.
.myOpacity80 { color: #AB7DCF; opacity: 0.8; }
<p style="color:#AB7DCF;opacity:0.8;">80%</p>
Text with #AB7DCF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB7DCF;}
<p style="text-shadow: 3px 3px 1px #AB7DCF">Text here.</p>
This text has shadow with #AB7DCF color.
.textShadow {text-shadow: 3px 3px 1px #AB7DCF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB7DCF, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB7DCF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB7DCF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB7DCF, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB7DCF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB7DCF; -webkit-box-shadow: 1px 1px 3px 2px #AB7DCF; box-shadow: 1px 1px 3px 2px #AB7DCF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB7DCF; -webkit-box-shadow: 1px 1px 3px 2px #AB7DCF; box-shadow:1px 1px 3px 2px #AB7DCF;">
Div content here</div>
This text has color #AB7DCF on black background.
This text has color #AB7DCF on white background.
This text has black color on #AB7DCF background.
This text has white color on #AB7DCF background.