COLOR #8E798C

HEX: #8E798C RGB: (142,121,140)

Color info

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

RGB color model

#8E798C color RGB value is (142,121,140).

RGB: (142,121,140) (56%, 47%, 55%)

RGB channels and saturation

R 142 of 255 = 56%
G 121 of 255 = 47%
B 140 of 255 = 55%

142
121
140

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

Portions of RGB colors in percentages

R + G + B = 142 + 121 + 140 = 403 (100%)
R 142 of 403 ~ 35.24%
G 121 of 403 ~ 30.02%
B 140 of 403 ~ 34.74'%

%35.24
%30.02
%34.74

CMYK color model

#8E798C color CMYK value is (0,15,1,44).

  • cyan value is 0.00%
  • magenta value is 14.79%
  • yellow value is 1.41%
  • key color value is 44.31%

CMYK: (0,15,1,44)
C0M15Y1K44 (0%, 15%, 1%, 44%)
(0.00 / 0.15 / 0.01 / 0.44)

CMYK percentages

%0
%14.79
%1.41
%44.31

Codes

Color #8E798C in popluar color models

8E 79 8C
RGB 142 121 140
HSL 306° 8.50% 51.57%
HSB/HSV 306° 14.79% 55.69%
CMYK 0.00% 14.79% 1.41%
44.31%

Color #8E798C in popluar number systems.

HEX 8E 79 8C
Decimal 142 121 140
Binary 10001110 1111001 10001100
Octal 216 171 214

Shades and tints

Shades of #8E798C

#8E798C
(142,121,140)
#826E80
(130,110,128)
#766374
(118,99,116)
#6A5868
(106,88,104)
#5E4D5C
(94,77,92)
#524250
(82,66,80)
#463744
(70,55,68)
#3A2C38
(58,44,56)
#2E212C
(46,33,44)
#221620
(34,22,32)
#160B14
(22,11,20)
#000000
(0,0,0)

Tints of #8E798C

#8E798C
(142,121,140)
#988596
(152,133,150)
#A291A0
(162,145,160)
#AC9DAA
(172,157,170)
#B6A9B4
(182,169,180)
#C0B5BE
(192,181,190)
#CAC1C8
(202,193,200)
#D4CDD2
(212,205,210)
#DED9DC
(222,217,220)
#E8E5E6
(232,229,230)
#F2F1F0
(242,241,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8E798C color. Also use rgb(142,121,140) instead hex code.

Text Font Color

.myTextColor { color: #8E798C; }

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

This text font color is #8E798C.

Background Color

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

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

This div background color is #8E798C.

Border color

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

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

This div border color is #8E798C.

Opacity

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

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

Text with #8E798C 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 #8E798C;}

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

This text has shadow with #8E798C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #8E798C.

Preview

Color preview on black background

This text has color #8E798C on black background.


Color preview on white background

This text has color #8E798C on white background.


Black color preview on #8E798C background

This text has black color on #8E798C background.


White color preview on #8E798C background

This text has white color on #8E798C background.


Related colors

Complementary color

Complementary color for #hex is #718673.


I love getcolorcode.com

Triadic colors

1 #8C8E79 and #798C8E with #8E798C are triadic colors.

2 #8C798E and #798E8C with #8E798C are triadic colors.