COLOR #786A7F

HEX: #786A7F
RGB: (120,106,127)

Color info

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

RGB color model

#786A7F color RGB value is (120,106,127).

  • red value is 120;
  • green value is 106;
  • blue value is 127.
RGB:
(120,106,127)
(47%,42%,50%)

RGB channels and saturation

R 120 of 255 = 47%
G 106 of 255 = 42%
B 127 of 255 = 50%

120
106
127

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

Portions of RGB colors in percentages

R + G + B =
120 + 106 + 127 = 353 (100%)
R 120 of 353 ~ 33.99%
G 106 of 353 ~ 30.03%
B 127 of 353 ~ 35.98%

%33.99
%30.03
%35.98

CMYK color model

#786A7F color CMYK value is (6,17,0,50).

  • cyan value is 5.51%
  • magenta value is 16.54%
  • yellow value is 0.00%
  • key color value is 50.20%
CMYK:
(6,17,0,50)
C6M17Y0K50 
(6%,17%,0%,50%)
(0.06/0.17/0.00/0.50)	

CMYK percentages

%5.51
%16.54
%0
%50.2

Codes

Color #786A7F in popluar color models

786A7F
RGB120106127
HSL280°9.01%45.69%
HSB/HSV280°16.54%49.80%
CMYK5.51%16.54%0.00%
50.20%

Color #786A7F in popluar number systems.

HEX786A7F
Decimal120106127
Binary111100011010101111111
Octal170152177

Shades and tints

Shades of #786A7F

#786A7F
(120,106,127)
#6E6174
(110,97,116)
#645869
(100,88,105)
#5A4F5E
(90,79,94)
#504653
(80,70,83)
#463D48
(70,61,72)
#3C343D
(60,52,61)
#322B32
(50,43,50)
#282227
(40,34,39)
#1E191C
(30,25,28)
#141011
(20,16,17)
#000000
(0,0,0)

Tints of #786A7F

#786A7F
(120,106,127)
#84778A
(132,119,138)
#908495
(144,132,149)
#9C91A0
(156,145,160)
#A89EAB
(168,158,171)
#B4ABB6
(180,171,182)
#C0B8C1
(192,184,193)
#CCC5CC
(204,197,204)
#D8D2D7
(216,210,215)
#E4DFE2
(228,223,226)
#F0ECED
(240,236,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #786A7F; }

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

This text font color is #786A7F.


Background Color

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

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

This div background color is #786A7F.


Border color

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

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

This div border color is #786A7F.


Opacity

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

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

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

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

This text has shadow with #786A7F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #786A7F on black background.


Color preview on white background

This text has color #786A7F on white background.



Black color preview on #786A7F background

This text has black color on #786A7F background.


White color preview on #786A7F background

This text has white color on #786A7F background.