HEX: #7D5982
RGB: (125,89,130)
#7D5982 contains red, green and blue colors in about the same proportion. Web safe color of #7D5982 is #666699 (or #669).
#7D5982 color RGB value is (125,89,130).
RGB: (125,89,130) (49%,35%,51%)
R 125 of 255 = 49%
G 89 of 255 = 35%
B 130 of 255 = 51%
R + G + B ~ 45%. #7D5982 is middle color (not dark and not light).
R + G + B =
125 + 89 + 130 = 344 (100%)
R 125 of 344 ~ 36.34%
G 89 of 344 ~ 25.87%
B 130 of 344 ~ 37.79%
#7D5982 color CMYK value is (4,32,0,49).
CMYK: (4,32,0,49) C4M32Y0K49 (4%,32%,0%,49%) (0.04/0.32/0.00/0.49)
7D | 59 | 82 | |
---|---|---|---|
RGB | 125 | 89 | 130 |
HSL | 293° | 18.72% | 42.94% |
HSB/HSV | 293° | 31.54% | 50.98% |
CMYK | 3.85% | 31.54% | 0.00% |
49.02% |
HEX | 7D | 59 | 82 |
Decimal | 125 | 89 | 130 |
Binary | 1111101 | 1011001 | 10000010 |
Octal | 175 | 131 | 202 |
Examples of css and html codes for elements with #7D5982 color. Also use rgb(125,89,130) instead hex code.
.myTextColor { color: #7D5982; }
<p style="color:#7D5982">This sample text font color is #7D5982.</p>
This text font color is #7D5982.
.myBgColor { background-color: #7D5982; }
<div style="background-color:#7D5982">Inner text</div>
This div background color is #7D5982.
.myBorderColor { border: 1px solid #7D5982; }
<div style="border:3px solid #7D5982">Div</div>
This div border color is #7D5982.
.myOpacity80 { color: #7D5982; opacity: 0.8; }
<p style="color:#7D5982;opacity:0.8;">80%</p>
Text with #7D5982 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D5982;}
<p style="text-shadow: 3px 3px 1px #7D5982">Text here.</p>
This text has shadow with #7D5982 color.
.textShadow {text-shadow: 3px 3px 1px #7D5982, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D5982, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D5982 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D5982, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D5982, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D5982 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D5982; -webkit-box-shadow: 1px 1px 3px 2px #7D5982; box-shadow: 1px 1px 3px 2px #7D5982; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D5982; -webkit-box-shadow: 1px 1px 3px 2px #7D5982; box-shadow:1px 1px 3px 2px #7D5982;">
Div content here</div>
This text has color #7D5982 on black background.
This text has color #7D5982 on white background.
This text has black color on #7D5982 background.
This text has white color on #7D5982 background.