COLOR #797B97

HEX: #797B97
RGB: (121,123,151)

Color info

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

RGB color model

#797B97 color RGB value is (121,123,151).

  • red value is 121;
  • green value is 123;
  • blue value is 151.
RGB:
(121,123,151)
(47%,48%,59%)

RGB channels and saturation

R 121 of 255 = 47%
G 123 of 255 = 48%
B 151 of 255 = 59%

121
123
151

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

Portions of RGB colors in percentages

R + G + B =
121 + 123 + 151 = 395 (100%)
R 121 of 395 ~ 30.63%
G 123 of 395 ~ 31.14%
B 151 of 395 ~ 38.23%

%30.63
%31.14
%38.23

CMYK color model

#797B97 color CMYK value is (20,19,0,41).

  • cyan value is 19.87%
  • magenta value is 18.54%
  • yellow value is 0.00%
  • key color value is 40.78%
CMYK:
(20,19,0,41)
C20M19Y0K41 
(20%,19%,0%,41%)
(0.20/0.19/0.00/0.41)	

CMYK percentages

%19.87
%18.54
%0
%40.78

Codes

Color #797B97 in popluar color models

797B97
RGB121123151
HSL236°12.61%53.33%
HSB/HSV236°19.87%59.22%
CMYK19.87%18.54%0.00%
40.78%

Color #797B97 in popluar number systems.

HEX797B97
Decimal121123151
Binary1111001111101110010111
Octal171173227

Shades and tints

Shades of #797B97

#797B97
(121,123,151)
#6E708A
(110,112,138)
#63657D
(99,101,125)
#585A70
(88,90,112)
#4D4F63
(77,79,99)
#424456
(66,68,86)
#373949
(55,57,73)
#2C2E3C
(44,46,60)
#21232F
(33,35,47)
#161822
(22,24,34)
#0B0D15
(11,13,21)
#000000
(0,0,0)

Tints of #797B97

#797B97
(121,123,151)
#8587A0
(133,135,160)
#9193A9
(145,147,169)
#9D9FB2
(157,159,178)
#A9ABBB
(169,171,187)
#B5B7C4
(181,183,196)
#C1C3CD
(193,195,205)
#CDCFD6
(205,207,214)
#D9DBDF
(217,219,223)
#E5E7E8
(229,231,232)
#F1F3F1
(241,243,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #797B97 color. Also use rgb(121,123,151) instead hex code.

Text Font Color

.myTextColor { color: #797B97; }

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

This text font color is #797B97.


Background Color

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

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

This div background color is #797B97.


Border color

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

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

This div border color is #797B97.


Opacity

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

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

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

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

This text has shadow with #797B97 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797B97 on black background.


Color preview on white background

This text has color #797B97 on white background.



Black color preview on #797B97 background

This text has black color on #797B97 background.


White color preview on #797B97 background

This text has white color on #797B97 background.