HEX: #7F509D
RGB: (127,80,157)
#7F509D contains mainly red and blue colors. Web safe color of #7F509D is #666699 (or #669).
#7F509D color RGB value is (127,80,157).
RGB: (127,80,157) (50%,31%,62%)
R 127 of 255 = 50%
G 80 of 255 = 31%
B 157 of 255 = 62%
R + G + B ~ 48%. #7F509D is middle color (not dark and not light).
R + G + B =
127 + 80 + 157 = 364 (100%)
R 127 of 364 ~ 34.89%
G 80 of 364 ~ 21.98%
B 157 of 364 ~ 43.13%
#7F509D color CMYK value is (19,49,0,38).
CMYK: (19,49,0,38) C19M49Y0K38 (19%,49%,0%,38%) (0.19/0.49/0.00/0.38)
7F | 50 | 9D | |
---|---|---|---|
RGB | 127 | 80 | 157 |
HSL | 277° | 32.49% | 46.47% |
HSB/HSV | 277° | 49.04% | 61.57% |
CMYK | 19.11% | 49.04% | 0.00% |
38.43% |
HEX | 7F | 50 | 9D |
Decimal | 127 | 80 | 157 |
Binary | 1111111 | 1010000 | 10011101 |
Octal | 177 | 120 | 235 |
Examples of css and html codes for elements with #7F509D color. Also use rgb(127,80,157) instead hex code.
.myTextColor { color: #7F509D; }
<p style="color:#7F509D">This sample text font color is #7F509D.</p>
This text font color is #7F509D.
.myBgColor { background-color: #7F509D; }
<div style="background-color:#7F509D">Inner text</div>
This div background color is #7F509D.
.myBorderColor { border: 1px solid #7F509D; }
<div style="border:3px solid #7F509D">Div</div>
This div border color is #7F509D.
.myOpacity80 { color: #7F509D; opacity: 0.8; }
<p style="color:#7F509D;opacity:0.8;">80%</p>
Text with #7F509D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7F509D;}
<p style="text-shadow: 3px 3px 1px #7F509D">Text here.</p>
This text has shadow with #7F509D color.
.textShadow {text-shadow: 3px 3px 1px #7F509D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7F509D, 5px 5px 20px red">Text here.</p>
This text has shadow with #7F509D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7F509D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7F509D, Direction=45, Strength=4)">Text</p>
This text has shadow with #7F509D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7F509D; -webkit-box-shadow: 1px 1px 3px 2px #7F509D; box-shadow: 1px 1px 3px 2px #7F509D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7F509D; -webkit-box-shadow: 1px 1px 3px 2px #7F509D; box-shadow:1px 1px 3px 2px #7F509D;">
Div content here</div>
This text has color #7F509D on black background.
This text has color #7F509D on white background.
This text has black color on #7F509D background.
This text has white color on #7F509D background.