COLOR #874887

HEX: #874887
RGB: (135,72,135)

Color info

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

RGB color model

#874887 color RGB value is (135,72,135).

  • red value is 135;
  • green value is 72;
  • blue value is 135.
RGB:
(135,72,135)
(53%,28%,53%)

RGB channels and saturation

R 135 of 255 = 53%
G 72 of 255 = 28%
B 135 of 255 = 53%

135
72
135

R + G + B ~ 45%. #874887 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
135 + 72 + 135 = 342 (100%)
R 135 of 342 ~ 39.47%
G 72 of 342 ~ 21.05%
B 135 of 342 ~ 39.47%

%39.47
%21.05
%39.47

CMYK color model

#874887 color CMYK value is (0,47,0,47).

  • cyan value is 0.00%
  • magenta value is 46.67%
  • yellow value is 0.00%
  • key color value is 47.06%
CMYK:
(0,47,0,47)
C0M47Y0K47 
(0%,47%,0%,47%)
(0.00/0.47/0.00/0.47)	

CMYK percentages

%0
%46.67
%0
%47.06

Codes

Color #874887 in popluar color models

874887
RGB13572135
HSL300°30.43%40.59%
HSB/HSV300°46.67%52.94%
CMYK0.00%46.67%0.00%
47.06%

Color #874887 in popluar number systems.

HEX874887
Decimal13572135
Binary10000111100100010000111
Octal207110207

Shades and tints

Shades of #874887

#874887
(135,72,135)
#7B427B
(123,66,123)
#6F3C6F
(111,60,111)
#633663
(99,54,99)
#573057
(87,48,87)
#4B2A4B
(75,42,75)
#3F243F
(63,36,63)
#331E33
(51,30,51)
#271827
(39,24,39)
#1B121B
(27,18,27)
#0F0C0F
(15,12,15)
#000000
(0,0,0)

Tints of #874887

#874887
(135,72,135)
#915891
(145,88,145)
#9B689B
(155,104,155)
#A578A5
(165,120,165)
#AF88AF
(175,136,175)
#B998B9
(185,152,185)
#C3A8C3
(195,168,195)
#CDB8CD
(205,184,205)
#D7C8D7
(215,200,215)
#E1D8E1
(225,216,225)
#EBE8EB
(235,232,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #874887 color. Also use rgb(135,72,135) instead hex code.

Text Font Color

.myTextColor { color: #874887; }

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

This text font color is #874887.


Background Color

.myBgColor { background-color: #874887; }

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

This div background color is #874887.


Border color

.myBorderColor { border: 1px solid #874887; }

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

This div border color is #874887.


Opacity

.myOpacity80 { color: #874887; opacity: 0.8; }

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

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

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

This text has shadow with #874887 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #874887 on black background.


Color preview on white background

This text has color #874887 on white background.



Black color preview on #874887 background

This text has black color on #874887 background.


White color preview on #874887 background

This text has white color on #874887 background.