COLOR #786B9E

HEX: #786B9E RGB: (120,107,158)

Color info

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

RGB color model

#786B9E color RGB value is (120,107,158).

RGB: (120,107,158) (47%, 42%, 62%)

RGB channels and saturation

R 120 of 255 = 47%
G 107 of 255 = 42%
B 158 of 255 = 62%

120
107
158

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

Portions of RGB colors in percentages

R + G + B = 120 + 107 + 158 = 385 (100%)
R 120 of 385 ~ 31.17%
G 107 of 385 ~ 27.79%
B 158 of 385 ~ 41.04'%

%31.17
%27.79
%41.04

CMYK color model

#786B9E color CMYK value is (24,32,0,38).

  • cyan value is 24.05%
  • magenta value is 32.28%
  • yellow value is 0.00%
  • key color value is 38.04%

CMYK: (24,32,0,38)
C24M32Y0K38 (24%, 32%, 0%, 38%)
(0.24 / 0.32 / 0.00 / 0.38)

CMYK percentages

%24.05
%32.28
%0
%38.04

Codes

Color #786B9E in popluar color models

78 6B 9E
RGB 120 107 158
HSL 255° 20.82% 51.96%
HSB/HSV 255° 32.28% 61.96%
CMYK 24.05% 32.28% 0.00%
38.04%

Color #786B9E in popluar number systems.

HEX 78 6B 9E
Decimal 120 107 158
Binary 1111000 1101011 10011110
Octal 170 153 236

Shades and tints

Shades of #786B9E

#786B9E
(120,107,158)
#6E6290
(110,98,144)
#645982
(100,89,130)
#5A5074
(90,80,116)
#504766
(80,71,102)
#463E58
(70,62,88)
#3C354A
(60,53,74)
#322C3C
(50,44,60)
#28232E
(40,35,46)
#1E1A20
(30,26,32)
#141112
(20,17,18)
#000000
(0,0,0)

Tints of #786B9E

#786B9E
(120,107,158)
#8478A6
(132,120,166)
#9085AE
(144,133,174)
#9C92B6
(156,146,182)
#A89FBE
(168,159,190)
#B4ACC6
(180,172,198)
#C0B9CE
(192,185,206)
#CCC6D6
(204,198,214)
#D8D3DE
(216,211,222)
#E4E0E6
(228,224,230)
#F0EDEE
(240,237,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #786B9E color. Also use rgb(120,107,158) instead hex code.

Text Font Color

.myTextColor { color: #786B9E; }

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

This text font color is #786B9E.

Background Color

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

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

This div background color is #786B9E.

Border color

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

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

This div border color is #786B9E.

Opacity

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

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

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

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

This text has shadow with #786B9E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #786B9E.

Preview

Color preview on black background

This text has color #786B9E on black background.


Color preview on white background

This text has color #786B9E on white background.


Black color preview on #786B9E background

This text has black color on #786B9E background.


White color preview on #786B9E background

This text has white color on #786B9E background.


Related colors

Complementary color

Complementary color for #hex is #879461.


I love getcolorcode.com

Triadic colors

1 #9E786B and #6B9E78 with #786B9E are triadic colors.

2 #9E6B78 and #6B789E with #786B9E are triadic colors.