COLOR #8C178A

HEX: #8C178A
RGB: (140,23,138)

Color info

#8C178A contains mainly red and blue colors. Web safe color of #8C178A is #990099 (or #909).

RGB color model

#8C178A color RGB value is (140,23,138).

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

RGB channels and saturation

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

140
23
138

R + G + B ~ 39%. #8C178A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
140 + 23 + 138 = 301 (100%)
R 140 of 301 ~ 46.51%
G 23 of 301 ~ 7.64%
B 138 of 301 ~ 45.85%

%46.51
%45.85

CMYK color model

#8C178A color CMYK value is (0,84,1,45).

  • cyan value is 0.00%
  • magenta value is 83.57%
  • yellow value is 1.43%
  • key color value is 45.10%
CMYK:
(0,84,1,45)
C0M84Y1K45 
(0%,84%,1%,45%)
(0.00/0.84/0.01/0.45)	

CMYK percentages

%0
%83.57
%1.43
%45.1

Codes

Color #8C178A in popluar color models

8C178A
RGB14023138
HSL301°71.78%31.96%
HSB/HSV301°83.57%54.90%
CMYK0.00%83.57%1.43%
45.10%

Color #8C178A in popluar number systems.

HEX8C178A
Decimal14023138
Binary100011001011110001010
Octal21427212

Shades and tints

Shades of #8C178A

#8C178A
(140,23,138)
#80157E
(128,21,126)
#741372
(116,19,114)
#681166
(104,17,102)
#5C0F5A
(92,15,90)
#500D4E
(80,13,78)
#440B42
(68,11,66)
#380936
(56,9,54)
#2C072A
(44,7,42)
#20051E
(32,5,30)
#140312
(20,3,18)
#000000
(0,0,0)

Tints of #8C178A

#8C178A
(140,23,138)
#962C94
(150,44,148)
#A0419E
(160,65,158)
#AA56A8
(170,86,168)
#B46BB2
(180,107,178)
#BE80BC
(190,128,188)
#C895C6
(200,149,198)
#D2AAD0
(210,170,208)
#DCBFDA
(220,191,218)
#E6D4E4
(230,212,228)
#F0E9EE
(240,233,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8C178A; }

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

This text font color is #8C178A.


Background Color

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

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

This div background color is #8C178A.


Border color

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

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

This div border color is #8C178A.


Opacity

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

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

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

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

This text has shadow with #8C178A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8C178A on black background.


Color preview on white background

This text has color #8C178A on white background.



Black color preview on #8C178A background

This text has black color on #8C178A background.


White color preview on #8C178A background

This text has white color on #8C178A background.