HEX: #7E00AA
RGB: (126,0,170)
#7E00AA contains only red and blue colors. Web safe color of #7E00AA is #660099 (or #609).
#7E00AA color RGB value is (126,0,170).
RGB: (126,0,170) (49%,0%,67%)
R 126 of 255 = 49%
G 0 of 255 = 0%
B 170 of 255 = 67%
R + G + B ~ 39%. #7E00AA is quite dark color.
R + G + B =
126 + 0 + 170 = 296 (100%)
R 126 of 296 ~ 42.57%
G 0 of 296 ~ 0%
B 170 of 296 ~ 57.43%
#7E00AA color CMYK value is (26,100,0,33).
CMYK: (26,100,0,33) C26M100Y0K33 (26%,100%,0%,33%) (0.26/1.00/0.00/0.33)
7E | 00 | AA | |
---|---|---|---|
RGB | 126 | 0 | 170 |
HSL | 284° | 100.00% | 33.33% |
HSB/HSV | 284° | 100.00% | 66.67% |
CMYK | 25.88% | 100.00% | 0.00% |
33.33% |
HEX | 7E | 00 | AA |
Decimal | 126 | 0 | 170 |
Binary | 1111110 | 0 | 10101010 |
Octal | 176 | 0 | 252 |
Examples of css and html codes for elements with #7E00AA color. Also use rgb(126,0,170) instead hex code.
.myTextColor { color: #7E00AA; }
<p style="color:#7E00AA">This sample text font color is #7E00AA.</p>
This text font color is #7E00AA.
.myBgColor { background-color: #7E00AA; }
<div style="background-color:#7E00AA">Inner text</div>
This div background color is #7E00AA.
.myBorderColor { border: 1px solid #7E00AA; }
<div style="border:3px solid #7E00AA">Div</div>
This div border color is #7E00AA.
.myOpacity80 { color: #7E00AA; opacity: 0.8; }
<p style="color:#7E00AA;opacity:0.8;">80%</p>
Text with #7E00AA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E00AA;}
<p style="text-shadow: 3px 3px 1px #7E00AA">Text here.</p>
This text has shadow with #7E00AA color.
.textShadow {text-shadow: 3px 3px 1px #7E00AA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E00AA, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E00AA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E00AA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E00AA, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E00AA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E00AA; -webkit-box-shadow: 1px 1px 3px 2px #7E00AA; box-shadow: 1px 1px 3px 2px #7E00AA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E00AA; -webkit-box-shadow: 1px 1px 3px 2px #7E00AA; box-shadow:1px 1px 3px 2px #7E00AA;">
Div content here</div>
This text has color #7E00AA on black background.
This text has color #7E00AA on white background.
This text has black color on #7E00AA background.
This text has white color on #7E00AA background.