COLOR #787E9A

HEX: #787E9A
RGB: (120,126,154)

Color info

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

RGB color model

#787E9A color RGB value is (120,126,154).

  • red value is 120;
  • green value is 126;
  • blue value is 154.
RGB:
(120,126,154)
(47%,49%,60%)

RGB channels and saturation

R 120 of 255 = 47%
G 126 of 255 = 49%
B 154 of 255 = 60%

120
126
154

R + G + B ~ 52%. #787E9A is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
120 + 126 + 154 = 400 (100%)
R 120 of 400 ~ 30%
G 126 of 400 ~ 31.5%
B 154 of 400 ~ 38.5%

%30
%31.5
%38.5

CMYK color model

#787E9A color CMYK value is (22,18,0,40).

  • cyan value is 22.08%
  • magenta value is 18.18%
  • yellow value is 0.00%
  • key color value is 39.61%
CMYK:
(22,18,0,40)
C22M18Y0K40 
(22%,18%,0%,40%)
(0.22/0.18/0.00/0.40)	

CMYK percentages

%22.08
%18.18
%0
%39.61

Codes

Color #787E9A in popluar color models

787E9A
RGB120126154
HSL229°14.41%53.73%
HSB/HSV229°22.08%60.39%
CMYK22.08%18.18%0.00%
39.61%

Color #787E9A in popluar number systems.

HEX787E9A
Decimal120126154
Binary1111000111111010011010
Octal170176232

Shades and tints

Shades of #787E9A

#787E9A
(120,126,154)
#6E738C
(110,115,140)
#64687E
(100,104,126)
#5A5D70
(90,93,112)
#505262
(80,82,98)
#464754
(70,71,84)
#3C3C46
(60,60,70)
#323138
(50,49,56)
#28262A
(40,38,42)
#1E1B1C
(30,27,28)
#14100E
(20,16,14)
#000000
(0,0,0)

Tints of #787E9A

#787E9A
(120,126,154)
#8489A3
(132,137,163)
#9094AC
(144,148,172)
#9C9FB5
(156,159,181)
#A8AABE
(168,170,190)
#B4B5C7
(180,181,199)
#C0C0D0
(192,192,208)
#CCCBD9
(204,203,217)
#D8D6E2
(216,214,226)
#E4E1EB
(228,225,235)
#F0ECF4
(240,236,244)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #787E9A color. Also use rgb(120,126,154) instead hex code.

Text Font Color

.myTextColor { color: #787E9A; }

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

This text font color is #787E9A.


Background Color

.myBgColor { background-color: #787E9A; }

<div style="background-color:#787E9A">Inner text</div>

This div background color is #787E9A.


Border color

.myBorderColor { border: 1px solid #787E9A; }

<div style="border:3px solid #787E9A">Div</div>

This div border color is #787E9A.


Opacity

.myOpacity80 { color: #787E9A; opacity: 0.8; }

<p style="color:#787E9A;opacity:0.8;">80%</p>

Text with #787E9A 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 #787E9A;}

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

This text has shadow with #787E9A color.

.textShadow {text-shadow: 3px 3px 1px #787E9A, 3px 3px 1px red;}

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

This text has shadow with #787E9A primary color and red secondary color.


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

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

This text has shadow with #787E9A and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #787E9A on black background.


Color preview on white background

This text has color #787E9A on white background.



Black color preview on #787E9A background

This text has black color on #787E9A background.


White color preview on #787E9A background

This text has white color on #787E9A background.