COLOR #8E42C5

HEX: #8E42C5
RGB: (142,66,197)

Color info

#8E42C5 contains mainly red and blue colors. Web safe color of #8E42C5 is #9933CC (or #93C).

RGB color model

#8E42C5 color RGB value is (142,66,197).

  • red value is 142;
  • green value is 66;
  • blue value is 197.
RGB:
(142,66,197)
(56%,26%,77%)

RGB channels and saturation

R 142 of 255 = 56%
G 66 of 255 = 26%
B 197 of 255 = 77%

142
66
197

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

Portions of RGB colors in percentages

R + G + B =
142 + 66 + 197 = 405 (100%)
R 142 of 405 ~ 35.06%
G 66 of 405 ~ 16.3%
B 197 of 405 ~ 48.64%

%35.06
%16.3
%48.64

CMYK color model

#8E42C5 color CMYK value is (28,66,0,23).

  • cyan value is 27.92%
  • magenta value is 66.50%
  • yellow value is 0.00%
  • key color value is 22.75%
CMYK:
(28,66,0,23)
C28M66Y0K23 
(28%,66%,0%,23%)
(0.28/0.66/0.00/0.23)	

CMYK percentages

%27.92
%66.5
%0
%22.75

Codes

Color #8E42C5 in popluar color models

8E42C5
RGB14266197
HSL275°53.04%51.57%
HSB/HSV275°66.50%77.25%
CMYK27.92%66.50%0.00%
22.75%

Color #8E42C5 in popluar number systems.

HEX8E42C5
Decimal14266197
Binary10001110100001011000101
Octal216102305

Shades and tints

Shades of #8E42C5

#8E42C5
(142,66,197)
#823CB4
(130,60,180)
#7636A3
(118,54,163)
#6A3092
(106,48,146)
#5E2A81
(94,42,129)
#522470
(82,36,112)
#461E5F
(70,30,95)
#3A184E
(58,24,78)
#2E123D
(46,18,61)
#220C2C
(34,12,44)
#16061B
(22,6,27)
#000000
(0,0,0)

Tints of #8E42C5

#8E42C5
(142,66,197)
#9853CA
(152,83,202)
#A264CF
(162,100,207)
#AC75D4
(172,117,212)
#B686D9
(182,134,217)
#C097DE
(192,151,222)
#CAA8E3
(202,168,227)
#D4B9E8
(212,185,232)
#DECAED
(222,202,237)
#E8DBF2
(232,219,242)
#F2ECF7
(242,236,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8E42C5 color. Also use rgb(142,66,197) instead hex code.

Text Font Color

.myTextColor { color: #8E42C5; }

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

This text font color is #8E42C5.


Background Color

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

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

This div background color is #8E42C5.


Border color

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

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

This div border color is #8E42C5.


Opacity

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

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

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

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

This text has shadow with #8E42C5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8E42C5 on black background.


Color preview on white background

This text has color #8E42C5 on white background.



Black color preview on #8E42C5 background

This text has black color on #8E42C5 background.


White color preview on #8E42C5 background

This text has white color on #8E42C5 background.