HEX: #8B71A7
RGB: (139,113,167)
#8B71A7 contains red, green and blue colors in about the same proportion. Web safe color of #8B71A7 is #996699 (or #969).
#8B71A7 color RGB value is (139,113,167).
RGB: (139,113,167) (55%,44%,65%)
R 139 of 255 = 55%
G 113 of 255 = 44%
B 167 of 255 = 65%
R + G + B ~ 55%. #8B71A7 is middle color (not dark and not light).
R + G + B =
139 + 113 + 167 = 419 (100%)
R 139 of 419 ~ 33.17%
G 113 of 419 ~ 26.97%
B 167 of 419 ~ 39.86%
#8B71A7 color CMYK value is (17,32,0,35).
CMYK: (17,32,0,35) C17M32Y0K35 (17%,32%,0%,35%) (0.17/0.32/0.00/0.35)
8B | 71 | A7 | |
---|---|---|---|
RGB | 139 | 113 | 167 |
HSL | 269° | 23.48% | 54.90% |
HSB/HSV | 269° | 32.34% | 65.49% |
CMYK | 16.77% | 32.34% | 0.00% |
34.51% |
HEX | 8B | 71 | A7 |
Decimal | 139 | 113 | 167 |
Binary | 10001011 | 1110001 | 10100111 |
Octal | 213 | 161 | 247 |
Examples of css and html codes for elements with #8B71A7 color. Also use rgb(139,113,167) instead hex code.
.myTextColor { color: #8B71A7; }
<p style="color:#8B71A7">This sample text font color is #8B71A7.</p>
This text font color is #8B71A7.
.myBgColor { background-color: #8B71A7; }
<div style="background-color:#8B71A7">Inner text</div>
This div background color is #8B71A7.
.myBorderColor { border: 1px solid #8B71A7; }
<div style="border:3px solid #8B71A7">Div</div>
This div border color is #8B71A7.
.myOpacity80 { color: #8B71A7; opacity: 0.8; }
<p style="color:#8B71A7;opacity:0.8;">80%</p>
Text with #8B71A7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B71A7;}
<p style="text-shadow: 3px 3px 1px #8B71A7">Text here.</p>
This text has shadow with #8B71A7 color.
.textShadow {text-shadow: 3px 3px 1px #8B71A7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B71A7, 5px 5px 20px red">Text here.</p>
This text has shadow with #8B71A7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B71A7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B71A7, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B71A7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B71A7; -webkit-box-shadow: 1px 1px 3px 2px #8B71A7; box-shadow: 1px 1px 3px 2px #8B71A7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B71A7; -webkit-box-shadow: 1px 1px 3px 2px #8B71A7; box-shadow:1px 1px 3px 2px #8B71A7;">
Div content here</div>
This text has color #8B71A7 on black background.
This text has color #8B71A7 on white background.
This text has black color on #8B71A7 background.
This text has white color on #8B71A7 background.