HEX: #8D6CC9
RGB: (141,108,201)
#8D6CC9 contains mainly blue color. Web safe color of #8D6CC9 is #9966CC (or #96C).
#8D6CC9 color RGB value is (141,108,201).
RGB: (141,108,201) (55%,42%,79%)
R 141 of 255 = 55%
G 108 of 255 = 42%
B 201 of 255 = 79%
R + G + B ~ 59%. #8D6CC9 is middle color (not dark and not light).
R + G + B =
141 + 108 + 201 = 450 (100%)
R 141 of 450 ~ 31.33%
G 108 of 450 ~ 24%
B 201 of 450 ~ 44.67%
#8D6CC9 color CMYK value is (30,46,0,21).
CMYK: (30,46,0,21) C30M46Y0K21 (30%,46%,0%,21%) (0.30/0.46/0.00/0.21)
8D | 6C | C9 | |
---|---|---|---|
RGB | 141 | 108 | 201 |
HSL | 261° | 46.27% | 60.59% |
HSB/HSV | 261° | 46.27% | 78.82% |
CMYK | 29.85% | 46.27% | 0.00% |
21.18% |
HEX | 8D | 6C | C9 |
Decimal | 141 | 108 | 201 |
Binary | 10001101 | 1101100 | 11001001 |
Octal | 215 | 154 | 311 |
Examples of css and html codes for elements with #8D6CC9 color. Also use rgb(141,108,201) instead hex code.
.myTextColor { color: #8D6CC9; }
<p style="color:#8D6CC9">This sample text font color is #8D6CC9.</p>
This text font color is #8D6CC9.
.myBgColor { background-color: #8D6CC9; }
<div style="background-color:#8D6CC9">Inner text</div>
This div background color is #8D6CC9.
.myBorderColor { border: 1px solid #8D6CC9; }
<div style="border:3px solid #8D6CC9">Div</div>
This div border color is #8D6CC9.
.myOpacity80 { color: #8D6CC9; opacity: 0.8; }
<p style="color:#8D6CC9;opacity:0.8;">80%</p>
Text with #8D6CC9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8D6CC9;}
<p style="text-shadow: 3px 3px 1px #8D6CC9">Text here.</p>
This text has shadow with #8D6CC9 color.
.textShadow {text-shadow: 3px 3px 1px #8D6CC9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8D6CC9, 5px 5px 20px red">Text here.</p>
This text has shadow with #8D6CC9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8D6CC9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8D6CC9, Direction=45, Strength=4)">Text</p>
This text has shadow with #8D6CC9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8D6CC9; -webkit-box-shadow: 1px 1px 3px 2px #8D6CC9; box-shadow: 1px 1px 3px 2px #8D6CC9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8D6CC9; -webkit-box-shadow: 1px 1px 3px 2px #8D6CC9; box-shadow:1px 1px 3px 2px #8D6CC9;">
Div content here</div>
This text has color #8D6CC9 on black background.
This text has color #8D6CC9 on white background.
This text has black color on #8D6CC9 background.
This text has white color on #8D6CC9 background.