HEX: #7C429D
RGB: (124,66,157)
#7C429D contains mainly red and blue colors. Web safe color of #7C429D is #663399 (or #639).
#7C429D color RGB value is (124,66,157).
RGB: (124,66,157) (49%,26%,62%)
R 124 of 255 = 49%
G 66 of 255 = 26%
B 157 of 255 = 62%
R + G + B ~ 46%. #7C429D is middle color (not dark and not light).
R + G + B =
124 + 66 + 157 = 347 (100%)
R 124 of 347 ~ 35.73%
G 66 of 347 ~ 19.02%
B 157 of 347 ~ 45.24%
#7C429D color CMYK value is (21,58,0,38).
CMYK: (21,58,0,38) C21M58Y0K38 (21%,58%,0%,38%) (0.21/0.58/0.00/0.38)
7C | 42 | 9D | |
---|---|---|---|
RGB | 124 | 66 | 157 |
HSL | 278° | 40.81% | 43.73% |
HSB/HSV | 278° | 57.96% | 61.57% |
CMYK | 21.02% | 57.96% | 0.00% |
38.43% |
HEX | 7C | 42 | 9D |
Decimal | 124 | 66 | 157 |
Binary | 1111100 | 1000010 | 10011101 |
Octal | 174 | 102 | 235 |
Examples of css and html codes for elements with #7C429D color. Also use rgb(124,66,157) instead hex code.
.myTextColor { color: #7C429D; }
<p style="color:#7C429D">This sample text font color is #7C429D.</p>
This text font color is #7C429D.
.myBgColor { background-color: #7C429D; }
<div style="background-color:#7C429D">Inner text</div>
This div background color is #7C429D.
.myBorderColor { border: 1px solid #7C429D; }
<div style="border:3px solid #7C429D">Div</div>
This div border color is #7C429D.
.myOpacity80 { color: #7C429D; opacity: 0.8; }
<p style="color:#7C429D;opacity:0.8;">80%</p>
Text with #7C429D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7C429D;}
<p style="text-shadow: 3px 3px 1px #7C429D">Text here.</p>
This text has shadow with #7C429D color.
.textShadow {text-shadow: 3px 3px 1px #7C429D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7C429D, 5px 5px 20px red">Text here.</p>
This text has shadow with #7C429D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7C429D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7C429D, Direction=45, Strength=4)">Text</p>
This text has shadow with #7C429D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7C429D; -webkit-box-shadow: 1px 1px 3px 2px #7C429D; box-shadow: 1px 1px 3px 2px #7C429D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7C429D; -webkit-box-shadow: 1px 1px 3px 2px #7C429D; box-shadow:1px 1px 3px 2px #7C429D;">
Div content here</div>
This text has color #7C429D on black background.
This text has color #7C429D on white background.
This text has black color on #7C429D background.
This text has white color on #7C429D background.