COLOR #787EA8

HEX: #787EA8
RGB: (120,126,168)

Color info

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

RGB color model

#787EA8 color RGB value is (120,126,168).

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

RGB channels and saturation

R 120 of 255 = 47%
G 126 of 255 = 49%
B 168 of 255 = 66%

120
126
168

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

Portions of RGB colors in percentages

R + G + B =
120 + 126 + 168 = 414 (100%)
R 120 of 414 ~ 28.99%
G 126 of 414 ~ 30.43%
B 168 of 414 ~ 40.58%

%28.99
%30.43
%40.58

CMYK color model

#787EA8 color CMYK value is (29,25,0,34).

  • cyan value is 28.57%
  • magenta value is 25.00%
  • yellow value is 0.00%
  • key color value is 34.12%
CMYK:
(29,25,0,34)
C29M25Y0K34 
(29%,25%,0%,34%)
(0.29/0.25/0.00/0.34)	

CMYK percentages

%28.57
%25
%0
%34.12

Codes

Color #787EA8 in popluar color models

787EA8
RGB120126168
HSL233°21.62%56.47%
HSB/HSV233°28.57%65.88%
CMYK28.57%25.00%0.00%
34.12%

Color #787EA8 in popluar number systems.

HEX787EA8
Decimal120126168
Binary1111000111111010101000
Octal170176250

Shades and tints

Shades of #787EA8

#787EA8
(120,126,168)
#6E7399
(110,115,153)
#64688A
(100,104,138)
#5A5D7B
(90,93,123)
#50526C
(80,82,108)
#46475D
(70,71,93)
#3C3C4E
(60,60,78)
#32313F
(50,49,63)
#282630
(40,38,48)
#1E1B21
(30,27,33)
#141012
(20,16,18)
#000000
(0,0,0)

Tints of #787EA8

#787EA8
(120,126,168)
#8489AF
(132,137,175)
#9094B6
(144,148,182)
#9C9FBD
(156,159,189)
#A8AAC4
(168,170,196)
#B4B5CB
(180,181,203)
#C0C0D2
(192,192,210)
#CCCBD9
(204,203,217)
#D8D6E0
(216,214,224)
#E4E1E7
(228,225,231)
#F0ECEE
(240,236,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #787EA8; }

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

This text font color is #787EA8.


Background Color

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

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

This div background color is #787EA8.


Border color

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

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

This div border color is #787EA8.


Opacity

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

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

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

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

This text has shadow with #787EA8 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #787EA8 on black background.


Color preview on white background

This text has color #787EA8 on white background.



Black color preview on #787EA8 background

This text has black color on #787EA8 background.


White color preview on #787EA8 background

This text has white color on #787EA8 background.