COLOR #786F9C

HEX: #786F9C RGB: (120,111,156)

Color info

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

RGB color model

#786F9C color RGB value is (120,111,156).

RGB: (120,111,156) (47%, 44%, 61%)

RGB channels and saturation

R 120 of 255 = 47%
G 111 of 255 = 44%
B 156 of 255 = 61%

120
111
156

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

Portions of RGB colors in percentages

R + G + B = 120 + 111 + 156 = 387 (100%)
R 120 of 387 ~ 31.01%
G 111 of 387 ~ 28.68%
B 156 of 387 ~ 40.31'%

%31.01
%28.68
%40.31

CMYK color model

#786F9C color CMYK value is (23,29,0,39).

  • cyan value is 23.08%
  • magenta value is 28.85%
  • yellow value is 0.00%
  • key color value is 38.82%

CMYK: (23,29,0,39)
C23M29Y0K39 (23%, 29%, 0%, 39%)
(0.23 / 0.29 / 0.00 / 0.39)

CMYK percentages

%23.08
%28.85
%0
%38.82

Codes

Color #786F9C in popluar color models

78 6F 9C
RGB 120 111 156
HSL 252° 18.52% 52.35%
HSB/HSV 252° 28.85% 61.18%
CMYK 23.08% 28.85% 0.00%
38.82%

Color #786F9C in popluar number systems.

HEX 78 6F 9C
Decimal 120 111 156
Binary 1111000 1101111 10011100
Octal 170 157 234

Shades and tints

Shades of #786F9C

#786F9C
(120,111,156)
#6E658E
(110,101,142)
#645B80
(100,91,128)
#5A5172
(90,81,114)
#504764
(80,71,100)
#463D56
(70,61,86)
#3C3348
(60,51,72)
#32293A
(50,41,58)
#281F2C
(40,31,44)
#1E151E
(30,21,30)
#140B10
(20,11,16)
#000000
(0,0,0)

Tints of #786F9C

#786F9C
(120,111,156)
#847CA5
(132,124,165)
#9089AE
(144,137,174)
#9C96B7
(156,150,183)
#A8A3C0
(168,163,192)
#B4B0C9
(180,176,201)
#C0BDD2
(192,189,210)
#CCCADB
(204,202,219)
#D8D7E4
(216,215,228)
#E4E4ED
(228,228,237)
#F0F1F6
(240,241,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #786F9C color. Also use rgb(120,111,156) instead hex code.

Text Font Color

.myTextColor { color: #786F9C; }

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

This text font color is #786F9C.

Background Color

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

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

This div background color is #786F9C.

Border color

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

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

This div border color is #786F9C.

Opacity

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

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

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

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

This text has shadow with #786F9C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #786F9C.

Preview

Color preview on black background

This text has color #786F9C on black background.


Color preview on white background

This text has color #786F9C on white background.


Black color preview on #786F9C background

This text has black color on #786F9C background.


White color preview on #786F9C background

This text has white color on #786F9C background.


Related colors

Complementary color

Complementary color for #hex is #879063.


I love getcolorcode.com

Triadic colors

1 #9C786F and #6F9C78 with #786F9C are triadic colors.

2 #9C6F78 and #6F789C with #786F9C are triadic colors.