HEX: #7E499C
RGB: (126,73,156)
#7E499C contains mainly red and blue colors. Web safe color of #7E499C is #663399 (or #639).
#7E499C color RGB value is (126,73,156).
RGB: (126,73,156) (49%,29%,61%)
R 126 of 255 = 49%
G 73 of 255 = 29%
B 156 of 255 = 61%
R + G + B ~ 46%. #7E499C is middle color (not dark and not light).
R + G + B =
126 + 73 + 156 = 355 (100%)
R 126 of 355 ~ 35.49%
G 73 of 355 ~ 20.56%
B 156 of 355 ~ 43.94%
#7E499C color CMYK value is (19,53,0,39).
CMYK: (19,53,0,39) C19M53Y0K39 (19%,53%,0%,39%) (0.19/0.53/0.00/0.39)
7E | 49 | 9C | |
---|---|---|---|
RGB | 126 | 73 | 156 |
HSL | 278° | 36.24% | 44.90% |
HSB/HSV | 278° | 53.21% | 61.18% |
CMYK | 19.23% | 53.21% | 0.00% |
38.82% |
HEX | 7E | 49 | 9C |
Decimal | 126 | 73 | 156 |
Binary | 1111110 | 1001001 | 10011100 |
Octal | 176 | 111 | 234 |
Examples of css and html codes for elements with #7E499C color. Also use rgb(126,73,156) instead hex code.
.myTextColor { color: #7E499C; }
<p style="color:#7E499C">This sample text font color is #7E499C.</p>
This text font color is #7E499C.
.myBgColor { background-color: #7E499C; }
<div style="background-color:#7E499C">Inner text</div>
This div background color is #7E499C.
.myBorderColor { border: 1px solid #7E499C; }
<div style="border:3px solid #7E499C">Div</div>
This div border color is #7E499C.
.myOpacity80 { color: #7E499C; opacity: 0.8; }
<p style="color:#7E499C;opacity:0.8;">80%</p>
Text with #7E499C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E499C;}
<p style="text-shadow: 3px 3px 1px #7E499C">Text here.</p>
This text has shadow with #7E499C color.
.textShadow {text-shadow: 3px 3px 1px #7E499C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E499C, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E499C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E499C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E499C, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E499C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E499C; -webkit-box-shadow: 1px 1px 3px 2px #7E499C; box-shadow: 1px 1px 3px 2px #7E499C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E499C; -webkit-box-shadow: 1px 1px 3px 2px #7E499C; box-shadow:1px 1px 3px 2px #7E499C;">
Div content here</div>
This text has color #7E499C on black background.
This text has color #7E499C on white background.
This text has black color on #7E499C background.
This text has white color on #7E499C background.