HEX: #8C737F
RGB: (140,115,127)
#8C737F contains red, green and blue colors in about the same proportion. Web safe color of #8C737F is #996666 (or #966).
#8C737F color RGB value is (140,115,127).
RGB: (140,115,127) (55%,45%,50%)
R 140 of 255 = 55%
G 115 of 255 = 45%
B 127 of 255 = 50%
R + G + B ~ 50%. #8C737F is middle color (not dark and not light).
R + G + B =
140 + 115 + 127 = 382 (100%)
R 140 of 382 ~ 36.65%
G 115 of 382 ~ 30.1%
B 127 of 382 ~ 33.25%
#8C737F color CMYK value is (0,18,9,45).
CMYK: (0,18,9,45) C0M18Y9K45 (0%,18%,9%,45%) (0.00/0.18/0.09/0.45)
8C | 73 | 7F | |
---|---|---|---|
RGB | 140 | 115 | 127 |
HSL | 331° | 9.80% | 50.00% |
HSB/HSV | 331° | 17.86% | 54.90% |
CMYK | 0.00% | 17.86% | 9.29% |
45.10% |
HEX | 8C | 73 | 7F |
Decimal | 140 | 115 | 127 |
Binary | 10001100 | 1110011 | 1111111 |
Octal | 214 | 163 | 177 |
Examples of css and html codes for elements with #8C737F color. Also use rgb(140,115,127) instead hex code.
.myTextColor { color: #8C737F; }
<p style="color:#8C737F">This sample text font color is #8C737F.</p>
This text font color is #8C737F.
.myBgColor { background-color: #8C737F; }
<div style="background-color:#8C737F">Inner text</div>
This div background color is #8C737F.
.myBorderColor { border: 1px solid #8C737F; }
<div style="border:3px solid #8C737F">Div</div>
This div border color is #8C737F.
.myOpacity80 { color: #8C737F; opacity: 0.8; }
<p style="color:#8C737F;opacity:0.8;">80%</p>
Text with #8C737F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C737F;}
<p style="text-shadow: 3px 3px 1px #8C737F">Text here.</p>
This text has shadow with #8C737F color.
.textShadow {text-shadow: 3px 3px 1px #8C737F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C737F, 5px 5px 20px red">Text here.</p>
This text has shadow with #8C737F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C737F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C737F, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C737F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C737F; -webkit-box-shadow: 1px 1px 3px 2px #8C737F; box-shadow: 1px 1px 3px 2px #8C737F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C737F; -webkit-box-shadow: 1px 1px 3px 2px #8C737F; box-shadow:1px 1px 3px 2px #8C737F;">
Div content here</div>
This text has color #8C737F on black background.
This text has color #8C737F on white background.
This text has black color on #8C737F background.
This text has white color on #8C737F background.