COLOR #787198

HEX: #787198
RGB: (120,113,152)

Color info

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

RGB color model

#787198 color RGB value is (120,113,152).

  • red value is 120;
  • green value is 113;
  • blue value is 152.
RGB:
(120,113,152)
(47%,44%,60%)

RGB channels and saturation

R 120 of 255 = 47%
G 113 of 255 = 44%
B 152 of 255 = 60%

120
113
152

R + G + B ~ 50%. #787198 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
120 + 113 + 152 = 385 (100%)
R 120 of 385 ~ 31.17%
G 113 of 385 ~ 29.35%
B 152 of 385 ~ 39.48%

%31.17
%29.35
%39.48

CMYK color model

#787198 color CMYK value is (21,26,0,40).

  • cyan value is 21.05%
  • magenta value is 25.66%
  • yellow value is 0.00%
  • key color value is 40.39%
CMYK:
(21,26,0,40)
C21M26Y0K40 
(21%,26%,0%,40%)
(0.21/0.26/0.00/0.40)	

CMYK percentages

%21.05
%25.66
%0
%40.39

Codes

Color #787198 in popluar color models

787198
RGB120113152
HSL251°15.92%51.96%
HSB/HSV251°25.66%59.61%
CMYK21.05%25.66%0.00%
40.39%

Color #787198 in popluar number systems.

HEX787198
Decimal120113152
Binary1111000111000110011000
Octal170161230

Shades and tints

Shades of #787198

#787198
(120,113,152)
#6E678B
(110,103,139)
#645D7E
(100,93,126)
#5A5371
(90,83,113)
#504964
(80,73,100)
#463F57
(70,63,87)
#3C354A
(60,53,74)
#322B3D
(50,43,61)
#282130
(40,33,48)
#1E1723
(30,23,35)
#140D16
(20,13,22)
#000000
(0,0,0)

Tints of #787198

#787198
(120,113,152)
#847DA1
(132,125,161)
#9089AA
(144,137,170)
#9C95B3
(156,149,179)
#A8A1BC
(168,161,188)
#B4ADC5
(180,173,197)
#C0B9CE
(192,185,206)
#CCC5D7
(204,197,215)
#D8D1E0
(216,209,224)
#E4DDE9
(228,221,233)
#F0E9F2
(240,233,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #787198 color. Also use rgb(120,113,152) instead hex code.

Text Font Color

.myTextColor { color: #787198; }

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

This text font color is #787198.


Background Color

.myBgColor { background-color: #787198; }

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

This div background color is #787198.


Border color

.myBorderColor { border: 1px solid #787198; }

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

This div border color is #787198.


Opacity

.myOpacity80 { color: #787198; opacity: 0.8; }

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

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

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

This text has shadow with #787198 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #787198 on black background.


Color preview on white background

This text has color #787198 on white background.



Black color preview on #787198 background

This text has black color on #787198 background.


White color preview on #787198 background

This text has white color on #787198 background.