HEX: #7C6CDC
RGB: (124,108,220)
#7C6CDC contains mainly blue color. Web safe color of #7C6CDC is #6666CC (or #66C).
#7C6CDC color RGB value is (124,108,220).
RGB: (124,108,220) (49%,42%,86%)
R 124 of 255 = 49%
G 108 of 255 = 42%
B 220 of 255 = 86%
R + G + B ~ 59%. #7C6CDC is middle color (not dark and not light).
R + G + B =
124 + 108 + 220 = 452 (100%)
R 124 of 452 ~ 27.43%
G 108 of 452 ~ 23.89%
B 220 of 452 ~ 48.67%
#7C6CDC color CMYK value is (44,51,0,14).
CMYK: (44,51,0,14) C44M51Y0K14 (44%,51%,0%,14%) (0.44/0.51/0.00/0.14)
7C | 6C | DC | |
---|---|---|---|
RGB | 124 | 108 | 220 |
HSL | 249° | 61.54% | 64.31% |
HSB/HSV | 249° | 50.91% | 86.27% |
CMYK | 43.64% | 50.91% | 0.00% |
13.73% |
HEX | 7C | 6C | DC |
Decimal | 124 | 108 | 220 |
Binary | 1111100 | 1101100 | 11011100 |
Octal | 174 | 154 | 334 |
Examples of css and html codes for elements with #7C6CDC color. Also use rgb(124,108,220) instead hex code.
.myTextColor { color: #7C6CDC; }
<p style="color:#7C6CDC">This sample text font color is #7C6CDC.</p>
This text font color is #7C6CDC.
.myBgColor { background-color: #7C6CDC; }
<div style="background-color:#7C6CDC">Inner text</div>
This div background color is #7C6CDC.
.myBorderColor { border: 1px solid #7C6CDC; }
<div style="border:3px solid #7C6CDC">Div</div>
This div border color is #7C6CDC.
.myOpacity80 { color: #7C6CDC; opacity: 0.8; }
<p style="color:#7C6CDC;opacity:0.8;">80%</p>
Text with #7C6CDC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7C6CDC;}
<p style="text-shadow: 3px 3px 1px #7C6CDC">Text here.</p>
This text has shadow with #7C6CDC color.
.textShadow {text-shadow: 3px 3px 1px #7C6CDC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7C6CDC, 5px 5px 20px red">Text here.</p>
This text has shadow with #7C6CDC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7C6CDC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7C6CDC, Direction=45, Strength=4)">Text</p>
This text has shadow with #7C6CDC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7C6CDC; -webkit-box-shadow: 1px 1px 3px 2px #7C6CDC; box-shadow: 1px 1px 3px 2px #7C6CDC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7C6CDC; -webkit-box-shadow: 1px 1px 3px 2px #7C6CDC; box-shadow:1px 1px 3px 2px #7C6CDC;">
Div content here</div>
This text has color #7C6CDC on black background.
This text has color #7C6CDC on white background.
This text has black color on #7C6CDC background.
This text has white color on #7C6CDC background.