HEX: #8C7EDC
RGB: (140,126,220)
#8C7EDC contains mainly blue color. Web safe color of #8C7EDC is #9966CC (or #96C).
#8C7EDC color RGB value is (140,126,220).
RGB: (140,126,220) (55%,49%,86%)
R 140 of 255 = 55%
G 126 of 255 = 49%
B 220 of 255 = 86%
R + G + B ~ 63%. #8C7EDC is quite light color.
R + G + B =
140 + 126 + 220 = 486 (100%)
R 140 of 486 ~ 28.81%
G 126 of 486 ~ 25.93%
B 220 of 486 ~ 45.27%
#8C7EDC color CMYK value is (36,43,0,14).
CMYK: (36,43,0,14) C36M43Y0K14 (36%,43%,0%,14%) (0.36/0.43/0.00/0.14)
8C | 7E | DC | |
---|---|---|---|
RGB | 140 | 126 | 220 |
HSL | 249° | 57.32% | 67.84% |
HSB/HSV | 249° | 42.73% | 86.27% |
CMYK | 36.36% | 42.73% | 0.00% |
13.73% |
HEX | 8C | 7E | DC |
Decimal | 140 | 126 | 220 |
Binary | 10001100 | 1111110 | 11011100 |
Octal | 214 | 176 | 334 |
Examples of css and html codes for elements with #8C7EDC color. Also use rgb(140,126,220) instead hex code.
.myTextColor { color: #8C7EDC; }
<p style="color:#8C7EDC">This sample text font color is #8C7EDC.</p>
This text font color is #8C7EDC.
.myBgColor { background-color: #8C7EDC; }
<div style="background-color:#8C7EDC">Inner text</div>
This div background color is #8C7EDC.
.myBorderColor { border: 1px solid #8C7EDC; }
<div style="border:3px solid #8C7EDC">Div</div>
This div border color is #8C7EDC.
.myOpacity80 { color: #8C7EDC; opacity: 0.8; }
<p style="color:#8C7EDC;opacity:0.8;">80%</p>
Text with #8C7EDC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C7EDC;}
<p style="text-shadow: 3px 3px 1px #8C7EDC">Text here.</p>
This text has shadow with #8C7EDC color.
.textShadow {text-shadow: 3px 3px 1px #8C7EDC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C7EDC, 5px 5px 20px red">Text here.</p>
This text has shadow with #8C7EDC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C7EDC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C7EDC, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C7EDC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C7EDC; -webkit-box-shadow: 1px 1px 3px 2px #8C7EDC; box-shadow: 1px 1px 3px 2px #8C7EDC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C7EDC; -webkit-box-shadow: 1px 1px 3px 2px #8C7EDC; box-shadow:1px 1px 3px 2px #8C7EDC;">
Div content here</div>
This text has color #8C7EDC on black background.
This text has color #8C7EDC on white background.
This text has black color on #8C7EDC background.
This text has white color on #8C7EDC background.