COLOR #787BAB

HEX: #787BAB
RGB: (120,123,171)

Color info

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

RGB color model

#787BAB color RGB value is (120,123,171).

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

RGB channels and saturation

R 120 of 255 = 47%
G 123 of 255 = 48%
B 171 of 255 = 67%

120
123
171

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

Portions of RGB colors in percentages

R + G + B =
120 + 123 + 171 = 414 (100%)
R 120 of 414 ~ 28.99%
G 123 of 414 ~ 29.71%
B 171 of 414 ~ 41.3%

%28.99
%29.71
%41.3

CMYK color model

#787BAB color CMYK value is (30,28,0,33).

  • cyan value is 29.82%
  • magenta value is 28.07%
  • yellow value is 0.00%
  • key color value is 32.94%
CMYK:
(30,28,0,33)
C30M28Y0K33 
(30%,28%,0%,33%)
(0.30/0.28/0.00/0.33)	

CMYK percentages

%29.82
%28.07
%0
%32.94

Codes

Color #787BAB in popluar color models

787BAB
RGB120123171
HSL236°23.29%57.06%
HSB/HSV236°29.82%67.06%
CMYK29.82%28.07%0.00%
32.94%

Color #787BAB in popluar number systems.

HEX787BAB
Decimal120123171
Binary1111000111101110101011
Octal170173253

Shades and tints

Shades of #787BAB

#787BAB
(120,123,171)
#6E709C
(110,112,156)
#64658D
(100,101,141)
#5A5A7E
(90,90,126)
#504F6F
(80,79,111)
#464460
(70,68,96)
#3C3951
(60,57,81)
#322E42
(50,46,66)
#282333
(40,35,51)
#1E1824
(30,24,36)
#140D15
(20,13,21)
#000000
(0,0,0)

Tints of #787BAB

#787BAB
(120,123,171)
#8487B2
(132,135,178)
#9093B9
(144,147,185)
#9C9FC0
(156,159,192)
#A8ABC7
(168,171,199)
#B4B7CE
(180,183,206)
#C0C3D5
(192,195,213)
#CCCFDC
(204,207,220)
#D8DBE3
(216,219,227)
#E4E7EA
(228,231,234)
#F0F3F1
(240,243,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #787BAB; }

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

This text font color is #787BAB.


Background Color

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

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

This div background color is #787BAB.


Border color

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

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

This div border color is #787BAB.


Opacity

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

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

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

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

This text has shadow with #787BAB color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #787BAB on black background.


Color preview on white background

This text has color #787BAB on white background.



Black color preview on #787BAB background

This text has black color on #787BAB background.


White color preview on #787BAB background

This text has white color on #787BAB background.