COLOR #7871A5

HEX: #7871A5
RGB: (120,113,165)

Color info

#7871A5 contains red, green and blue colors in about the same proportion. Web safe color of #7871A5 is #666699 (or #669).

RGB color model

#7871A5 color RGB value is (120,113,165).

  • red value is 120;
  • green value is 113;
  • blue value is 165.
RGB:
(120,113,165)
(47%,44%,65%)

RGB channels and saturation

R 120 of 255 = 47%
G 113 of 255 = 44%
B 165 of 255 = 65%

120
113
165

R + G + B ~ 52%. #7871A5 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
120 + 113 + 165 = 398 (100%)
R 120 of 398 ~ 30.15%
G 113 of 398 ~ 28.39%
B 165 of 398 ~ 41.46%

%30.15
%28.39
%41.46

CMYK color model

#7871A5 color CMYK value is (27,32,0,35).

  • cyan value is 27.27%
  • magenta value is 31.52%
  • yellow value is 0.00%
  • key color value is 35.29%
CMYK:
(27,32,0,35)
C27M32Y0K35 
(27%,32%,0%,35%)
(0.27/0.32/0.00/0.35)	

CMYK percentages

%27.27
%31.52
%0
%35.29

Codes

Color #7871A5 in popluar color models

7871A5
RGB120113165
HSL248°22.41%54.51%
HSB/HSV248°31.52%64.71%
CMYK27.27%31.52%0.00%
35.29%

Color #7871A5 in popluar number systems.

HEX7871A5
Decimal120113165
Binary1111000111000110100101
Octal170161245

Shades and tints

Shades of #7871A5

#7871A5
(120,113,165)
#6E6796
(110,103,150)
#645D87
(100,93,135)
#5A5378
(90,83,120)
#504969
(80,73,105)
#463F5A
(70,63,90)
#3C354B
(60,53,75)
#322B3C
(50,43,60)
#28212D
(40,33,45)
#1E171E
(30,23,30)
#140D0F
(20,13,15)
#000000
(0,0,0)

Tints of #7871A5

#7871A5
(120,113,165)
#847DAD
(132,125,173)
#9089B5
(144,137,181)
#9C95BD
(156,149,189)
#A8A1C5
(168,161,197)
#B4ADCD
(180,173,205)
#C0B9D5
(192,185,213)
#CCC5DD
(204,197,221)
#D8D1E5
(216,209,229)
#E4DDED
(228,221,237)
#F0E9F5
(240,233,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7871A5 color. Also use rgb(120,113,165) instead hex code.

Text Font Color

.myTextColor { color: #7871A5; }

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

This text font color is #7871A5.


Background Color

.myBgColor { background-color: #7871A5; }

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

This div background color is #7871A5.


Border color

.myBorderColor { border: 1px solid #7871A5; }

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

This div border color is #7871A5.


Opacity

.myOpacity80 { color: #7871A5; opacity: 0.8; }

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

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

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

This text has shadow with #7871A5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7871A5 on black background.


Color preview on white background

This text has color #7871A5 on white background.



Black color preview on #7871A5 background

This text has black color on #7871A5 background.


White color preview on #7871A5 background

This text has white color on #7871A5 background.