HEX: #AB9CBF
RGB: (171,156,191)
#AB9CBF contains red, green and blue colors in about the same proportion. Web safe color of #AB9CBF is #9999CC (or #99C).
#AB9CBF color RGB value is (171,156,191).
RGB: (171,156,191) (67%,61%,75%)
R 171 of 255 = 67%
G 156 of 255 = 61%
B 191 of 255 = 75%
R + G + B ~ 68%. #AB9CBF is quite light color.
R + G + B =
171 + 156 + 191 = 518 (100%)
R 171 of 518 ~ 33.01%
G 156 of 518 ~ 30.12%
B 191 of 518 ~ 36.87%
#AB9CBF color CMYK value is (10,18,0,25).
CMYK: (10,18,0,25) C10M18Y0K25 (10%,18%,0%,25%) (0.10/0.18/0.00/0.25)
AB | 9C | BF | |
---|---|---|---|
RGB | 171 | 156 | 191 |
HSL | 266° | 21.47% | 68.04% |
HSB/HSV | 266° | 18.32% | 74.90% |
CMYK | 10.47% | 18.32% | 0.00% |
25.10% |
HEX | AB | 9C | BF |
Decimal | 171 | 156 | 191 |
Binary | 10101011 | 10011100 | 10111111 |
Octal | 253 | 234 | 277 |
Examples of css and html codes for elements with #AB9CBF color. Also use rgb(171,156,191) instead hex code.
.myTextColor { color: #AB9CBF; }
<p style="color:#AB9CBF">This sample text font color is #AB9CBF.</p>
This text font color is #AB9CBF.
.myBgColor { background-color: #AB9CBF; }
<div style="background-color:#AB9CBF">Inner text</div>
This div background color is #AB9CBF.
.myBorderColor { border: 1px solid #AB9CBF; }
<div style="border:3px solid #AB9CBF">Div</div>
This div border color is #AB9CBF.
.myOpacity80 { color: #AB9CBF; opacity: 0.8; }
<p style="color:#AB9CBF;opacity:0.8;">80%</p>
Text with #AB9CBF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB9CBF;}
<p style="text-shadow: 3px 3px 1px #AB9CBF">Text here.</p>
This text has shadow with #AB9CBF color.
.textShadow {text-shadow: 3px 3px 1px #AB9CBF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB9CBF, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB9CBF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB9CBF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB9CBF, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB9CBF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB9CBF; -webkit-box-shadow: 1px 1px 3px 2px #AB9CBF; box-shadow: 1px 1px 3px 2px #AB9CBF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB9CBF; -webkit-box-shadow: 1px 1px 3px 2px #AB9CBF; box-shadow:1px 1px 3px 2px #AB9CBF;">
Div content here</div>
This text has color #AB9CBF on black background.
This text has color #AB9CBF on white background.
This text has black color on #AB9CBF background.
This text has white color on #AB9CBF background.