COLOR #786D8C

HEX: #786D8C
RGB: (120,109,140)

Color info

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

RGB color model

#786D8C color RGB value is (120,109,140).

  • red value is 120;
  • green value is 109;
  • blue value is 140.
RGB:
(120,109,140)
(47%,43%,55%)

RGB channels and saturation

R 120 of 255 = 47%
G 109 of 255 = 43%
B 140 of 255 = 55%

120
109
140

R + G + B ~ 48%. #786D8C is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
120 + 109 + 140 = 369 (100%)
R 120 of 369 ~ 32.52%
G 109 of 369 ~ 29.54%
B 140 of 369 ~ 37.94%

%32.52
%29.54
%37.94

CMYK color model

#786D8C color CMYK value is (14,22,0,45).

  • cyan value is 14.29%
  • magenta value is 22.14%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(14,22,0,45)
C14M22Y0K45 
(14%,22%,0%,45%)
(0.14/0.22/0.00/0.45)	

CMYK percentages

%14.29
%22.14
%0
%45.1

Codes

Color #786D8C in popluar color models

786D8C
RGB120109140
HSL261°12.45%48.82%
HSB/HSV261°22.14%54.90%
CMYK14.29%22.14%0.00%
45.10%

Color #786D8C in popluar number systems.

HEX786D8C
Decimal120109140
Binary1111000110110110001100
Octal170155214

Shades and tints

Shades of #786D8C

#786D8C
(120,109,140)
#6E6480
(110,100,128)
#645B74
(100,91,116)
#5A5268
(90,82,104)
#50495C
(80,73,92)
#464050
(70,64,80)
#3C3744
(60,55,68)
#322E38
(50,46,56)
#28252C
(40,37,44)
#1E1C20
(30,28,32)
#141314
(20,19,20)
#000000
(0,0,0)

Tints of #786D8C

#786D8C
(120,109,140)
#847A96
(132,122,150)
#9087A0
(144,135,160)
#9C94AA
(156,148,170)
#A8A1B4
(168,161,180)
#B4AEBE
(180,174,190)
#C0BBC8
(192,187,200)
#CCC8D2
(204,200,210)
#D8D5DC
(216,213,220)
#E4E2E6
(228,226,230)
#F0EFF0
(240,239,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #786D8C color. Also use rgb(120,109,140) instead hex code.

Text Font Color

.myTextColor { color: #786D8C; }

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

This text font color is #786D8C.


Background Color

.myBgColor { background-color: #786D8C; }

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

This div background color is #786D8C.


Border color

.myBorderColor { border: 1px solid #786D8C; }

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

This div border color is #786D8C.


Opacity

.myOpacity80 { color: #786D8C; opacity: 0.8; }

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

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

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

This text has shadow with #786D8C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #786D8C on black background.


Color preview on white background

This text has color #786D8C on white background.



Black color preview on #786D8C background

This text has black color on #786D8C background.


White color preview on #786D8C background

This text has white color on #786D8C background.