COLOR #787C9E

HEX: #787C9E
RGB: (120,124,158)

Color info

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

RGB color model

#787C9E color RGB value is (120,124,158).

  • red value is 120;
  • green value is 124;
  • blue value is 158.
RGB:
(120,124,158)
(47%,49%,62%)

RGB channels and saturation

R 120 of 255 = 47%
G 124 of 255 = 49%
B 158 of 255 = 62%

120
124
158

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

Portions of RGB colors in percentages

R + G + B =
120 + 124 + 158 = 402 (100%)
R 120 of 402 ~ 29.85%
G 124 of 402 ~ 30.85%
B 158 of 402 ~ 39.3%

%29.85
%30.85
%39.3

CMYK color model

#787C9E color CMYK value is (24,22,0,38).

  • cyan value is 24.05%
  • magenta value is 21.52%
  • yellow value is 0.00%
  • key color value is 38.04%
CMYK:
(24,22,0,38)
C24M22Y0K38 
(24%,22%,0%,38%)
(0.24/0.22/0.00/0.38)	

CMYK percentages

%24.05
%21.52
%0
%38.04

Codes

Color #787C9E in popluar color models

787C9E
RGB120124158
HSL234°16.38%54.51%
HSB/HSV234°24.05%61.96%
CMYK24.05%21.52%0.00%
38.04%

Color #787C9E in popluar number systems.

HEX787C9E
Decimal120124158
Binary1111000111110010011110
Octal170174236

Shades and tints

Shades of #787C9E

#787C9E
(120,124,158)
#6E7190
(110,113,144)
#646682
(100,102,130)
#5A5B74
(90,91,116)
#505066
(80,80,102)
#464558
(70,69,88)
#3C3A4A
(60,58,74)
#322F3C
(50,47,60)
#28242E
(40,36,46)
#1E1920
(30,25,32)
#140E12
(20,14,18)
#000000
(0,0,0)

Tints of #787C9E

#787C9E
(120,124,158)
#8487A6
(132,135,166)
#9092AE
(144,146,174)
#9C9DB6
(156,157,182)
#A8A8BE
(168,168,190)
#B4B3C6
(180,179,198)
#C0BECE
(192,190,206)
#CCC9D6
(204,201,214)
#D8D4DE
(216,212,222)
#E4DFE6
(228,223,230)
#F0EAEE
(240,234,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #787C9E color. Also use rgb(120,124,158) instead hex code.

Text Font Color

.myTextColor { color: #787C9E; }

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

This text font color is #787C9E.


Background Color

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

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

This div background color is #787C9E.


Border color

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

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

This div border color is #787C9E.


Opacity

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

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

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

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

This text has shadow with #787C9E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #787C9E on black background.


Color preview on white background

This text has color #787C9E on white background.



Black color preview on #787C9E background

This text has black color on #787C9E background.


White color preview on #787C9E background

This text has white color on #787C9E background.