COLOR #8940B2

HEX: #8940B2
RGB: (137,64,178)

Color info

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

RGB color model

#8940B2 color RGB value is (137,64,178).

  • red value is 137;
  • green value is 64;
  • blue value is 178.
RGB:
(137,64,178)
(54%,25%,70%)

RGB channels and saturation

R 137 of 255 = 54%
G 64 of 255 = 25%
B 178 of 255 = 70%

137
64
178

R + G + B ~ 50%. #8940B2 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
137 + 64 + 178 = 379 (100%)
R 137 of 379 ~ 36.15%
G 64 of 379 ~ 16.89%
B 178 of 379 ~ 46.97%

%36.15
%16.89
%46.97

CMYK color model

#8940B2 color CMYK value is (23,64,0,30).

  • cyan value is 23.03%
  • magenta value is 64.04%
  • yellow value is 0.00%
  • key color value is 30.20%
CMYK:
(23,64,0,30)
C23M64Y0K30 
(23%,64%,0%,30%)
(0.23/0.64/0.00/0.30)	

CMYK percentages

%23.03
%64.04
%0
%30.2

Codes

Color #8940B2 in popluar color models

8940B2
RGB13764178
HSL278°47.11%47.45%
HSB/HSV278°64.04%69.80%
CMYK23.03%64.04%0.00%
30.20%

Color #8940B2 in popluar number systems.

HEX8940B2
Decimal13764178
Binary10001001100000010110010
Octal211100262

Shades and tints

Shades of #8940B2

#8940B2
(137,64,178)
#7D3BA2
(125,59,162)
#713692
(113,54,146)
#653182
(101,49,130)
#592C72
(89,44,114)
#4D2762
(77,39,98)
#412252
(65,34,82)
#351D42
(53,29,66)
#291832
(41,24,50)
#1D1322
(29,19,34)
#110E12
(17,14,18)
#000000
(0,0,0)

Tints of #8940B2

#8940B2
(137,64,178)
#9351B9
(147,81,185)
#9D62C0
(157,98,192)
#A773C7
(167,115,199)
#B184CE
(177,132,206)
#BB95D5
(187,149,213)
#C5A6DC
(197,166,220)
#CFB7E3
(207,183,227)
#D9C8EA
(217,200,234)
#E3D9F1
(227,217,241)
#EDEAF8
(237,234,248)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8940B2 color. Also use rgb(137,64,178) instead hex code.

Text Font Color

.myTextColor { color: #8940B2; }

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

This text font color is #8940B2.


Background Color

.myBgColor { background-color: #8940B2; }

<div style="background-color:#8940B2">Inner text</div>

This div background color is #8940B2.


Border color

.myBorderColor { border: 1px solid #8940B2; }

<div style="border:3px solid #8940B2">Div</div>

This div border color is #8940B2.


Opacity

.myOpacity80 { color: #8940B2; opacity: 0.8; }

<p style="color:#8940B2;opacity:0.8;">80%</p>

Text with #8940B2 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 #8940B2;}

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

This text has shadow with #8940B2 color.

.textShadow {text-shadow: 3px 3px 1px #8940B2, 3px 3px 1px red;}

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

This text has shadow with #8940B2 primary color and red secondary color.


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

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

This text has shadow with #8940B2 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8940B2 on black background.


Color preview on white background

This text has color #8940B2 on white background.



Black color preview on #8940B2 background

This text has black color on #8940B2 background.


White color preview on #8940B2 background

This text has white color on #8940B2 background.