COLOR #786A7E

HEX: #786A7E RGB: (120,106,126)

Color info

#786A7E contains red, green and blue colors in about the same proportion. Web safe color of #786A7E is #666666 (or #666).

RGB color model

#786A7E color RGB value is (120,106,126).

RGB: (120,106,126) (47%, 42%, 49%)

RGB channels and saturation

R 120 of 255 = 47%
G 106 of 255 = 42%
B 126 of 255 = 49%

120
106
126

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

Portions of RGB colors in percentages

R + G + B = 120 + 106 + 126 = 352 (100%)
R 120 of 352 ~ 34.09%
G 106 of 352 ~ 30.11%
B 126 of 352 ~ 35.8'%

%34.09
%30.11
%35.8

CMYK color model

#786A7E color CMYK value is (5,16,0,51).

  • cyan value is 4.76%
  • magenta value is 15.87%
  • yellow value is 0.00%
  • key color value is 50.59%

CMYK: (5,16,0,51)
C5M16Y0K51 (5%, 16%, 0%, 51%)
(0.05 / 0.16 / 0.00 / 0.51)

CMYK percentages

%4.76
%15.87
%0
%50.59

Codes

Color #786A7E in popluar color models

78 6A 7E
RGB 120 106 126
HSL 282° 8.62% 45.49%
HSB/HSV 282° 15.87% 49.41%
CMYK 4.76% 15.87% 0.00%
50.59%

Color #786A7E in popluar number systems.

HEX 78 6A 7E
Decimal 120 106 126
Binary 1111000 1101010 1111110
Octal 170 152 176

Shades and tints

Shades of #786A7E

#786A7E
(120,106,126)
#6E6173
(110,97,115)
#645868
(100,88,104)
#5A4F5D
(90,79,93)
#504652
(80,70,82)
#463D47
(70,61,71)
#3C343C
(60,52,60)
#322B31
(50,43,49)
#282226
(40,34,38)
#1E191B
(30,25,27)
#141010
(20,16,16)
#000000
(0,0,0)

Tints of #786A7E

#786A7E
(120,106,126)
#847789
(132,119,137)
#908494
(144,132,148)
#9C919F
(156,145,159)
#A89EAA
(168,158,170)
#B4ABB5
(180,171,181)
#C0B8C0
(192,184,192)
#CCC5CB
(204,197,203)
#D8D2D6
(216,210,214)
#E4DFE1
(228,223,225)
#F0ECEC
(240,236,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #786A7E color. Also use rgb(120,106,126) instead hex code.

Text Font Color

.myTextColor { color: #786A7E; }

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

This text font color is #786A7E.

Background Color

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

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

This div background color is #786A7E.

Border color

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

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

This div border color is #786A7E.

Opacity

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

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

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

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

This text has shadow with #786A7E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #786A7E.

Preview

Color preview on black background

This text has color #786A7E on black background.


Color preview on white background

This text has color #786A7E on white background.


Black color preview on #786A7E background

This text has black color on #786A7E background.


White color preview on #786A7E background

This text has white color on #786A7E background.


Related colors

Complementary color

Complementary color for #hex is #879581.


I love getcolorcode.com

Triadic colors

1 #7E786A and #6A7E78 with #786A7E are triadic colors.

2 #7E6A78 and #6A787E with #786A7E are triadic colors.