COLOR #874F9D

HEX: #874F9D
RGB: (135,79,157)

Color info

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

RGB color model

#874F9D color RGB value is (135,79,157).

  • red value is 135;
  • green value is 79;
  • blue value is 157.
RGB:
(135,79,157)
(53%,31%,62%)

RGB channels and saturation

R 135 of 255 = 53%
G 79 of 255 = 31%
B 157 of 255 = 62%

135
79
157

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

Portions of RGB colors in percentages

R + G + B =
135 + 79 + 157 = 371 (100%)
R 135 of 371 ~ 36.39%
G 79 of 371 ~ 21.29%
B 157 of 371 ~ 42.32%

%36.39
%21.29
%42.32

CMYK color model

#874F9D color CMYK value is (14,50,0,38).

  • cyan value is 14.01%
  • magenta value is 49.68%
  • yellow value is 0.00%
  • key color value is 38.43%
CMYK:
(14,50,0,38)
C14M50Y0K38 
(14%,50%,0%,38%)
(0.14/0.50/0.00/0.38)	

CMYK percentages

%14.01
%49.68
%0
%38.43

Codes

Color #874F9D in popluar color models

874F9D
RGB13579157
HSL283°33.05%46.27%
HSB/HSV283°49.68%61.57%
CMYK14.01%49.68%0.00%
38.43%

Color #874F9D in popluar number systems.

HEX874F9D
Decimal13579157
Binary10000111100111110011101
Octal207117235

Shades and tints

Shades of #874F9D

#874F9D
(135,79,157)
#7B488F
(123,72,143)
#6F4181
(111,65,129)
#633A73
(99,58,115)
#573365
(87,51,101)
#4B2C57
(75,44,87)
#3F2549
(63,37,73)
#331E3B
(51,30,59)
#27172D
(39,23,45)
#1B101F
(27,16,31)
#0F0911
(15,9,17)
#000000
(0,0,0)

Tints of #874F9D

#874F9D
(135,79,157)
#915FA5
(145,95,165)
#9B6FAD
(155,111,173)
#A57FB5
(165,127,181)
#AF8FBD
(175,143,189)
#B99FC5
(185,159,197)
#C3AFCD
(195,175,205)
#CDBFD5
(205,191,213)
#D7CFDD
(215,207,221)
#E1DFE5
(225,223,229)
#EBEFED
(235,239,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #874F9D color. Also use rgb(135,79,157) instead hex code.

Text Font Color

.myTextColor { color: #874F9D; }

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

This text font color is #874F9D.


Background Color

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

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

This div background color is #874F9D.


Border color

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

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

This div border color is #874F9D.


Opacity

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

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

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

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

This text has shadow with #874F9D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #874F9D on black background.


Color preview on white background

This text has color #874F9D on white background.



Black color preview on #874F9D background

This text has black color on #874F9D background.


White color preview on #874F9D background

This text has white color on #874F9D background.