COLOR #786A7B

HEX: #786A7B
RGB: (120,106,123)

Color info

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

RGB color model

#786A7B color RGB value is (120,106,123).

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

RGB channels and saturation

R 120 of 255 = 47%
G 106 of 255 = 42%
B 123 of 255 = 48%

120
106
123

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

Portions of RGB colors in percentages

R + G + B =
120 + 106 + 123 = 349 (100%)
R 120 of 349 ~ 34.38%
G 106 of 349 ~ 30.37%
B 123 of 349 ~ 35.24%

%34.38
%30.37
%35.24

CMYK color model

#786A7B color CMYK value is (2,14,0,52).

  • cyan value is 2.44%
  • magenta value is 13.82%
  • yellow value is 0.00%
  • key color value is 51.76%
CMYK:
(2,14,0,52)
C2M14Y0K52 
(2%,14%,0%,52%)
(0.02/0.14/0.00/0.52)	

CMYK percentages

%2.44
%13.82
%0
%51.76

Codes

Color #786A7B in popluar color models

786A7B
RGB120106123
HSL289°7.42%44.90%
HSB/HSV289°13.82%48.24%
CMYK2.44%13.82%0.00%
51.76%

Color #786A7B in popluar number systems.

HEX786A7B
Decimal120106123
Binary111100011010101111011
Octal170152173

Shades and tints

Shades of #786A7B

#786A7B
(120,106,123)
#6E6170
(110,97,112)
#645865
(100,88,101)
#5A4F5A
(90,79,90)
#50464F
(80,70,79)
#463D44
(70,61,68)
#3C3439
(60,52,57)
#322B2E
(50,43,46)
#282223
(40,34,35)
#1E1918
(30,25,24)
#14100D
(20,16,13)
#000000
(0,0,0)

Tints of #786A7B

#786A7B
(120,106,123)
#847787
(132,119,135)
#908493
(144,132,147)
#9C919F
(156,145,159)
#A89EAB
(168,158,171)
#B4ABB7
(180,171,183)
#C0B8C3
(192,184,195)
#CCC5CF
(204,197,207)
#D8D2DB
(216,210,219)
#E4DFE7
(228,223,231)
#F0ECF3
(240,236,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #786A7B; }

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

This text font color is #786A7B.


Background Color

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

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

This div background color is #786A7B.


Border color

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

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

This div border color is #786A7B.


Opacity

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

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

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

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

This text has shadow with #786A7B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #786A7B on black background.


Color preview on white background

This text has color #786A7B on white background.



Black color preview on #786A7B background

This text has black color on #786A7B background.


White color preview on #786A7B background

This text has white color on #786A7B background.