HEX: #7E34DD
RGB: (126,52,221)
#7E34DD contains mainly blue color. Web safe color of #7E34DD is #6633CC (or #63C).
#7E34DD color RGB value is (126,52,221).
RGB: (126,52,221) (49%,20%,87%)
R 126 of 255 = 49%
G 52 of 255 = 20%
B 221 of 255 = 87%
R + G + B ~ 52%. #7E34DD is middle color (not dark and not light).
R + G + B =
126 + 52 + 221 = 399 (100%)
R 126 of 399 ~ 31.58%
G 52 of 399 ~ 13.03%
B 221 of 399 ~ 55.39%
#7E34DD color CMYK value is (43,76,0,13).
CMYK: (43,76,0,13) C43M76Y0K13 (43%,76%,0%,13%) (0.43/0.76/0.00/0.13)
7E | 34 | DD | |
---|---|---|---|
RGB | 126 | 52 | 221 |
HSL | 266° | 71.31% | 53.53% |
HSB/HSV | 266° | 76.47% | 86.67% |
CMYK | 42.99% | 76.47% | 0.00% |
13.33% |
HEX | 7E | 34 | DD |
Decimal | 126 | 52 | 221 |
Binary | 1111110 | 110100 | 11011101 |
Octal | 176 | 64 | 335 |
Examples of css and html codes for elements with #7E34DD color. Also use rgb(126,52,221) instead hex code.
.myTextColor { color: #7E34DD; }
<p style="color:#7E34DD">This sample text font color is #7E34DD.</p>
This text font color is #7E34DD.
.myBgColor { background-color: #7E34DD; }
<div style="background-color:#7E34DD">Inner text</div>
This div background color is #7E34DD.
.myBorderColor { border: 1px solid #7E34DD; }
<div style="border:3px solid #7E34DD">Div</div>
This div border color is #7E34DD.
.myOpacity80 { color: #7E34DD; opacity: 0.8; }
<p style="color:#7E34DD;opacity:0.8;">80%</p>
Text with #7E34DD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E34DD;}
<p style="text-shadow: 3px 3px 1px #7E34DD">Text here.</p>
This text has shadow with #7E34DD color.
.textShadow {text-shadow: 3px 3px 1px #7E34DD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E34DD, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E34DD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E34DD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E34DD, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E34DD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E34DD; -webkit-box-shadow: 1px 1px 3px 2px #7E34DD; box-shadow: 1px 1px 3px 2px #7E34DD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E34DD; -webkit-box-shadow: 1px 1px 3px 2px #7E34DD; box-shadow:1px 1px 3px 2px #7E34DD;">
Div content here</div>
This text has color #7E34DD on black background.
This text has color #7E34DD on white background.
This text has black color on #7E34DD background.
This text has white color on #7E34DD background.