HEX: #7E6BD6
RGB: (126,107,214)
#7E6BD6 contains mainly blue color. Web safe color of #7E6BD6 is #6666CC (or #66C).
#7E6BD6 color RGB value is (126,107,214).
RGB: (126,107,214) (49%,42%,84%)
R 126 of 255 = 49%
G 107 of 255 = 42%
B 214 of 255 = 84%
R + G + B ~ 58%. #7E6BD6 is middle color (not dark and not light).
R + G + B =
126 + 107 + 214 = 447 (100%)
R 126 of 447 ~ 28.19%
G 107 of 447 ~ 23.94%
B 214 of 447 ~ 47.87%
#7E6BD6 color CMYK value is (41,50,0,16).
CMYK: (41,50,0,16) C41M50Y0K16 (41%,50%,0%,16%) (0.41/0.50/0.00/0.16)
7E | 6B | D6 | |
---|---|---|---|
RGB | 126 | 107 | 214 |
HSL | 251° | 56.61% | 62.94% |
HSB/HSV | 251° | 50.00% | 83.92% |
CMYK | 41.12% | 50.00% | 0.00% |
16.08% |
HEX | 7E | 6B | D6 |
Decimal | 126 | 107 | 214 |
Binary | 1111110 | 1101011 | 11010110 |
Octal | 176 | 153 | 326 |
Examples of css and html codes for elements with #7E6BD6 color. Also use rgb(126,107,214) instead hex code.
.myTextColor { color: #7E6BD6; }
<p style="color:#7E6BD6">This sample text font color is #7E6BD6.</p>
This text font color is #7E6BD6.
.myBgColor { background-color: #7E6BD6; }
<div style="background-color:#7E6BD6">Inner text</div>
This div background color is #7E6BD6.
.myBorderColor { border: 1px solid #7E6BD6; }
<div style="border:3px solid #7E6BD6">Div</div>
This div border color is #7E6BD6.
.myOpacity80 { color: #7E6BD6; opacity: 0.8; }
<p style="color:#7E6BD6;opacity:0.8;">80%</p>
Text with #7E6BD6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E6BD6;}
<p style="text-shadow: 3px 3px 1px #7E6BD6">Text here.</p>
This text has shadow with #7E6BD6 color.
.textShadow {text-shadow: 3px 3px 1px #7E6BD6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E6BD6, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E6BD6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E6BD6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E6BD6, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E6BD6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E6BD6; -webkit-box-shadow: 1px 1px 3px 2px #7E6BD6; box-shadow: 1px 1px 3px 2px #7E6BD6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E6BD6; -webkit-box-shadow: 1px 1px 3px 2px #7E6BD6; box-shadow:1px 1px 3px 2px #7E6BD6;">
Div content here</div>
This text has color #7E6BD6 on black background.
This text has color #7E6BD6 on white background.
This text has black color on #7E6BD6 background.
This text has white color on #7E6BD6 background.