COLOR #8C7D9A

HEX: #8C7D9A
RGB: (140,125,154)

Color info

#8C7D9A contains red, green and blue colors in about the same proportion. Web safe color of #8C7D9A is #996699 (or #969).

RGB color model

#8C7D9A color RGB value is (140,125,154).

  • red value is 140;
  • green value is 125;
  • blue value is 154.
RGB:
(140,125,154)
(55%,49%,60%)

RGB channels and saturation

R 140 of 255 = 55%
G 125 of 255 = 49%
B 154 of 255 = 60%

140
125
154

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

Portions of RGB colors in percentages

R + G + B =
140 + 125 + 154 = 419 (100%)
R 140 of 419 ~ 33.41%
G 125 of 419 ~ 29.83%
B 154 of 419 ~ 36.75%

%33.41
%29.83
%36.75

CMYK color model

#8C7D9A color CMYK value is (9,19,0,40).

  • cyan value is 9.09%
  • magenta value is 18.83%
  • yellow value is 0.00%
  • key color value is 39.61%
CMYK:
(9,19,0,40)
C9M19Y0K40 
(9%,19%,0%,40%)
(0.09/0.19/0.00/0.40)	

CMYK percentages

%9.09
%18.83
%0
%39.61

Codes

Color #8C7D9A in popluar color models

8C7D9A
RGB140125154
HSL271°12.55%54.71%
HSB/HSV271°18.83%60.39%
CMYK9.09%18.83%0.00%
39.61%

Color #8C7D9A in popluar number systems.

HEX8C7D9A
Decimal140125154
Binary10001100111110110011010
Octal214175232

Shades and tints

Shades of #8C7D9A

#8C7D9A
(140,125,154)
#80728C
(128,114,140)
#74677E
(116,103,126)
#685C70
(104,92,112)
#5C5162
(92,81,98)
#504654
(80,70,84)
#443B46
(68,59,70)
#383038
(56,48,56)
#2C252A
(44,37,42)
#201A1C
(32,26,28)
#140F0E
(20,15,14)
#000000
(0,0,0)

Tints of #8C7D9A

#8C7D9A
(140,125,154)
#9688A3
(150,136,163)
#A093AC
(160,147,172)
#AA9EB5
(170,158,181)
#B4A9BE
(180,169,190)
#BEB4C7
(190,180,199)
#C8BFD0
(200,191,208)
#D2CAD9
(210,202,217)
#DCD5E2
(220,213,226)
#E6E0EB
(230,224,235)
#F0EBF4
(240,235,244)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8C7D9A color. Also use rgb(140,125,154) instead hex code.

Text Font Color

.myTextColor { color: #8C7D9A; }

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

This text font color is #8C7D9A.


Background Color

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

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

This div background color is #8C7D9A.


Border color

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

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

This div border color is #8C7D9A.


Opacity

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

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

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

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

This text has shadow with #8C7D9A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8C7D9A on black background.


Color preview on white background

This text has color #8C7D9A on white background.



Black color preview on #8C7D9A background

This text has black color on #8C7D9A background.


White color preview on #8C7D9A background

This text has white color on #8C7D9A background.