HEX: #8C789B
RGB: (140,120,155)
#8C789B contains red, green and blue colors in about the same proportion. Web safe color of #8C789B is #996699 (or #969).
#8C789B color RGB value is (140,120,155).
RGB: (140,120,155)
(55%, 47%, 61%)
R 140 of 255 = 55%
G 120 of 255 = 47%
B 155 of 255 = 61%
R + G + B ~ 54%. #8C789B is middle color (not dark and not light).
R + G + B = 140 + 120 + 155 = 415 (100%)
R 140 of 415 ~ 33.73%
G 120 of 415 ~ 28.92%
B 155 of 415 ~ 37.35'%
#8C789B color CMYK value is (10,23,0,39).
CMYK: (10,23,0,39)
C10M23Y0K39 (10%, 23%, 0%, 39%)
(0.10 / 0.23 / 0.00 / 0.39)
Color #8C789B in popluar color models
8C | 78 | 9B | |
---|---|---|---|
RGB | 140 | 120 | 155 |
HSL | 274° | 14.89% | 53.92% |
HSB/HSV | 274° | 22.58% | 60.78% |
CMYK | 9.68% | 22.58% | 0.00% |
39.22% |
Color #8C789B in popluar number systems.
HEX | 8C | 78 | 9B |
Decimal | 140 | 120 | 155 |
Binary | 10001100 | 1111000 | 10011011 |
Octal | 214 | 170 | 233 |
Shades of #8C789B
Tints of #8C789B
Examples of css and html codes for elements with #8C789B color. Also use rgb(140,120,155) instead hex code.
.myTextColor { color: #8C789B; }
<p style="color:#8C789B">This sample text font color is #8C789B.</p>
This text font color is #8C789B.
.myBgColor { background-color: #8C789B; }
<div style="background-color:#8C789B">Inner text</div>
This div background color is #8C789B.
.myBorderColor { border: 1px solid #8C789B; }
<div style="border:3px solid #8C789B">Div</div>
This div border color is #8C789B.
.myOpacity80 { color: #8C789B; opacity: 0.8; }
<p style="color:#8C789B;opacity:0.8;">80%</p>
Text with #8C789B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C789B;}
<p style="text-shadow: 3px 3px 1px #8C789B">Text here.</p>
This text has shadow with #8C789B color.
.textShadow {text-shadow: 3px 3px 1px #8C789B', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C789B, 5px 5px 20px red">Text here.</p>
This text has shadow with #8C789B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C789B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C789B, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C789B and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #8C789B;
-webkit-box-shadow: 1px 1px 3px 2px #8C789B;
box-shadow: 1px 1px 3px 2px #8C789B;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #8C789B; -webkit-box-shadow: 1px 1px 3px 2px #8C789B; box-shadow:1px 1px 3px 2px #8C789B;">
Div content here
</div>
This text has color #8C789B on black background.
This text has color #8C789B on white background.
This text has black color on #8C789B background.
This text has white color on #8C789B background.
Complementary color for #hex is #738764.