HEX: #8C76DC
RGB: (140,118,220)
#8C76DC contains mainly blue color. Web safe color of #8C76DC is #9966CC (or #96C).
#8C76DC color RGB value is (140,118,220).
RGB: (140,118,220) (55%,46%,86%)
R 140 of 255 = 55%
G 118 of 255 = 46%
B 220 of 255 = 86%
R + G + B ~ 62%. #8C76DC is quite light color.
R + G + B =
140 + 118 + 220 = 478 (100%)
R 140 of 478 ~ 29.29%
G 118 of 478 ~ 24.69%
B 220 of 478 ~ 46.03%
#8C76DC color CMYK value is (36,46,0,14).
CMYK: (36,46,0,14) C36M46Y0K14 (36%,46%,0%,14%) (0.36/0.46/0.00/0.14)
8C | 76 | DC | |
---|---|---|---|
RGB | 140 | 118 | 220 |
HSL | 253° | 59.30% | 66.27% |
HSB/HSV | 253° | 46.36% | 86.27% |
CMYK | 36.36% | 46.36% | 0.00% |
13.73% |
HEX | 8C | 76 | DC |
Decimal | 140 | 118 | 220 |
Binary | 10001100 | 1110110 | 11011100 |
Octal | 214 | 166 | 334 |
Examples of css and html codes for elements with #8C76DC color. Also use rgb(140,118,220) instead hex code.
.myTextColor { color: #8C76DC; }
<p style="color:#8C76DC">This sample text font color is #8C76DC.</p>
This text font color is #8C76DC.
.myBgColor { background-color: #8C76DC; }
<div style="background-color:#8C76DC">Inner text</div>
This div background color is #8C76DC.
.myBorderColor { border: 1px solid #8C76DC; }
<div style="border:3px solid #8C76DC">Div</div>
This div border color is #8C76DC.
.myOpacity80 { color: #8C76DC; opacity: 0.8; }
<p style="color:#8C76DC;opacity:0.8;">80%</p>
Text with #8C76DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C76DC;}
<p style="text-shadow: 3px 3px 1px #8C76DC">Text here.</p>
This text has shadow with #8C76DC color.
.textShadow {text-shadow: 3px 3px 1px #8C76DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C76DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #8C76DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C76DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C76DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C76DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C76DC; -webkit-box-shadow: 1px 1px 3px 2px #8C76DC; box-shadow: 1px 1px 3px 2px #8C76DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C76DC; -webkit-box-shadow: 1px 1px 3px 2px #8C76DC; box-shadow:1px 1px 3px 2px #8C76DC;">
Div content here</div>
This text has color #8C76DC on black background.
This text has color #8C76DC on white background.
This text has black color on #8C76DC background.
This text has white color on #8C76DC background.