HEX: #AB78AD
RGB: (171,120,173)
#AB78AD contains red, green and blue colors in about the same proportion. Web safe color of #AB78AD is #996699 (or #969).
#AB78AD color RGB value is (171,120,173).
RGB: (171,120,173) (67%,47%,68%)
R 171 of 255 = 67%
G 120 of 255 = 47%
B 173 of 255 = 68%
R + G + B ~ 61%. #AB78AD is quite light color.
R + G + B =
171 + 120 + 173 = 464 (100%)
R 171 of 464 ~ 36.85%
G 120 of 464 ~ 25.86%
B 173 of 464 ~ 37.28%
#AB78AD color CMYK value is (1,31,0,32).
CMYK: (1,31,0,32) C1M31Y0K32 (1%,31%,0%,32%) (0.01/0.31/0.00/0.32)
AB | 78 | AD | |
---|---|---|---|
RGB | 171 | 120 | 173 |
HSL | 298° | 24.42% | 57.45% |
HSB/HSV | 298° | 30.64% | 67.84% |
CMYK | 1.16% | 30.64% | 0.00% |
32.16% |
HEX | AB | 78 | AD |
Decimal | 171 | 120 | 173 |
Binary | 10101011 | 1111000 | 10101101 |
Octal | 253 | 170 | 255 |
Examples of css and html codes for elements with #AB78AD color. Also use rgb(171,120,173) instead hex code.
.myTextColor { color: #AB78AD; }
<p style="color:#AB78AD">This sample text font color is #AB78AD.</p>
This text font color is #AB78AD.
.myBgColor { background-color: #AB78AD; }
<div style="background-color:#AB78AD">Inner text</div>
This div background color is #AB78AD.
.myBorderColor { border: 1px solid #AB78AD; }
<div style="border:3px solid #AB78AD">Div</div>
This div border color is #AB78AD.
.myOpacity80 { color: #AB78AD; opacity: 0.8; }
<p style="color:#AB78AD;opacity:0.8;">80%</p>
Text with #AB78AD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB78AD;}
<p style="text-shadow: 3px 3px 1px #AB78AD">Text here.</p>
This text has shadow with #AB78AD color.
.textShadow {text-shadow: 3px 3px 1px #AB78AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB78AD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB78AD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB78AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB78AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB78AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB78AD; -webkit-box-shadow: 1px 1px 3px 2px #AB78AD; box-shadow: 1px 1px 3px 2px #AB78AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB78AD; -webkit-box-shadow: 1px 1px 3px 2px #AB78AD; box-shadow:1px 1px 3px 2px #AB78AD;">
Div content here</div>
This text has color #AB78AD on black background.
This text has color #AB78AD on white background.
This text has black color on #AB78AD background.
This text has white color on #AB78AD background.