COLOR #787B9B

HEX: #787B9B
RGB: (120,123,155)

Color info

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

RGB color model

#787B9B color RGB value is (120,123,155).

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

RGB channels and saturation

R 120 of 255 = 47%
G 123 of 255 = 48%
B 155 of 255 = 61%

120
123
155

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

Portions of RGB colors in percentages

R + G + B =
120 + 123 + 155 = 398 (100%)
R 120 of 398 ~ 30.15%
G 123 of 398 ~ 30.9%
B 155 of 398 ~ 38.94%

%30.15
%30.9
%38.94

CMYK color model

#787B9B color CMYK value is (23,21,0,39).

  • cyan value is 22.58%
  • magenta value is 20.65%
  • yellow value is 0.00%
  • key color value is 39.22%
CMYK:
(23,21,0,39)
C23M21Y0K39 
(23%,21%,0%,39%)
(0.23/0.21/0.00/0.39)	

CMYK percentages

%22.58
%20.65
%0
%39.22

Codes

Color #787B9B in popluar color models

787B9B
RGB120123155
HSL235°14.89%53.92%
HSB/HSV235°22.58%60.78%
CMYK22.58%20.65%0.00%
39.22%

Color #787B9B in popluar number systems.

HEX787B9B
Decimal120123155
Binary1111000111101110011011
Octal170173233

Shades and tints

Shades of #787B9B

#787B9B
(120,123,155)
#6E708D
(110,112,141)
#64657F
(100,101,127)
#5A5A71
(90,90,113)
#504F63
(80,79,99)
#464455
(70,68,85)
#3C3947
(60,57,71)
#322E39
(50,46,57)
#28232B
(40,35,43)
#1E181D
(30,24,29)
#140D0F
(20,13,15)
#000000
(0,0,0)

Tints of #787B9B

#787B9B
(120,123,155)
#8487A4
(132,135,164)
#9093AD
(144,147,173)
#9C9FB6
(156,159,182)
#A8ABBF
(168,171,191)
#B4B7C8
(180,183,200)
#C0C3D1
(192,195,209)
#CCCFDA
(204,207,218)
#D8DBE3
(216,219,227)
#E4E7EC
(228,231,236)
#F0F3F5
(240,243,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #787B9B color. Also use rgb(120,123,155) instead hex code.

Text Font Color

.myTextColor { color: #787B9B; }

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

This text font color is #787B9B.


Background Color

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

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

This div background color is #787B9B.


Border color

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

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

This div border color is #787B9B.


Opacity

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

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

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

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

This text has shadow with #787B9B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #787B9B on black background.


Color preview on white background

This text has color #787B9B on white background.



Black color preview on #787B9B background

This text has black color on #787B9B background.


White color preview on #787B9B background

This text has white color on #787B9B background.