HEX: #AB80CC
RGB: (171,128,204)
#AB80CC contains mainly red and blue colors. Web safe color of #AB80CC is #9966CC (or #96C).
#AB80CC color RGB value is (171,128,204).
RGB: (171,128,204) (67%,50%,80%)
R 171 of 255 = 67%
G 128 of 255 = 50%
B 204 of 255 = 80%
R + G + B ~ 66%. #AB80CC is quite light color.
R + G + B =
171 + 128 + 204 = 503 (100%)
R 171 of 503 ~ 34%
G 128 of 503 ~ 25.45%
B 204 of 503 ~ 40.56%
#AB80CC color CMYK value is (16,37,0,20).
CMYK: (16,37,0,20) C16M37Y0K20 (16%,37%,0%,20%) (0.16/0.37/0.00/0.20)
AB | 80 | CC | |
---|---|---|---|
RGB | 171 | 128 | 204 |
HSL | 274° | 42.70% | 65.10% |
HSB/HSV | 274° | 37.25% | 80.00% |
CMYK | 16.18% | 37.25% | 0.00% |
20.00% |
HEX | AB | 80 | CC |
Decimal | 171 | 128 | 204 |
Binary | 10101011 | 10000000 | 11001100 |
Octal | 253 | 200 | 314 |
Examples of css and html codes for elements with #AB80CC color. Also use rgb(171,128,204) instead hex code.
.myTextColor { color: #AB80CC; }
<p style="color:#AB80CC">This sample text font color is #AB80CC.</p>
This text font color is #AB80CC.
.myBgColor { background-color: #AB80CC; }
<div style="background-color:#AB80CC">Inner text</div>
This div background color is #AB80CC.
.myBorderColor { border: 1px solid #AB80CC; }
<div style="border:3px solid #AB80CC">Div</div>
This div border color is #AB80CC.
.myOpacity80 { color: #AB80CC; opacity: 0.8; }
<p style="color:#AB80CC;opacity:0.8;">80%</p>
Text with #AB80CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB80CC;}
<p style="text-shadow: 3px 3px 1px #AB80CC">Text here.</p>
This text has shadow with #AB80CC color.
.textShadow {text-shadow: 3px 3px 1px #AB80CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB80CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB80CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB80CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB80CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB80CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB80CC; -webkit-box-shadow: 1px 1px 3px 2px #AB80CC; box-shadow: 1px 1px 3px 2px #AB80CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB80CC; -webkit-box-shadow: 1px 1px 3px 2px #AB80CC; box-shadow:1px 1px 3px 2px #AB80CC;">
Div content here</div>
This text has color #AB80CC on black background.
This text has color #AB80CC on white background.
This text has black color on #AB80CC background.
This text has white color on #AB80CC background.