COLOR #8E7AB2

HEX: #8E7AB2
RGB: (142,122,178)

Color info

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

RGB color model

#8E7AB2 color RGB value is (142,122,178).

  • red value is 142;
  • green value is 122;
  • blue value is 178.
RGB:
(142,122,178)
(56%,48%,70%)

RGB channels and saturation

R 142 of 255 = 56%
G 122 of 255 = 48%
B 178 of 255 = 70%

142
122
178

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

Portions of RGB colors in percentages

R + G + B =
142 + 122 + 178 = 442 (100%)
R 142 of 442 ~ 32.13%
G 122 of 442 ~ 27.6%
B 178 of 442 ~ 40.27%

%32.13
%27.6
%40.27

CMYK color model

#8E7AB2 color CMYK value is (20,31,0,30).

  • cyan value is 20.22%
  • magenta value is 31.46%
  • yellow value is 0.00%
  • key color value is 30.20%
CMYK:
(20,31,0,30)
C20M31Y0K30 
(20%,31%,0%,30%)
(0.20/0.31/0.00/0.30)	

CMYK percentages

%20.22
%31.46
%0
%30.2

Codes

Color #8E7AB2 in popluar color models

8E7AB2
RGB142122178
HSL261°26.67%58.82%
HSB/HSV261°31.46%69.80%
CMYK20.22%31.46%0.00%
30.20%

Color #8E7AB2 in popluar number systems.

HEX8E7AB2
Decimal142122178
Binary10001110111101010110010
Octal216172262

Shades and tints

Shades of #8E7AB2

#8E7AB2
(142,122,178)
#826FA2
(130,111,162)
#766492
(118,100,146)
#6A5982
(106,89,130)
#5E4E72
(94,78,114)
#524362
(82,67,98)
#463852
(70,56,82)
#3A2D42
(58,45,66)
#2E2232
(46,34,50)
#221722
(34,23,34)
#160C12
(22,12,18)
#000000
(0,0,0)

Tints of #8E7AB2

#8E7AB2
(142,122,178)
#9886B9
(152,134,185)
#A292C0
(162,146,192)
#AC9EC7
(172,158,199)
#B6AACE
(182,170,206)
#C0B6D5
(192,182,213)
#CAC2DC
(202,194,220)
#D4CEE3
(212,206,227)
#DEDAEA
(222,218,234)
#E8E6F1
(232,230,241)
#F2F2F8
(242,242,248)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8E7AB2 color. Also use rgb(142,122,178) instead hex code.

Text Font Color

.myTextColor { color: #8E7AB2; }

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

This text font color is #8E7AB2.


Background Color

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

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

This div background color is #8E7AB2.


Border color

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

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

This div border color is #8E7AB2.


Opacity

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

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

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

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

This text has shadow with #8E7AB2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8E7AB2 on black background.


Color preview on white background

This text has color #8E7AB2 on white background.



Black color preview on #8E7AB2 background

This text has black color on #8E7AB2 background.


White color preview on #8E7AB2 background

This text has white color on #8E7AB2 background.