COLOR #797B98

HEX: #797B98
RGB: (121,123,152)

Color info

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

RGB color model

#797B98 color RGB value is (121,123,152).

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

RGB channels and saturation

R 121 of 255 = 47%
G 123 of 255 = 48%
B 152 of 255 = 60%

121
123
152

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

Portions of RGB colors in percentages

R + G + B =
121 + 123 + 152 = 396 (100%)
R 121 of 396 ~ 30.56%
G 123 of 396 ~ 31.06%
B 152 of 396 ~ 38.38%

%30.56
%31.06
%38.38

CMYK color model

#797B98 color CMYK value is (20,19,0,40).

  • cyan value is 20.39%
  • magenta value is 19.08%
  • yellow value is 0.00%
  • key color value is 40.39%
CMYK:
(20,19,0,40)
C20M19Y0K40 
(20%,19%,0%,40%)
(0.20/0.19/0.00/0.40)	

CMYK percentages

%20.39
%19.08
%0
%40.39

Codes

Color #797B98 in popluar color models

797B98
RGB121123152
HSL236°13.08%53.53%
HSB/HSV236°20.39%59.61%
CMYK20.39%19.08%0.00%
40.39%

Color #797B98 in popluar number systems.

HEX797B98
Decimal121123152
Binary1111001111101110011000
Octal171173230

Shades and tints

Shades of #797B98

#797B98
(121,123,152)
#6E708B
(110,112,139)
#63657E
(99,101,126)
#585A71
(88,90,113)
#4D4F64
(77,79,100)
#424457
(66,68,87)
#37394A
(55,57,74)
#2C2E3D
(44,46,61)
#212330
(33,35,48)
#161823
(22,24,35)
#0B0D16
(11,13,22)
#000000
(0,0,0)

Tints of #797B98

#797B98
(121,123,152)
#8587A1
(133,135,161)
#9193AA
(145,147,170)
#9D9FB3
(157,159,179)
#A9ABBC
(169,171,188)
#B5B7C5
(181,183,197)
#C1C3CE
(193,195,206)
#CDCFD7
(205,207,215)
#D9DBE0
(217,219,224)
#E5E7E9
(229,231,233)
#F1F3F2
(241,243,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #797B98; }

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

This text font color is #797B98.


Background Color

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

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

This div background color is #797B98.


Border color

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

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

This div border color is #797B98.


Opacity

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

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

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

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

This text has shadow with #797B98 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797B98 on black background.


Color preview on white background

This text has color #797B98 on white background.



Black color preview on #797B98 background

This text has black color on #797B98 background.


White color preview on #797B98 background

This text has white color on #797B98 background.