HEX: #AB5FBD
RGB: (171,95,189)
#AB5FBD contains mainly red and blue colors. Web safe color of #AB5FBD is #9966CC (or #96C).
#AB5FBD color RGB value is (171,95,189).
RGB: (171,95,189) (67%,37%,74%)
R 171 of 255 = 67%
G 95 of 255 = 37%
B 189 of 255 = 74%
R + G + B ~ 59%. #AB5FBD is middle color (not dark and not light).
R + G + B =
171 + 95 + 189 = 455 (100%)
R 171 of 455 ~ 37.58%
G 95 of 455 ~ 20.88%
B 189 of 455 ~ 41.54%
#AB5FBD color CMYK value is (10,50,0,26).
CMYK: (10,50,0,26) C10M50Y0K26 (10%,50%,0%,26%) (0.10/0.50/0.00/0.26)
AB | 5F | BD | |
---|---|---|---|
RGB | 171 | 95 | 189 |
HSL | 289° | 41.59% | 55.69% |
HSB/HSV | 289° | 49.74% | 74.12% |
CMYK | 9.52% | 49.74% | 0.00% |
25.88% |
HEX | AB | 5F | BD |
Decimal | 171 | 95 | 189 |
Binary | 10101011 | 1011111 | 10111101 |
Octal | 253 | 137 | 275 |
Examples of css and html codes for elements with #AB5FBD color. Also use rgb(171,95,189) instead hex code.
.myTextColor { color: #AB5FBD; }
<p style="color:#AB5FBD">This sample text font color is #AB5FBD.</p>
This text font color is #AB5FBD.
.myBgColor { background-color: #AB5FBD; }
<div style="background-color:#AB5FBD">Inner text</div>
This div background color is #AB5FBD.
.myBorderColor { border: 1px solid #AB5FBD; }
<div style="border:3px solid #AB5FBD">Div</div>
This div border color is #AB5FBD.
.myOpacity80 { color: #AB5FBD; opacity: 0.8; }
<p style="color:#AB5FBD;opacity:0.8;">80%</p>
Text with #AB5FBD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB5FBD;}
<p style="text-shadow: 3px 3px 1px #AB5FBD">Text here.</p>
This text has shadow with #AB5FBD color.
.textShadow {text-shadow: 3px 3px 1px #AB5FBD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB5FBD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB5FBD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB5FBD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB5FBD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB5FBD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB5FBD; -webkit-box-shadow: 1px 1px 3px 2px #AB5FBD; box-shadow: 1px 1px 3px 2px #AB5FBD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB5FBD; -webkit-box-shadow: 1px 1px 3px 2px #AB5FBD; box-shadow:1px 1px 3px 2px #AB5FBD;">
Div content here</div>
This text has color #AB5FBD on black background.
This text has color #AB5FBD on white background.
This text has black color on #AB5FBD background.
This text has white color on #AB5FBD background.