COLOR #797A8F

HEX: #797A8F
RGB: (121,122,143)

Color info

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

RGB color model

#797A8F color RGB value is (121,122,143).

  • red value is 121;
  • green value is 122;
  • blue value is 143.
RGB:
(121,122,143)
(47%,48%,56%)

RGB channels and saturation

R 121 of 255 = 47%
G 122 of 255 = 48%
B 143 of 255 = 56%

121
122
143

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

Portions of RGB colors in percentages

R + G + B =
121 + 122 + 143 = 386 (100%)
R 121 of 386 ~ 31.35%
G 122 of 386 ~ 31.61%
B 143 of 386 ~ 37.05%

%31.35
%31.61
%37.05

CMYK color model

#797A8F color CMYK value is (15,15,0,44).

  • cyan value is 15.38%
  • magenta value is 14.69%
  • yellow value is 0.00%
  • key color value is 43.92%
CMYK:
(15,15,0,44)
C15M15Y0K44 
(15%,15%,0%,44%)
(0.15/0.15/0.00/0.44)	

CMYK percentages

%15.38
%14.69
%0
%43.92

Codes

Color #797A8F in popluar color models

797A8F
RGB121122143
HSL237°8.94%51.76%
HSB/HSV237°15.38%56.08%
CMYK15.38%14.69%0.00%
43.92%

Color #797A8F in popluar number systems.

HEX797A8F
Decimal121122143
Binary1111001111101010001111
Octal171172217

Shades and tints

Shades of #797A8F

#797A8F
(121,122,143)
#6E6F82
(110,111,130)
#636475
(99,100,117)
#585968
(88,89,104)
#4D4E5B
(77,78,91)
#42434E
(66,67,78)
#373841
(55,56,65)
#2C2D34
(44,45,52)
#212227
(33,34,39)
#16171A
(22,23,26)
#0B0C0D
(11,12,13)
#000000
(0,0,0)

Tints of #797A8F

#797A8F
(121,122,143)
#858699
(133,134,153)
#9192A3
(145,146,163)
#9D9EAD
(157,158,173)
#A9AAB7
(169,170,183)
#B5B6C1
(181,182,193)
#C1C2CB
(193,194,203)
#CDCED5
(205,206,213)
#D9DADF
(217,218,223)
#E5E6E9
(229,230,233)
#F1F2F3
(241,242,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #797A8F color. Also use rgb(121,122,143) instead hex code.

Text Font Color

.myTextColor { color: #797A8F; }

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

This text font color is #797A8F.


Background Color

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

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

This div background color is #797A8F.


Border color

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

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

This div border color is #797A8F.


Opacity

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

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

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

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

This text has shadow with #797A8F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797A8F on black background.


Color preview on white background

This text has color #797A8F on white background.



Black color preview on #797A8F background

This text has black color on #797A8F background.


White color preview on #797A8F background

This text has white color on #797A8F background.