HEX: #7E25CA
RGB: (126,37,202)
#7E25CA contains mainly blue color. Web safe color of #7E25CA is #6633CC (or #63C).
#7E25CA color RGB value is (126,37,202).
RGB: (126,37,202) (49%,15%,79%)
R 126 of 255 = 49%
G 37 of 255 = 15%
B 202 of 255 = 79%
R + G + B ~ 48%. #7E25CA is middle color (not dark and not light).
R + G + B =
126 + 37 + 202 = 365 (100%)
R 126 of 365 ~ 34.52%
G 37 of 365 ~ 10.14%
B 202 of 365 ~ 55.34%
#7E25CA color CMYK value is (38,82,0,21).
CMYK: (38,82,0,21) C38M82Y0K21 (38%,82%,0%,21%) (0.38/0.82/0.00/0.21)
7E | 25 | CA | |
---|---|---|---|
RGB | 126 | 37 | 202 |
HSL | 272° | 69.04% | 46.86% |
HSB/HSV | 272° | 81.68% | 79.22% |
CMYK | 37.62% | 81.68% | 0.00% |
20.78% |
HEX | 7E | 25 | CA |
Decimal | 126 | 37 | 202 |
Binary | 1111110 | 100101 | 11001010 |
Octal | 176 | 45 | 312 |
Examples of css and html codes for elements with #7E25CA color. Also use rgb(126,37,202) instead hex code.
.myTextColor { color: #7E25CA; }
<p style="color:#7E25CA">This sample text font color is #7E25CA.</p>
This text font color is #7E25CA.
.myBgColor { background-color: #7E25CA; }
<div style="background-color:#7E25CA">Inner text</div>
This div background color is #7E25CA.
.myBorderColor { border: 1px solid #7E25CA; }
<div style="border:3px solid #7E25CA">Div</div>
This div border color is #7E25CA.
.myOpacity80 { color: #7E25CA; opacity: 0.8; }
<p style="color:#7E25CA;opacity:0.8;">80%</p>
Text with #7E25CA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E25CA;}
<p style="text-shadow: 3px 3px 1px #7E25CA">Text here.</p>
This text has shadow with #7E25CA color.
.textShadow {text-shadow: 3px 3px 1px #7E25CA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E25CA, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E25CA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E25CA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E25CA, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E25CA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E25CA; -webkit-box-shadow: 1px 1px 3px 2px #7E25CA; box-shadow: 1px 1px 3px 2px #7E25CA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E25CA; -webkit-box-shadow: 1px 1px 3px 2px #7E25CA; box-shadow:1px 1px 3px 2px #7E25CA;">
Div content here</div>
This text has color #7E25CA on black background.
This text has color #7E25CA on white background.
This text has black color on #7E25CA background.
This text has white color on #7E25CA background.