HEX: #7E5CE5
RGB: (126,92,229)
#7E5CE5 contains mainly blue color. Web safe color of #7E5CE5 is #6666CC (or #66C).
#7E5CE5 color RGB value is (126,92,229).
RGB: (126,92,229) (49%,36%,90%)
R 126 of 255 = 49%
G 92 of 255 = 36%
B 229 of 255 = 90%
R + G + B ~ 58%. #7E5CE5 is middle color (not dark and not light).
R + G + B =
126 + 92 + 229 = 447 (100%)
R 126 of 447 ~ 28.19%
G 92 of 447 ~ 20.58%
B 229 of 447 ~ 51.23%
#7E5CE5 color CMYK value is (45,60,0,10).
CMYK: (45,60,0,10) C45M60Y0K10 (45%,60%,0%,10%) (0.45/0.60/0.00/0.10)
7E | 5C | E5 | |
---|---|---|---|
RGB | 126 | 92 | 229 |
HSL | 255° | 72.49% | 62.94% |
HSB/HSV | 255° | 59.83% | 89.80% |
CMYK | 44.98% | 59.83% | 0.00% |
10.20% |
HEX | 7E | 5C | E5 |
Decimal | 126 | 92 | 229 |
Binary | 1111110 | 1011100 | 11100101 |
Octal | 176 | 134 | 345 |
Examples of css and html codes for elements with #7E5CE5 color. Also use rgb(126,92,229) instead hex code.
.myTextColor { color: #7E5CE5; }
<p style="color:#7E5CE5">This sample text font color is #7E5CE5.</p>
This text font color is #7E5CE5.
.myBgColor { background-color: #7E5CE5; }
<div style="background-color:#7E5CE5">Inner text</div>
This div background color is #7E5CE5.
.myBorderColor { border: 1px solid #7E5CE5; }
<div style="border:3px solid #7E5CE5">Div</div>
This div border color is #7E5CE5.
.myOpacity80 { color: #7E5CE5; opacity: 0.8; }
<p style="color:#7E5CE5;opacity:0.8;">80%</p>
Text with #7E5CE5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E5CE5;}
<p style="text-shadow: 3px 3px 1px #7E5CE5">Text here.</p>
This text has shadow with #7E5CE5 color.
.textShadow {text-shadow: 3px 3px 1px #7E5CE5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E5CE5, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E5CE5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E5CE5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E5CE5, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E5CE5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E5CE5; -webkit-box-shadow: 1px 1px 3px 2px #7E5CE5; box-shadow: 1px 1px 3px 2px #7E5CE5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E5CE5; -webkit-box-shadow: 1px 1px 3px 2px #7E5CE5; box-shadow:1px 1px 3px 2px #7E5CE5;">
Div content here</div>
This text has color #7E5CE5 on black background.
This text has color #7E5CE5 on white background.
This text has black color on #7E5CE5 background.
This text has white color on #7E5CE5 background.