HEX: #7F486D
RGB: (127,72,109)
#7F486D contains red, green and blue colors in about the same proportion. Web safe color of #7F486D is #663366 (or #636).
#7F486D color RGB value is (127,72,109).
RGB: (127,72,109) (50%,28%,43%)
R 127 of 255 = 50%
G 72 of 255 = 28%
B 109 of 255 = 43%
R + G + B ~ 40%. #7F486D is middle color (not dark and not light).
R + G + B =
127 + 72 + 109 = 308 (100%)
R 127 of 308 ~ 41.23%
G 72 of 308 ~ 23.38%
B 109 of 308 ~ 35.39%
#7F486D color CMYK value is (0,43,14,50).
CMYK: (0,43,14,50) C0M43Y14K50 (0%,43%,14%,50%) (0.00/0.43/0.14/0.50)
7F | 48 | 6D | |
---|---|---|---|
RGB | 127 | 72 | 109 |
HSL | 320° | 27.64% | 39.02% |
HSB/HSV | 320° | 43.31% | 49.80% |
CMYK | 0.00% | 43.31% | 14.17% |
50.20% |
HEX | 7F | 48 | 6D |
Decimal | 127 | 72 | 109 |
Binary | 1111111 | 1001000 | 1101101 |
Octal | 177 | 110 | 155 |
Examples of css and html codes for elements with #7F486D color. Also use rgb(127,72,109) instead hex code.
.myTextColor { color: #7F486D; }
<p style="color:#7F486D">This sample text font color is #7F486D.</p>
This text font color is #7F486D.
.myBgColor { background-color: #7F486D; }
<div style="background-color:#7F486D">Inner text</div>
This div background color is #7F486D.
.myBorderColor { border: 1px solid #7F486D; }
<div style="border:3px solid #7F486D">Div</div>
This div border color is #7F486D.
.myOpacity80 { color: #7F486D; opacity: 0.8; }
<p style="color:#7F486D;opacity:0.8;">80%</p>
Text with #7F486D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7F486D;}
<p style="text-shadow: 3px 3px 1px #7F486D">Text here.</p>
This text has shadow with #7F486D color.
.textShadow {text-shadow: 3px 3px 1px #7F486D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7F486D, 5px 5px 20px red">Text here.</p>
This text has shadow with #7F486D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7F486D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7F486D, Direction=45, Strength=4)">Text</p>
This text has shadow with #7F486D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7F486D; -webkit-box-shadow: 1px 1px 3px 2px #7F486D; box-shadow: 1px 1px 3px 2px #7F486D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7F486D; -webkit-box-shadow: 1px 1px 3px 2px #7F486D; box-shadow:1px 1px 3px 2px #7F486D;">
Div content here</div>
This text has color #7F486D on black background.
This text has color #7F486D on white background.
This text has black color on #7F486D background.
This text has white color on #7F486D background.