COLOR #8C3B8A

HEX: #8C3B8A
RGB: (140,59,138)

Color info

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

RGB color model

#8C3B8A color RGB value is (140,59,138).

  • red value is 140;
  • green value is 59;
  • blue value is 138.
RGB:
(140,59,138)
(55%,23%,54%)

RGB channels and saturation

R 140 of 255 = 55%
G 59 of 255 = 23%
B 138 of 255 = 54%

140
59
138

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

Portions of RGB colors in percentages

R + G + B =
140 + 59 + 138 = 337 (100%)
R 140 of 337 ~ 41.54%
G 59 of 337 ~ 17.51%
B 138 of 337 ~ 40.95%

%41.54
%17.51
%40.95

CMYK color model

#8C3B8A color CMYK value is (0,58,1,45).

  • cyan value is 0.00%
  • magenta value is 57.86%
  • yellow value is 1.43%
  • key color value is 45.10%
CMYK:
(0,58,1,45)
C0M58Y1K45 
(0%,58%,1%,45%)
(0.00/0.58/0.01/0.45)	

CMYK percentages

%0
%57.86
%1.43
%45.1

Codes

Color #8C3B8A in popluar color models

8C3B8A
RGB14059138
HSL301°40.70%39.02%
HSB/HSV301°57.86%54.90%
CMYK0.00%57.86%1.43%
45.10%

Color #8C3B8A in popluar number systems.

HEX8C3B8A
Decimal14059138
Binary1000110011101110001010
Octal21473212

Shades and tints

Shades of #8C3B8A

#8C3B8A
(140,59,138)
#80367E
(128,54,126)
#743172
(116,49,114)
#682C66
(104,44,102)
#5C275A
(92,39,90)
#50224E
(80,34,78)
#441D42
(68,29,66)
#381836
(56,24,54)
#2C132A
(44,19,42)
#200E1E
(32,14,30)
#140912
(20,9,18)
#000000
(0,0,0)

Tints of #8C3B8A

#8C3B8A
(140,59,138)
#964C94
(150,76,148)
#A05D9E
(160,93,158)
#AA6EA8
(170,110,168)
#B47FB2
(180,127,178)
#BE90BC
(190,144,188)
#C8A1C6
(200,161,198)
#D2B2D0
(210,178,208)
#DCC3DA
(220,195,218)
#E6D4E4
(230,212,228)
#F0E5EE
(240,229,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8C3B8A color. Also use rgb(140,59,138) instead hex code.

Text Font Color

.myTextColor { color: #8C3B8A; }

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

This text font color is #8C3B8A.


Background Color

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

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

This div background color is #8C3B8A.


Border color

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

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

This div border color is #8C3B8A.


Opacity

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

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

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

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

This text has shadow with #8C3B8A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8C3B8A on black background.


Color preview on white background

This text has color #8C3B8A on white background.



Black color preview on #8C3B8A background

This text has black color on #8C3B8A background.


White color preview on #8C3B8A background

This text has white color on #8C3B8A background.