HEX: #7E48AF
RGB: (126,72,175)
#7E48AF contains mainly red and blue colors. Web safe color of #7E48AF is #663399 (or #639).
#7E48AF color RGB value is (126,72,175).
RGB: (126,72,175)
(49%, 28%, 69%)
R 126 of 255 = 49%
G 72 of 255 = 28%
B 175 of 255 = 69%
R + G + B ~ 49%. #7E48AF is middle color (not dark and not light).
R + G + B = 126 + 72 + 175 = 373 (100%)
R 126 of 373 ~ 33.78%
G 72 of 373 ~ 19.3%
B 175 of 373 ~ 46.92'%
#7E48AF color CMYK value is (28,59,0,31).
CMYK: (28,59,0,31)
C28M59Y0K31 (28%, 59%, 0%, 31%)
(0.28 / 0.59 / 0.00 / 0.31)
Color #7E48AF in popluar color models
7E | 48 | AF | |
---|---|---|---|
RGB | 126 | 72 | 175 |
HSL | 271° | 41.70% | 48.43% |
HSB/HSV | 271° | 58.86% | 68.63% |
CMYK | 28.00% | 58.86% | 0.00% |
31.37% |
Color #7E48AF in popluar number systems.
HEX | 7E | 48 | AF |
Decimal | 126 | 72 | 175 |
Binary | 1111110 | 1001000 | 10101111 |
Octal | 176 | 110 | 257 |
Shades of #7E48AF
Tints of #7E48AF
Examples of css and html codes for elements with #7E48AF color. Also use rgb(126,72,175) instead hex code.
.myTextColor { color: #7E48AF; }
<p style="color:#7E48AF">This sample text font color is #7E48AF.</p>
This text font color is #7E48AF.
.myBgColor { background-color: #7E48AF; }
<div style="background-color:#7E48AF">Inner text</div>
This div background color is #7E48AF.
.myBorderColor { border: 1px solid #7E48AF; }
<div style="border:3px solid #7E48AF">Div</div>
This div border color is #7E48AF.
.myOpacity80 { color: #7E48AF; opacity: 0.8; }
<p style="color:#7E48AF;opacity:0.8;">80%</p>
Text with #7E48AF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E48AF;}
<p style="text-shadow: 3px 3px 1px #7E48AF">Text here.</p>
This text has shadow with #7E48AF color.
.textShadow {text-shadow: 3px 3px 1px #7E48AF', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E48AF, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E48AF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E48AF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E48AF, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E48AF and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #7E48AF;
-webkit-box-shadow: 1px 1px 3px 2px #7E48AF;
box-shadow: 1px 1px 3px 2px #7E48AF;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #7E48AF; -webkit-box-shadow: 1px 1px 3px 2px #7E48AF; box-shadow:1px 1px 3px 2px #7E48AF;">
Div content here
</div>
This text has color #7E48AF on black background.
This text has color #7E48AF on white background.
This text has black color on #7E48AF background.
This text has white color on #7E48AF background.
Complementary color for #hex is #81B750.