COLOR #786D8B

HEX: #786D8B
RGB: (120,109,139)

Color info

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

RGB color model

#786D8B color RGB value is (120,109,139).

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

RGB channels and saturation

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

120
109
139

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

Portions of RGB colors in percentages

R + G + B =
120 + 109 + 139 = 368 (100%)
R 120 of 368 ~ 32.61%
G 109 of 368 ~ 29.62%
B 139 of 368 ~ 37.77%

%32.61
%29.62
%37.77

CMYK color model

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

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

CMYK percentages

%13.67
%21.58
%0
%45.49

Codes

Color #786D8B in popluar color models

786D8B
RGB120109139
HSL262°12.10%48.63%
HSB/HSV262°21.58%54.51%
CMYK13.67%21.58%0.00%
45.49%

Color #786D8B in popluar number systems.

HEX786D8B
Decimal120109139
Binary1111000110110110001011
Octal170155213

Shades and tints

Shades of #786D8B

#786D8B
(120,109,139)
#6E647F
(110,100,127)
#645B73
(100,91,115)
#5A5267
(90,82,103)
#50495B
(80,73,91)
#46404F
(70,64,79)
#3C3743
(60,55,67)
#322E37
(50,46,55)
#28252B
(40,37,43)
#1E1C1F
(30,28,31)
#141313
(20,19,19)
#000000
(0,0,0)

Tints of #786D8B

#786D8B
(120,109,139)
#847A95
(132,122,149)
#90879F
(144,135,159)
#9C94A9
(156,148,169)
#A8A1B3
(168,161,179)
#B4AEBD
(180,174,189)
#C0BBC7
(192,187,199)
#CCC8D1
(204,200,209)
#D8D5DB
(216,213,219)
#E4E2E5
(228,226,229)
#F0EFEF
(240,239,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #786D8B; }

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

This text font color is #786D8B.


Background Color

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

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

This div background color is #786D8B.


Border color

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

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

This div border color is #786D8B.


Opacity

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

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

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

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

This text has shadow with #786D8B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #786D8B on black background.


Color preview on white background

This text has color #786D8B on white background.



Black color preview on #786D8B background

This text has black color on #786D8B background.


White color preview on #786D8B background

This text has white color on #786D8B background.