COLOR #797A8B

HEX: #797A8B RGB: (121,122,139)

Color info

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

RGB color model

#797A8B color RGB value is (121,122,139).

RGB: (121,122,139) (47%, 48%, 55%)

RGB channels and saturation

R 121 of 255 = 47%
G 122 of 255 = 48%
B 139 of 255 = 55%

121
122
139

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

Portions of RGB colors in percentages

R + G + B = 121 + 122 + 139 = 382 (100%)
R 121 of 382 ~ 31.68%
G 122 of 382 ~ 31.94%
B 139 of 382 ~ 36.39'%

%31.68
%31.94
%36.39

CMYK color model

#797A8B color CMYK value is (13,12,0,45).

  • cyan value is 12.95%
  • magenta value is 12.23%
  • yellow value is 0.00%
  • key color value is 45.49%

CMYK: (13,12,0,45)
C13M12Y0K45 (13%, 12%, 0%, 45%)
(0.13 / 0.12 / 0.00 / 0.45)

CMYK percentages

%12.95
%12.23
%0
%45.49

Codes

Color #797A8B in popluar color models

79 7A 8B
RGB 121 122 139
HSL 237° 7.20% 50.98%
HSB/HSV 237° 12.95% 54.51%
CMYK 12.95% 12.23% 0.00%
45.49%

Color #797A8B in popluar number systems.

HEX 79 7A 8B
Decimal 121 122 139
Binary 1111001 1111010 10001011
Octal 171 172 213

Shades and tints

Shades of #797A8B

#797A8B
(121,122,139)
#6E6F7F
(110,111,127)
#636473
(99,100,115)
#585967
(88,89,103)
#4D4E5B
(77,78,91)
#42434F
(66,67,79)
#373843
(55,56,67)
#2C2D37
(44,45,55)
#21222B
(33,34,43)
#16171F
(22,23,31)
#0B0C13
(11,12,19)
#000000
(0,0,0)

Tints of #797A8B

#797A8B
(121,122,139)
#858695
(133,134,149)
#91929F
(145,146,159)
#9D9EA9
(157,158,169)
#A9AAB3
(169,170,179)
#B5B6BD
(181,182,189)
#C1C2C7
(193,194,199)
#CDCED1
(205,206,209)
#D9DADB
(217,218,219)
#E5E6E5
(229,230,229)
#F1F2EF
(241,242,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #797A8B; }

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

This text font color is #797A8B.

Background Color

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

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

This div background color is #797A8B.

Border color

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

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

This div border color is #797A8B.

Opacity

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

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

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

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

This text has shadow with #797A8B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #797A8B.

Preview

Color preview on black background

This text has color #797A8B on black background.


Color preview on white background

This text has color #797A8B on white background.


Black color preview on #797A8B background

This text has black color on #797A8B background.


White color preview on #797A8B background

This text has white color on #797A8B background.


Related colors

Complementary color

Complementary color for #hex is #868574.


I love getcolorcode.com

Triadic colors

1 #8B797A and #7A8B79 with #797A8B are triadic colors.

2 #8B7A79 and #7A798B with #797A8B are triadic colors.