COLOR #8C789E

HEX: #8C789E
RGB: (140,120,158)

Color info

#8C789E contains red, green and blue colors in about the same proportion. Web safe color of #8C789E is #996699 (or #969).

RGB color model

#8C789E color RGB value is (140,120,158).

  • red value is 140;
  • green value is 120;
  • blue value is 158.
RGB:
(140,120,158)
(55%,47%,62%)

RGB channels and saturation

R 140 of 255 = 55%
G 120 of 255 = 47%
B 158 of 255 = 62%

140
120
158

R + G + B ~ 55%. #8C789E is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
140 + 120 + 158 = 418 (100%)
R 140 of 418 ~ 33.49%
G 120 of 418 ~ 28.71%
B 158 of 418 ~ 37.8%

%33.49
%28.71
%37.8

CMYK color model

#8C789E color CMYK value is (11,24,0,38).

  • cyan value is 11.39%
  • magenta value is 24.05%
  • yellow value is 0.00%
  • key color value is 38.04%
CMYK:
(11,24,0,38)
C11M24Y0K38 
(11%,24%,0%,38%)
(0.11/0.24/0.00/0.38)	

CMYK percentages

%11.39
%24.05
%0
%38.04

Codes

Color #8C789E in popluar color models

8C789E
RGB140120158
HSL272°16.38%54.51%
HSB/HSV272°24.05%61.96%
CMYK11.39%24.05%0.00%
38.04%

Color #8C789E in popluar number systems.

HEX8C789E
Decimal140120158
Binary10001100111100010011110
Octal214170236

Shades and tints

Shades of #8C789E

#8C789E
(140,120,158)
#806E90
(128,110,144)
#746482
(116,100,130)
#685A74
(104,90,116)
#5C5066
(92,80,102)
#504658
(80,70,88)
#443C4A
(68,60,74)
#38323C
(56,50,60)
#2C282E
(44,40,46)
#201E20
(32,30,32)
#141412
(20,20,18)
#000000
(0,0,0)

Tints of #8C789E

#8C789E
(140,120,158)
#9684A6
(150,132,166)
#A090AE
(160,144,174)
#AA9CB6
(170,156,182)
#B4A8BE
(180,168,190)
#BEB4C6
(190,180,198)
#C8C0CE
(200,192,206)
#D2CCD6
(210,204,214)
#DCD8DE
(220,216,222)
#E6E4E6
(230,228,230)
#F0F0EE
(240,240,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8C789E color. Also use rgb(140,120,158) instead hex code.

Text Font Color

.myTextColor { color: #8C789E; }

<p style="color:#8C789E">This sample text font color is #8C789E.</p>

This text font color is #8C789E.


Background Color

.myBgColor { background-color: #8C789E; }

<div style="background-color:#8C789E">Inner text</div>

This div background color is #8C789E.


Border color

.myBorderColor { border: 1px solid #8C789E; }

<div style="border:3px solid #8C789E">Div</div>

This div border color is #8C789E.


Opacity

.myOpacity80 { color: #8C789E; opacity: 0.8; }

<p style="color:#8C789E;opacity:0.8;">80%</p>

Text with #8C789E color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #8C789E;}

<p style="text-shadow: 3px 3px 1px #8C789E">Text here.</p>

This text has shadow with #8C789E color.

.textShadow {text-shadow: 3px 3px 1px #8C789E, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #8C789E, 5px 5px 20px red">Text here.</p>

This text has shadow with #8C789E primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C789E, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#8C789E, Direction=45, Strength=4)">Text</p>

This text has shadow with #8C789E and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #8C789E;
  -webkit-box-shadow:	1px 1px 3px 2px #8C789E;
  box-shadow:		1px 1px 3px 2px #8C789E;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #8C789E;
-webkit-box-shadow: 1px 1px 3px 2px #8C789E;
box-shadow:1px 1px 3px 2px #8C789E;">
Div content here</div>
This div box has shadow with color #8C789E.

Preview

Color preview on black background

This text has color #8C789E on black background.


Color preview on white background

This text has color #8C789E on white background.



Black color preview on #8C789E background

This text has black color on #8C789E background.


White color preview on #8C789E background

This text has white color on #8C789E background.