HEX: #8C6CAB
RGB: (140,108,171)
#8C6CAB contains mainly red and blue colors. Web safe color of #8C6CAB is #996699 (or #969).
#8C6CAB color RGB value is (140,108,171).
RGB: (140,108,171) (55%,42%,67%)
R 140 of 255 = 55%
G 108 of 255 = 42%
B 171 of 255 = 67%
R + G + B ~ 55%. #8C6CAB is middle color (not dark and not light).
R + G + B =
140 + 108 + 171 = 419 (100%)
R 140 of 419 ~ 33.41%
G 108 of 419 ~ 25.78%
B 171 of 419 ~ 40.81%
#8C6CAB color CMYK value is (18,37,0,33).
CMYK: (18,37,0,33) C18M37Y0K33 (18%,37%,0%,33%) (0.18/0.37/0.00/0.33)
8C | 6C | AB | |
---|---|---|---|
RGB | 140 | 108 | 171 |
HSL | 270° | 27.27% | 54.71% |
HSB/HSV | 270° | 36.84% | 67.06% |
CMYK | 18.13% | 36.84% | 0.00% |
32.94% |
HEX | 8C | 6C | AB |
Decimal | 140 | 108 | 171 |
Binary | 10001100 | 1101100 | 10101011 |
Octal | 214 | 154 | 253 |
Examples of css and html codes for elements with #8C6CAB color. Also use rgb(140,108,171) instead hex code.
.myTextColor { color: #8C6CAB; }
<p style="color:#8C6CAB">This sample text font color is #8C6CAB.</p>
This text font color is #8C6CAB.
.myBgColor { background-color: #8C6CAB; }
<div style="background-color:#8C6CAB">Inner text</div>
This div background color is #8C6CAB.
.myBorderColor { border: 1px solid #8C6CAB; }
<div style="border:3px solid #8C6CAB">Div</div>
This div border color is #8C6CAB.
.myOpacity80 { color: #8C6CAB; opacity: 0.8; }
<p style="color:#8C6CAB;opacity:0.8;">80%</p>
Text with #8C6CAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C6CAB;}
<p style="text-shadow: 3px 3px 1px #8C6CAB">Text here.</p>
This text has shadow with #8C6CAB color.
.textShadow {text-shadow: 3px 3px 1px #8C6CAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C6CAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #8C6CAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C6CAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C6CAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C6CAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C6CAB; -webkit-box-shadow: 1px 1px 3px 2px #8C6CAB; box-shadow: 1px 1px 3px 2px #8C6CAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C6CAB; -webkit-box-shadow: 1px 1px 3px 2px #8C6CAB; box-shadow:1px 1px 3px 2px #8C6CAB;">
Div content here</div>
This text has color #8C6CAB on black background.
This text has color #8C6CAB on white background.
This text has black color on #8C6CAB background.
This text has white color on #8C6CAB background.