COLOR #8E2A98

HEX: #8E2A98 RGB: (142,42,152)

Color info

#8E2A98 contains mainly red and blue colors. Web safe color of #8E2A98 is #993399 (or #939).

RGB color model

#8E2A98 color RGB value is (142,42,152).

RGB: (142,42,152) (56%, 16%, 60%)

RGB channels and saturation

R 142 of 255 = 56%
G 42 of 255 = 16%
B 152 of 255 = 60%

142
42
152

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

Portions of RGB colors in percentages

R + G + B = 142 + 42 + 152 = 336 (100%)
R 142 of 336 ~ 42.26%
G 42 of 336 ~ 12.5%
B 152 of 336 ~ 45.24'%

%42.26
%12.5
%45.24

CMYK color model

#8E2A98 color CMYK value is (7,72,0,40).

  • cyan value is 6.58%
  • magenta value is 72.37%
  • yellow value is 0.00%
  • key color value is 40.39%

CMYK: (7,72,0,40)
C7M72Y0K40 (7%, 72%, 0%, 40%)
(0.07 / 0.72 / 0.00 / 0.40)

CMYK percentages

%6.58
%72.37
%0
%40.39

Codes

Color #8E2A98 in popluar color models

8E 2A 98
RGB 142 42 152
HSL 295° 56.70% 38.04%
HSB/HSV 295° 72.37% 59.61%
CMYK 6.58% 72.37% 0.00%
40.39%

Color #8E2A98 in popluar number systems.

HEX 8E 2A 98
Decimal 142 42 152
Binary 10001110 101010 10011000
Octal 216 52 230

Shades and tints

Shades of #8E2A98

#8E2A98
(142,42,152)
#82278B
(130,39,139)
#76247E
(118,36,126)
#6A2171
(106,33,113)
#5E1E64
(94,30,100)
#521B57
(82,27,87)
#46184A
(70,24,74)
#3A153D
(58,21,61)
#2E1230
(46,18,48)
#220F23
(34,15,35)
#160C16
(22,12,22)
#000000
(0,0,0)

Tints of #8E2A98

#8E2A98
(142,42,152)
#983DA1
(152,61,161)
#A250AA
(162,80,170)
#AC63B3
(172,99,179)
#B676BC
(182,118,188)
#C089C5
(192,137,197)
#CA9CCE
(202,156,206)
#D4AFD7
(212,175,215)
#DEC2E0
(222,194,224)
#E8D5E9
(232,213,233)
#F2E8F2
(242,232,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8E2A98 color. Also use rgb(142,42,152) instead hex code.

Text Font Color

.myTextColor { color: #8E2A98; }

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

This text font color is #8E2A98.

Background Color

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

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

This div background color is #8E2A98.

Border color

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

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

This div border color is #8E2A98.

Opacity

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

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

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

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

This text has shadow with #8E2A98 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #8E2A98.

Preview

Color preview on black background

This text has color #8E2A98 on black background.


Color preview on white background

This text has color #8E2A98 on white background.


Black color preview on #8E2A98 background

This text has black color on #8E2A98 background.


White color preview on #8E2A98 background

This text has white color on #8E2A98 background.


Related colors

Complementary color

Complementary color for #hex is #71D567.


I love getcolorcode.com

Triadic colors

1 #988E2A and #2A988E with #8E2A98 are triadic colors.

2 #982A8E and #2A8E98 with #8E2A98 are triadic colors.