COLOR #797896

HEX: #797896
RGB: (121,120,150)

Color info

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

RGB color model

#797896 color RGB value is (121,120,150).

  • red value is 121;
  • green value is 120;
  • blue value is 150.
RGB:
(121,120,150)
(47%,47%,59%)

RGB channels and saturation

R 121 of 255 = 47%
G 120 of 255 = 47%
B 150 of 255 = 59%

121
120
150

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

Portions of RGB colors in percentages

R + G + B =
121 + 120 + 150 = 391 (100%)
R 121 of 391 ~ 30.95%
G 120 of 391 ~ 30.69%
B 150 of 391 ~ 38.36%

%30.95
%30.69
%38.36

CMYK color model

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

  • cyan value is 19.33%
  • magenta value is 20.00%
  • yellow value is 0.00%
  • key color value is 41.18%
CMYK:
(19,20,0,41)
C19M20Y0K41 
(19%,20%,0%,41%)
(0.19/0.20/0.00/0.41)	

CMYK percentages

%19.33
%20
%0
%41.18

Codes

Color #797896 in popluar color models

797896
RGB121120150
HSL242°12.50%52.94%
HSB/HSV242°20.00%58.82%
CMYK19.33%20.00%0.00%
41.18%

Color #797896 in popluar number systems.

HEX797896
Decimal121120150
Binary1111001111100010010110
Octal171170226

Shades and tints

Shades of #797896

#797896
(121,120,150)
#6E6E89
(110,110,137)
#63647C
(99,100,124)
#585A6F
(88,90,111)
#4D5062
(77,80,98)
#424655
(66,70,85)
#373C48
(55,60,72)
#2C323B
(44,50,59)
#21282E
(33,40,46)
#161E21
(22,30,33)
#0B1414
(11,20,20)
#000000
(0,0,0)

Tints of #797896

#797896
(121,120,150)
#85849F
(133,132,159)
#9190A8
(145,144,168)
#9D9CB1
(157,156,177)
#A9A8BA
(169,168,186)
#B5B4C3
(181,180,195)
#C1C0CC
(193,192,204)
#CDCCD5
(205,204,213)
#D9D8DE
(217,216,222)
#E5E4E7
(229,228,231)
#F1F0F0
(241,240,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #797896 color. Also use rgb(121,120,150) instead hex code.

Text Font Color

.myTextColor { color: #797896; }

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

This text font color is #797896.


Background Color

.myBgColor { background-color: #797896; }

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

This div background color is #797896.


Border color

.myBorderColor { border: 1px solid #797896; }

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

This div border color is #797896.


Opacity

.myOpacity80 { color: #797896; opacity: 0.8; }

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

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

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

This text has shadow with #797896 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797896 on black background.


Color preview on white background

This text has color #797896 on white background.



Black color preview on #797896 background

This text has black color on #797896 background.


White color preview on #797896 background

This text has white color on #797896 background.