COLOR #786C8D

HEX: #786C8D
RGB: (120,108,141)

Color info

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

RGB color model

#786C8D color RGB value is (120,108,141).

  • red value is 120;
  • green value is 108;
  • blue value is 141.
RGB:
(120,108,141)
(47%,42%,55%)

RGB channels and saturation

R 120 of 255 = 47%
G 108 of 255 = 42%
B 141 of 255 = 55%

120
108
141

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

Portions of RGB colors in percentages

R + G + B =
120 + 108 + 141 = 369 (100%)
R 120 of 369 ~ 32.52%
G 108 of 369 ~ 29.27%
B 141 of 369 ~ 38.21%

%32.52
%29.27
%38.21

CMYK color model

#786C8D color CMYK value is (15,23,0,45).

  • cyan value is 14.89%
  • magenta value is 23.40%
  • yellow value is 0.00%
  • key color value is 44.71%
CMYK:
(15,23,0,45)
C15M23Y0K45 
(15%,23%,0%,45%)
(0.15/0.23/0.00/0.45)	

CMYK percentages

%14.89
%23.4
%0
%44.71

Codes

Color #786C8D in popluar color models

786C8D
RGB120108141
HSL262°13.25%48.82%
HSB/HSV262°23.40%55.29%
CMYK14.89%23.40%0.00%
44.71%

Color #786C8D in popluar number systems.

HEX786C8D
Decimal120108141
Binary1111000110110010001101
Octal170154215

Shades and tints

Shades of #786C8D

#786C8D
(120,108,141)
#6E6381
(110,99,129)
#645A75
(100,90,117)
#5A5169
(90,81,105)
#50485D
(80,72,93)
#463F51
(70,63,81)
#3C3645
(60,54,69)
#322D39
(50,45,57)
#28242D
(40,36,45)
#1E1B21
(30,27,33)
#141215
(20,18,21)
#000000
(0,0,0)

Tints of #786C8D

#786C8D
(120,108,141)
#847997
(132,121,151)
#9086A1
(144,134,161)
#9C93AB
(156,147,171)
#A8A0B5
(168,160,181)
#B4ADBF
(180,173,191)
#C0BAC9
(192,186,201)
#CCC7D3
(204,199,211)
#D8D4DD
(216,212,221)
#E4E1E7
(228,225,231)
#F0EEF1
(240,238,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #786C8D color. Also use rgb(120,108,141) instead hex code.

Text Font Color

.myTextColor { color: #786C8D; }

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

This text font color is #786C8D.


Background Color

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

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

This div background color is #786C8D.


Border color

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

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

This div border color is #786C8D.


Opacity

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

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

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

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

This text has shadow with #786C8D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #786C8D on black background.


Color preview on white background

This text has color #786C8D on white background.



Black color preview on #786C8D background

This text has black color on #786C8D background.


White color preview on #786C8D background

This text has white color on #786C8D background.