COLOR #786F8A

HEX: #786F8A RGB: (120,111,138)

Color info

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

RGB color model

#786F8A color RGB value is (120,111,138).

RGB: (120,111,138) (47%, 44%, 54%)

RGB channels and saturation

R 120 of 255 = 47%
G 111 of 255 = 44%
B 138 of 255 = 54%

120
111
138

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

Portions of RGB colors in percentages

R + G + B = 120 + 111 + 138 = 369 (100%)
R 120 of 369 ~ 32.52%
G 111 of 369 ~ 30.08%
B 138 of 369 ~ 37.4'%

%32.52
%30.08
%37.4

CMYK color model

#786F8A color CMYK value is (13,20,0,46).

  • cyan value is 13.04%
  • magenta value is 19.57%
  • yellow value is 0.00%
  • key color value is 45.88%

CMYK: (13,20,0,46)
C13M20Y0K46 (13%, 20%, 0%, 46%)
(0.13 / 0.20 / 0.00 / 0.46)

CMYK percentages

%13.04
%19.57
%0
%45.88

Codes

Color #786F8A in popluar color models

78 6F 8A
RGB 120 111 138
HSL 260° 10.84% 48.82%
HSB/HSV 260° 19.57% 54.12%
CMYK 13.04% 19.57% 0.00%
45.88%

Color #786F8A in popluar number systems.

HEX 78 6F 8A
Decimal 120 111 138
Binary 1111000 1101111 10001010
Octal 170 157 212

Shades and tints

Shades of #786F8A

#786F8A
(120,111,138)
#6E657E
(110,101,126)
#645B72
(100,91,114)
#5A5166
(90,81,102)
#50475A
(80,71,90)
#463D4E
(70,61,78)
#3C3342
(60,51,66)
#322936
(50,41,54)
#281F2A
(40,31,42)
#1E151E
(30,21,30)
#140B12
(20,11,18)
#000000
(0,0,0)

Tints of #786F8A

#786F8A
(120,111,138)
#847C94
(132,124,148)
#90899E
(144,137,158)
#9C96A8
(156,150,168)
#A8A3B2
(168,163,178)
#B4B0BC
(180,176,188)
#C0BDC6
(192,189,198)
#CCCAD0
(204,202,208)
#D8D7DA
(216,215,218)
#E4E4E4
(228,228,228)
#F0F1EE
(240,241,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #786F8A; }

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

This text font color is #786F8A.

Background Color

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

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

This div background color is #786F8A.

Border color

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

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

This div border color is #786F8A.

Opacity

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

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

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

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

This text has shadow with #786F8A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #786F8A.

Preview

Color preview on black background

This text has color #786F8A on black background.


Color preview on white background

This text has color #786F8A on white background.


Black color preview on #786F8A background

This text has black color on #786F8A background.


White color preview on #786F8A background

This text has white color on #786F8A background.


Related colors

Complementary color

Complementary color for #hex is #879075.


I love getcolorcode.com

Triadic colors

1 #8A786F and #6F8A78 with #786F8A are triadic colors.

2 #8A6F78 and #6F788A with #786F8A are triadic colors.