HEX: #7D1E72
RGB: (125,30,114)
#7D1E72 contains mainly red and blue colors. Web safe color of #7D1E72 is #663366 (or #636).
#7D1E72 color RGB value is (125,30,114).
RGB: (125,30,114) (49%,12%,45%)
R 125 of 255 = 49%
G 30 of 255 = 12%
B 114 of 255 = 45%
R + G + B ~ 35%. #7D1E72 is quite dark color.
R + G + B =
125 + 30 + 114 = 269 (100%)
R 125 of 269 ~ 46.47%
G 30 of 269 ~ 11.15%
B 114 of 269 ~ 42.38%
#7D1E72 color CMYK value is (0,76,9,51).
CMYK: (0,76,9,51) C0M76Y9K51 (0%,76%,9%,51%) (0.00/0.76/0.09/0.51)
7D | 1E | 72 | |
---|---|---|---|
RGB | 125 | 30 | 114 |
HSL | 307° | 61.29% | 30.39% |
HSB/HSV | 307° | 76.00% | 49.02% |
CMYK | 0.00% | 76.00% | 8.80% |
50.98% |
HEX | 7D | 1E | 72 |
Decimal | 125 | 30 | 114 |
Binary | 1111101 | 11110 | 1110010 |
Octal | 175 | 36 | 162 |
Examples of css and html codes for elements with #7D1E72 color. Also use rgb(125,30,114) instead hex code.
.myTextColor { color: #7D1E72; }
<p style="color:#7D1E72">This sample text font color is #7D1E72.</p>
This text font color is #7D1E72.
.myBgColor { background-color: #7D1E72; }
<div style="background-color:#7D1E72">Inner text</div>
This div background color is #7D1E72.
.myBorderColor { border: 1px solid #7D1E72; }
<div style="border:3px solid #7D1E72">Div</div>
This div border color is #7D1E72.
.myOpacity80 { color: #7D1E72; opacity: 0.8; }
<p style="color:#7D1E72;opacity:0.8;">80%</p>
Text with #7D1E72 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D1E72;}
<p style="text-shadow: 3px 3px 1px #7D1E72">Text here.</p>
This text has shadow with #7D1E72 color.
.textShadow {text-shadow: 3px 3px 1px #7D1E72, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D1E72, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D1E72 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D1E72, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D1E72, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D1E72 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D1E72; -webkit-box-shadow: 1px 1px 3px 2px #7D1E72; box-shadow: 1px 1px 3px 2px #7D1E72; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D1E72; -webkit-box-shadow: 1px 1px 3px 2px #7D1E72; box-shadow:1px 1px 3px 2px #7D1E72;">
Div content here</div>
This text has color #7D1E72 on black background.
This text has color #7D1E72 on white background.
This text has black color on #7D1E72 background.
This text has white color on #7D1E72 background.