COLOR #797E8C

HEX: #797E8C
RGB: (121,126,140)

Color info

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

RGB color model

#797E8C color RGB value is (121,126,140).

  • red value is 121;
  • green value is 126;
  • blue value is 140.
RGB:
(121,126,140)
(47%,49%,55%)

RGB channels and saturation

R 121 of 255 = 47%
G 126 of 255 = 49%
B 140 of 255 = 55%

121
126
140

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

Portions of RGB colors in percentages

R + G + B =
121 + 126 + 140 = 387 (100%)
R 121 of 387 ~ 31.27%
G 126 of 387 ~ 32.56%
B 140 of 387 ~ 36.18%

%31.27
%32.56
%36.18

CMYK color model

#797E8C color CMYK value is (14,10,0,45).

  • cyan value is 13.57%
  • magenta value is 10.00%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(14,10,0,45)
C14M10Y0K45 
(14%,10%,0%,45%)
(0.14/0.10/0.00/0.45)	

CMYK percentages

%13.57
%10
%0
%45.1

Codes

Color #797E8C in popluar color models

797E8C
RGB121126140
HSL224°7.63%51.18%
HSB/HSV224°13.57%54.90%
CMYK13.57%10.00%0.00%
45.10%

Color #797E8C in popluar number systems.

HEX797E8C
Decimal121126140
Binary1111001111111010001100
Octal171176214

Shades and tints

Shades of #797E8C

#797E8C
(121,126,140)
#6E7380
(110,115,128)
#636874
(99,104,116)
#585D68
(88,93,104)
#4D525C
(77,82,92)
#424750
(66,71,80)
#373C44
(55,60,68)
#2C3138
(44,49,56)
#21262C
(33,38,44)
#161B20
(22,27,32)
#0B1014
(11,16,20)
#000000
(0,0,0)

Tints of #797E8C

#797E8C
(121,126,140)
#858996
(133,137,150)
#9194A0
(145,148,160)
#9D9FAA
(157,159,170)
#A9AAB4
(169,170,180)
#B5B5BE
(181,181,190)
#C1C0C8
(193,192,200)
#CDCBD2
(205,203,210)
#D9D6DC
(217,214,220)
#E5E1E6
(229,225,230)
#F1ECF0
(241,236,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #797E8C color. Also use rgb(121,126,140) instead hex code.

Text Font Color

.myTextColor { color: #797E8C; }

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

This text font color is #797E8C.


Background Color

.myBgColor { background-color: #797E8C; }

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

This div background color is #797E8C.


Border color

.myBorderColor { border: 1px solid #797E8C; }

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

This div border color is #797E8C.


Opacity

.myOpacity80 { color: #797E8C; opacity: 0.8; }

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

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

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

This text has shadow with #797E8C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797E8C on black background.


Color preview on white background

This text has color #797E8C on white background.



Black color preview on #797E8C background

This text has black color on #797E8C background.


White color preview on #797E8C background

This text has white color on #797E8C background.