COLOR #786D9D

HEX: #786D9D
RGB: (120,109,157)

Color info

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

RGB color model

#786D9D color RGB value is (120,109,157).

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

RGB channels and saturation

R 120 of 255 = 47%
G 109 of 255 = 43%
B 157 of 255 = 62%

120
109
157

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

Portions of RGB colors in percentages

R + G + B =
120 + 109 + 157 = 386 (100%)
R 120 of 386 ~ 31.09%
G 109 of 386 ~ 28.24%
B 157 of 386 ~ 40.67%

%31.09
%28.24
%40.67

CMYK color model

#786D9D color CMYK value is (24,31,0,38).

  • cyan value is 23.57%
  • magenta value is 30.57%
  • yellow value is 0.00%
  • key color value is 38.43%
CMYK:
(24,31,0,38)
C24M31Y0K38 
(24%,31%,0%,38%)
(0.24/0.31/0.00/0.38)	

CMYK percentages

%23.57
%30.57
%0
%38.43

Codes

Color #786D9D in popluar color models

786D9D
RGB120109157
HSL254°19.67%52.16%
HSB/HSV254°30.57%61.57%
CMYK23.57%30.57%0.00%
38.43%

Color #786D9D in popluar number systems.

HEX786D9D
Decimal120109157
Binary1111000110110110011101
Octal170155235

Shades and tints

Shades of #786D9D

#786D9D
(120,109,157)
#6E648F
(110,100,143)
#645B81
(100,91,129)
#5A5273
(90,82,115)
#504965
(80,73,101)
#464057
(70,64,87)
#3C3749
(60,55,73)
#322E3B
(50,46,59)
#28252D
(40,37,45)
#1E1C1F
(30,28,31)
#141311
(20,19,17)
#000000
(0,0,0)

Tints of #786D9D

#786D9D
(120,109,157)
#847AA5
(132,122,165)
#9087AD
(144,135,173)
#9C94B5
(156,148,181)
#A8A1BD
(168,161,189)
#B4AEC5
(180,174,197)
#C0BBCD
(192,187,205)
#CCC8D5
(204,200,213)
#D8D5DD
(216,213,221)
#E4E2E5
(228,226,229)
#F0EFED
(240,239,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #786D9D; }

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

This text font color is #786D9D.


Background Color

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

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

This div background color is #786D9D.


Border color

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

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

This div border color is #786D9D.


Opacity

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

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

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

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

This text has shadow with #786D9D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #786D9D on black background.


Color preview on white background

This text has color #786D9D on white background.



Black color preview on #786D9D background

This text has black color on #786D9D background.


White color preview on #786D9D background

This text has white color on #786D9D background.