HEX: #7D5072
RGB: (125,80,114)
#7D5072 contains red, green and blue colors in about the same proportion. Web safe color of #7D5072 is #666666 (or #666).
#7D5072 color RGB value is (125,80,114).
RGB: (125,80,114) (49%,31%,45%)
R 125 of 255 = 49%
G 80 of 255 = 31%
B 114 of 255 = 45%
R + G + B ~ 42%. #7D5072 is middle color (not dark and not light).
R + G + B =
125 + 80 + 114 = 319 (100%)
R 125 of 319 ~ 39.18%
G 80 of 319 ~ 25.08%
B 114 of 319 ~ 35.74%
#7D5072 color CMYK value is (0,36,9,51).
CMYK: (0,36,9,51) C0M36Y9K51 (0%,36%,9%,51%) (0.00/0.36/0.09/0.51)
7D | 50 | 72 | |
---|---|---|---|
RGB | 125 | 80 | 114 |
HSL | 315° | 21.95% | 40.20% |
HSB/HSV | 315° | 36.00% | 49.02% |
CMYK | 0.00% | 36.00% | 8.80% |
50.98% |
HEX | 7D | 50 | 72 |
Decimal | 125 | 80 | 114 |
Binary | 1111101 | 1010000 | 1110010 |
Octal | 175 | 120 | 162 |
Examples of css and html codes for elements with #7D5072 color. Also use rgb(125,80,114) instead hex code.
.myTextColor { color: #7D5072; }
<p style="color:#7D5072">This sample text font color is #7D5072.</p>
This text font color is #7D5072.
.myBgColor { background-color: #7D5072; }
<div style="background-color:#7D5072">Inner text</div>
This div background color is #7D5072.
.myBorderColor { border: 1px solid #7D5072; }
<div style="border:3px solid #7D5072">Div</div>
This div border color is #7D5072.
.myOpacity80 { color: #7D5072; opacity: 0.8; }
<p style="color:#7D5072;opacity:0.8;">80%</p>
Text with #7D5072 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D5072;}
<p style="text-shadow: 3px 3px 1px #7D5072">Text here.</p>
This text has shadow with #7D5072 color.
.textShadow {text-shadow: 3px 3px 1px #7D5072, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D5072, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D5072 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D5072, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D5072, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D5072 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D5072; -webkit-box-shadow: 1px 1px 3px 2px #7D5072; box-shadow: 1px 1px 3px 2px #7D5072; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D5072; -webkit-box-shadow: 1px 1px 3px 2px #7D5072; box-shadow:1px 1px 3px 2px #7D5072;">
Div content here</div>
This text has color #7D5072 on black background.
This text has color #7D5072 on white background.
This text has black color on #7D5072 background.
This text has white color on #7D5072 background.