COLOR #787FA8

HEX: #787FA8
RGB: (120,127,168)

Color info

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

RGB color model

#787FA8 color RGB value is (120,127,168).

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

RGB channels and saturation

R 120 of 255 = 47%
G 127 of 255 = 50%
B 168 of 255 = 66%

120
127
168

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

Portions of RGB colors in percentages

R + G + B =
120 + 127 + 168 = 415 (100%)
R 120 of 415 ~ 28.92%
G 127 of 415 ~ 30.6%
B 168 of 415 ~ 40.48%

%28.92
%30.6
%40.48

CMYK color model

#787FA8 color CMYK value is (29,24,0,34).

  • cyan value is 28.57%
  • magenta value is 24.40%
  • yellow value is 0.00%
  • key color value is 34.12%
CMYK:
(29,24,0,34)
C29M24Y0K34 
(29%,24%,0%,34%)
(0.29/0.24/0.00/0.34)	

CMYK percentages

%28.57
%24.4
%0
%34.12

Codes

Color #787FA8 in popluar color models

787FA8
RGB120127168
HSL231°21.62%56.47%
HSB/HSV231°28.57%65.88%
CMYK28.57%24.40%0.00%
34.12%

Color #787FA8 in popluar number systems.

HEX787FA8
Decimal120127168
Binary1111000111111110101000
Octal170177250

Shades and tints

Shades of #787FA8

#787FA8
(120,127,168)
#6E7499
(110,116,153)
#64698A
(100,105,138)
#5A5E7B
(90,94,123)
#50536C
(80,83,108)
#46485D
(70,72,93)
#3C3D4E
(60,61,78)
#32323F
(50,50,63)
#282730
(40,39,48)
#1E1C21
(30,28,33)
#141112
(20,17,18)
#000000
(0,0,0)

Tints of #787FA8

#787FA8
(120,127,168)
#848AAF
(132,138,175)
#9095B6
(144,149,182)
#9CA0BD
(156,160,189)
#A8ABC4
(168,171,196)
#B4B6CB
(180,182,203)
#C0C1D2
(192,193,210)
#CCCCD9
(204,204,217)
#D8D7E0
(216,215,224)
#E4E2E7
(228,226,231)
#F0EDEE
(240,237,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #787FA8 color. Also use rgb(120,127,168) instead hex code.

Text Font Color

.myTextColor { color: #787FA8; }

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

This text font color is #787FA8.


Background Color

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

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

This div background color is #787FA8.


Border color

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

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

This div border color is #787FA8.


Opacity

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

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

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

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

This text has shadow with #787FA8 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #787FA8 on black background.


Color preview on white background

This text has color #787FA8 on white background.



Black color preview on #787FA8 background

This text has black color on #787FA8 background.


White color preview on #787FA8 background

This text has white color on #787FA8 background.