COLOR #786F9E

HEX: #786F9E
RGB: (120,111,158)

Color info

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

RGB color model

#786F9E color RGB value is (120,111,158).

  • red value is 120;
  • green value is 111;
  • blue value is 158.
RGB:
(120,111,158)
(47%,44%,62%)

RGB channels and saturation

R 120 of 255 = 47%
G 111 of 255 = 44%
B 158 of 255 = 62%

120
111
158

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

Portions of RGB colors in percentages

R + G + B =
120 + 111 + 158 = 389 (100%)
R 120 of 389 ~ 30.85%
G 111 of 389 ~ 28.53%
B 158 of 389 ~ 40.62%

%30.85
%28.53
%40.62

CMYK color model

#786F9E color CMYK value is (24,30,0,38).

  • cyan value is 24.05%
  • magenta value is 29.75%
  • yellow value is 0.00%
  • key color value is 38.04%
CMYK:
(24,30,0,38)
C24M30Y0K38 
(24%,30%,0%,38%)
(0.24/0.30/0.00/0.38)	

CMYK percentages

%24.05
%29.75
%0
%38.04

Codes

Color #786F9E in popluar color models

786F9E
RGB120111158
HSL251°19.50%52.75%
HSB/HSV251°29.75%61.96%
CMYK24.05%29.75%0.00%
38.04%

Color #786F9E in popluar number systems.

HEX786F9E
Decimal120111158
Binary1111000110111110011110
Octal170157236

Shades and tints

Shades of #786F9E

#786F9E
(120,111,158)
#6E6590
(110,101,144)
#645B82
(100,91,130)
#5A5174
(90,81,116)
#504766
(80,71,102)
#463D58
(70,61,88)
#3C334A
(60,51,74)
#32293C
(50,41,60)
#281F2E
(40,31,46)
#1E1520
(30,21,32)
#140B12
(20,11,18)
#000000
(0,0,0)

Tints of #786F9E

#786F9E
(120,111,158)
#847CA6
(132,124,166)
#9089AE
(144,137,174)
#9C96B6
(156,150,182)
#A8A3BE
(168,163,190)
#B4B0C6
(180,176,198)
#C0BDCE
(192,189,206)
#CCCAD6
(204,202,214)
#D8D7DE
(216,215,222)
#E4E4E6
(228,228,230)
#F0F1EE
(240,241,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #786F9E; }

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

This text font color is #786F9E.


Background Color

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

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

This div background color is #786F9E.


Border color

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

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

This div border color is #786F9E.


Opacity

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

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

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

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

This text has shadow with #786F9E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #786F9E on black background.


Color preview on white background

This text has color #786F9E on white background.



Black color preview on #786F9E background

This text has black color on #786F9E background.


White color preview on #786F9E background

This text has white color on #786F9E background.