HEX: #8F7EAE
RGB: (143,126,174)
#8F7EAE contains red, green and blue colors in about the same proportion. Web safe color of #8F7EAE is #996699 (or #969).
#8F7EAE color RGB value is (143,126,174).
RGB: (143,126,174) (56%,49%,68%)
R 143 of 255 = 56%
G 126 of 255 = 49%
B 174 of 255 = 68%
R + G + B ~ 58%. #8F7EAE is middle color (not dark and not light).
R + G + B =
143 + 126 + 174 = 443 (100%)
R 143 of 443 ~ 32.28%
G 126 of 443 ~ 28.44%
B 174 of 443 ~ 39.28%
#8F7EAE color CMYK value is (18,28,0,32).
CMYK: (18,28,0,32) C18M28Y0K32 (18%,28%,0%,32%) (0.18/0.28/0.00/0.32)
8F | 7E | AE | |
---|---|---|---|
RGB | 143 | 126 | 174 |
HSL | 261° | 22.86% | 58.82% |
HSB/HSV | 261° | 27.59% | 68.24% |
CMYK | 17.82% | 27.59% | 0.00% |
31.76% |
HEX | 8F | 7E | AE |
Decimal | 143 | 126 | 174 |
Binary | 10001111 | 1111110 | 10101110 |
Octal | 217 | 176 | 256 |
Examples of css and html codes for elements with #8F7EAE color. Also use rgb(143,126,174) instead hex code.
.myTextColor { color: #8F7EAE; }
<p style="color:#8F7EAE">This sample text font color is #8F7EAE.</p>
This text font color is #8F7EAE.
.myBgColor { background-color: #8F7EAE; }
<div style="background-color:#8F7EAE">Inner text</div>
This div background color is #8F7EAE.
.myBorderColor { border: 1px solid #8F7EAE; }
<div style="border:3px solid #8F7EAE">Div</div>
This div border color is #8F7EAE.
.myOpacity80 { color: #8F7EAE; opacity: 0.8; }
<p style="color:#8F7EAE;opacity:0.8;">80%</p>
Text with #8F7EAE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8F7EAE;}
<p style="text-shadow: 3px 3px 1px #8F7EAE">Text here.</p>
This text has shadow with #8F7EAE color.
.textShadow {text-shadow: 3px 3px 1px #8F7EAE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8F7EAE, 5px 5px 20px red">Text here.</p>
This text has shadow with #8F7EAE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8F7EAE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8F7EAE, Direction=45, Strength=4)">Text</p>
This text has shadow with #8F7EAE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8F7EAE; -webkit-box-shadow: 1px 1px 3px 2px #8F7EAE; box-shadow: 1px 1px 3px 2px #8F7EAE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8F7EAE; -webkit-box-shadow: 1px 1px 3px 2px #8F7EAE; box-shadow:1px 1px 3px 2px #8F7EAE;">
Div content here</div>
This text has color #8F7EAE on black background.
This text has color #8F7EAE on white background.
This text has black color on #8F7EAE background.
This text has white color on #8F7EAE background.