HEX: #8F787D
RGB: (143,120,125)
#8F787D contains red, green and blue colors in about the same proportion. Web safe color of #8F787D is #996666 (or #966).
#8F787D color RGB value is (143,120,125).
RGB: (143,120,125) (56%,47%,49%)
R 143 of 255 = 56%
G 120 of 255 = 47%
B 125 of 255 = 49%
R + G + B ~ 51%. #8F787D is middle color (not dark and not light).
R + G + B =
143 + 120 + 125 = 388 (100%)
R 143 of 388 ~ 36.86%
G 120 of 388 ~ 30.93%
B 125 of 388 ~ 32.22%
#8F787D color CMYK value is (0,16,13,44).
CMYK: (0,16,13,44) C0M16Y13K44 (0%,16%,13%,44%) (0.00/0.16/0.13/0.44)
8F | 78 | 7D | |
---|---|---|---|
RGB | 143 | 120 | 125 |
HSL | 347° | 9.31% | 51.57% |
HSB/HSV | 347° | 16.08% | 56.08% |
CMYK | 0.00% | 16.08% | 12.59% |
43.92% |
HEX | 8F | 78 | 7D |
Decimal | 143 | 120 | 125 |
Binary | 10001111 | 1111000 | 1111101 |
Octal | 217 | 170 | 175 |
Examples of css and html codes for elements with #8F787D color. Also use rgb(143,120,125) instead hex code.
.myTextColor { color: #8F787D; }
<p style="color:#8F787D">This sample text font color is #8F787D.</p>
This text font color is #8F787D.
.myBgColor { background-color: #8F787D; }
<div style="background-color:#8F787D">Inner text</div>
This div background color is #8F787D.
.myBorderColor { border: 1px solid #8F787D; }
<div style="border:3px solid #8F787D">Div</div>
This div border color is #8F787D.
.myOpacity80 { color: #8F787D; opacity: 0.8; }
<p style="color:#8F787D;opacity:0.8;">80%</p>
Text with #8F787D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8F787D;}
<p style="text-shadow: 3px 3px 1px #8F787D">Text here.</p>
This text has shadow with #8F787D color.
.textShadow {text-shadow: 3px 3px 1px #8F787D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8F787D, 5px 5px 20px red">Text here.</p>
This text has shadow with #8F787D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8F787D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8F787D, Direction=45, Strength=4)">Text</p>
This text has shadow with #8F787D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8F787D; -webkit-box-shadow: 1px 1px 3px 2px #8F787D; box-shadow: 1px 1px 3px 2px #8F787D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8F787D; -webkit-box-shadow: 1px 1px 3px 2px #8F787D; box-shadow:1px 1px 3px 2px #8F787D;">
Div content here</div>
This text has color #8F787D on black background.
This text has color #8F787D on white background.
This text has black color on #8F787D background.
This text has white color on #8F787D background.