COLOR #8C5787

HEX: #8C5787 RGB: (140,87,135)

Color info

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

RGB color model

#8C5787 color RGB value is (140,87,135).

RGB: (140,87,135) (55%, 34%, 53%)

RGB channels and saturation

R 140 of 255 = 55%
G 87 of 255 = 34%
B 135 of 255 = 53%

140
87
135

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

Portions of RGB colors in percentages

R + G + B = 140 + 87 + 135 = 362 (100%)
R 140 of 362 ~ 38.67%
G 87 of 362 ~ 24.03%
B 135 of 362 ~ 37.29'%

%38.67
%24.03
%37.29

CMYK color model

#8C5787 color CMYK value is (0,38,4,45).

  • cyan value is 0.00%
  • magenta value is 37.86%
  • yellow value is 3.57%
  • key color value is 45.10%

CMYK: (0,38,4,45)
C0M38Y4K45 (0%, 38%, 4%, 45%)
(0.00 / 0.38 / 0.04 / 0.45)

CMYK percentages

%0
%37.86
%3.57
%45.1

Codes

Color #8C5787 in popluar color models

8C 57 87
RGB 140 87 135
HSL 306° 23.35% 44.51%
HSB/HSV 306° 37.86% 54.90%
CMYK 0.00% 37.86% 3.57%
45.10%

Color #8C5787 in popluar number systems.

HEX 8C 57 87
Decimal 140 87 135
Binary 10001100 1010111 10000111
Octal 214 127 207

Shades and tints

Shades of #8C5787

#8C5787
(140,87,135)
#80507B
(128,80,123)
#74496F
(116,73,111)
#684263
(104,66,99)
#5C3B57
(92,59,87)
#50344B
(80,52,75)
#442D3F
(68,45,63)
#382633
(56,38,51)
#2C1F27
(44,31,39)
#20181B
(32,24,27)
#14110F
(20,17,15)
#000000
(0,0,0)

Tints of #8C5787

#8C5787
(140,87,135)
#966691
(150,102,145)
#A0759B
(160,117,155)
#AA84A5
(170,132,165)
#B493AF
(180,147,175)
#BEA2B9
(190,162,185)
#C8B1C3
(200,177,195)
#D2C0CD
(210,192,205)
#DCCFD7
(220,207,215)
#E6DEE1
(230,222,225)
#F0EDEB
(240,237,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8C5787 color. Also use rgb(140,87,135) instead hex code.

Text Font Color

.myTextColor { color: #8C5787; }

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

This text font color is #8C5787.

Background Color

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

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

This div background color is #8C5787.

Border color

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

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

This div border color is #8C5787.

Opacity

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

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

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

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

This text has shadow with #8C5787 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #8C5787.

Preview

Color preview on black background

This text has color #8C5787 on black background.


Color preview on white background

This text has color #8C5787 on white background.


Black color preview on #8C5787 background

This text has black color on #8C5787 background.


White color preview on #8C5787 background

This text has white color on #8C5787 background.


Related colors

Complementary color

Complementary color for #hex is #73A878.


I love getcolorcode.com

Triadic colors

1 #878C57 and #57878C with #8C5787 are triadic colors.

2 #87578C and #578C87 with #8C5787 are triadic colors.