COLOR #874E8A

HEX: #874E8A RGB: (135,78,138)

Color info

#874E8A contains mainly red and blue colors. Web safe color of #874E8A is #996699 (or #969).

RGB color model

#874E8A color RGB value is (135,78,138).

RGB: (135,78,138) (53%, 31%, 54%)

RGB channels and saturation

R 135 of 255 = 53%
G 78 of 255 = 31%
B 138 of 255 = 54%

135
78
138

R + G + B ~ 46%. #874E8A is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 135 + 78 + 138 = 351 (100%)
R 135 of 351 ~ 38.46%
G 78 of 351 ~ 22.22%
B 138 of 351 ~ 39.32'%

%38.46
%22.22
%39.32

CMYK color model

#874E8A color CMYK value is (2,43,0,46).

  • cyan value is 2.17%
  • magenta value is 43.48%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK: (2,43,0,46) C2M43Y0K46 (2%,43%,0%,46%) (0.02/0.43/0.00/0.46) 

CMYK percentages

%2.17
%43.48
%0
%45.88

Codes

Color #874E8A in popluar color models

87 4E 8A
RGB 135 78 138
HSL 297° 27.78% 42.35%
HSB/HSV 297° 43.48% 54.12%
CMYK 2.17% 43.48% 0.00%
45.88%

Color #874E8A in popluar number systems.

HEX 87 4E 8A
Decimal 135 78 138
Binary 10000111 1001110 10001010
Octal 207 116 212

Shades and tints

Shades of #874E8A

#874E8A
(135,78,138)
#7B477E
(123,71,126)
#6F4072
(111,64,114)
#633966
(99,57,102)
#57325A
(87,50,90)
#4B2B4E
(75,43,78)
#3F2442
(63,36,66)
#331D36
(51,29,54)
#27162A
(39,22,42)
#1B0F1E
(27,15,30)
#0F0812
(15,8,18)
#000000
(0,0,0)

Tints of #874E8A

#874E8A
(135,78,138)
#915E94
(145,94,148)
#9B6E9E
(155,110,158)
#A57EA8
(165,126,168)
#AF8EB2
(175,142,178)
#B99EBC
(185,158,188)
#C3AEC6
(195,174,198)
#CDBED0
(205,190,208)
#D7CEDA
(215,206,218)
#E1DEE4
(225,222,228)
#EBEEEE
(235,238,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #874E8A color. Also use rgb(135,78,138) instead hex code.

Text Font Color

.myTextColor { color: #874E8A; }

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

This text font color is #874E8A.

Background Color

.myBgColor { background-color: #874E8A; }

<div style="background-color:#874E8A">Inner text</div>

This div background color is #874E8A.

Border color

.myBorderColor { border: 1px solid #874E8A; }

<div style="border:3px solid #874E8A">Div</div>

This div border color is #874E8A.

Opacity

.myOpacity80 { color: #874E8A; opacity: 0.8; }

<p style="color:#874E8A;opacity:0.8;">80%</p>

Text with #874E8A 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 #874E8A;}

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

This text has shadow with #874E8A color.


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

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

This text has shadow with #874E8A primary color and red secondary color.


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

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

This text has shadow with #874E8A and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #874E8A.

Preview

Color preview on black background

This text has color #874E8A on black background.


Color preview on white background

This text has color #874E8A on white background.


Black color preview on #874E8A background

This text has black color on #874E8A background.


White color preview on #874E8A background

This text has white color on #874E8A background.


Related colors

Complementary color

Complementary color for #hex is #78B175.


I love getcolorcode.com

Triadic colors

1 #8A874E and #4E8A87 with #874E8A are triadic colors.

2 #8A4E87 and #4E878A with #874E8A are triadic colors.