COLOR #787899

HEX: #787899
RGB: (120,120,153)

Color info

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

RGB color model

#787899 color RGB value is (120,120,153).

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

RGB channels and saturation

R 120 of 255 = 47%
G 120 of 255 = 47%
B 153 of 255 = 60%

120
120
153

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

Portions of RGB colors in percentages

R + G + B =
120 + 120 + 153 = 393 (100%)
R 120 of 393 ~ 30.53%
G 120 of 393 ~ 30.53%
B 153 of 393 ~ 38.93%

%30.53
%30.53
%38.93

CMYK color model

#787899 color CMYK value is (22,22,0,40).

  • cyan value is 21.57%
  • magenta value is 21.57%
  • yellow value is 0.00%
  • key color value is 40.00%
CMYK:
(22,22,0,40)
C22M22Y0K40 
(22%,22%,0%,40%)
(0.22/0.22/0.00/0.40)	

CMYK percentages

%21.57
%21.57
%0
%40

Codes

Color #787899 in popluar color models

787899
RGB120120153
HSL240°13.92%53.53%
HSB/HSV240°21.57%60.00%
CMYK21.57%21.57%0.00%
40.00%

Color #787899 in popluar number systems.

HEX787899
Decimal120120153
Binary1111000111100010011001
Octal170170231

Shades and tints

Shades of #787899

#787899
(120,120,153)
#6E6E8C
(110,110,140)
#64647F
(100,100,127)
#5A5A72
(90,90,114)
#505065
(80,80,101)
#464658
(70,70,88)
#3C3C4B
(60,60,75)
#32323E
(50,50,62)
#282831
(40,40,49)
#1E1E24
(30,30,36)
#141417
(20,20,23)
#000000
(0,0,0)

Tints of #787899

#787899
(120,120,153)
#8484A2
(132,132,162)
#9090AB
(144,144,171)
#9C9CB4
(156,156,180)
#A8A8BD
(168,168,189)
#B4B4C6
(180,180,198)
#C0C0CF
(192,192,207)
#CCCCD8
(204,204,216)
#D8D8E1
(216,216,225)
#E4E4EA
(228,228,234)
#F0F0F3
(240,240,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #787899; }

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

This text font color is #787899.


Background Color

.myBgColor { background-color: #787899; }

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

This div background color is #787899.


Border color

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

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

This div border color is #787899.


Opacity

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

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

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

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

This text has shadow with #787899 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #787899 on black background.


Color preview on white background

This text has color #787899 on white background.



Black color preview on #787899 background

This text has black color on #787899 background.


White color preview on #787899 background

This text has white color on #787899 background.