COLOR #797E9D

HEX: #797E9D RGB: (121,126,157)

Color info

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

RGB color model

#797E9D color RGB value is (121,126,157).

RGB: (121,126,157) (47%, 49%, 62%)

RGB channels and saturation

R 121 of 255 = 47%
G 126 of 255 = 49%
B 157 of 255 = 62%

121
126
157

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

Portions of RGB colors in percentages

R + G + B = 121 + 126 + 157 = 404 (100%)
R 121 of 404 ~ 29.95%
G 126 of 404 ~ 31.19%
B 157 of 404 ~ 38.86'%

%29.95
%31.19
%38.86

CMYK color model

#797E9D color CMYK value is (23,20,0,38).

  • cyan value is 22.93%
  • magenta value is 19.75%
  • yellow value is 0.00%
  • key color value is 38.43%

CMYK: (23,20,0,38)
C23M20Y0K38 (23%, 20%, 0%, 38%)
(0.23 / 0.20 / 0.00 / 0.38)

CMYK percentages

%22.93
%19.75
%0
%38.43

Codes

Color #797E9D in popluar color models

79 7E 9D
RGB 121 126 157
HSL 232° 15.52% 54.51%
HSB/HSV 232° 22.93% 61.57%
CMYK 22.93% 19.75% 0.00%
38.43%

Color #797E9D in popluar number systems.

HEX 79 7E 9D
Decimal 121 126 157
Binary 1111001 1111110 10011101
Octal 171 176 235

Shades and tints

Shades of #797E9D

#797E9D
(121,126,157)
#6E738F
(110,115,143)
#636881
(99,104,129)
#585D73
(88,93,115)
#4D5265
(77,82,101)
#424757
(66,71,87)
#373C49
(55,60,73)
#2C313B
(44,49,59)
#21262D
(33,38,45)
#161B1F
(22,27,31)
#0B1011
(11,16,17)
#000000
(0,0,0)

Tints of #797E9D

#797E9D
(121,126,157)
#8589A5
(133,137,165)
#9194AD
(145,148,173)
#9D9FB5
(157,159,181)
#A9AABD
(169,170,189)
#B5B5C5
(181,181,197)
#C1C0CD
(193,192,205)
#CDCBD5
(205,203,213)
#D9D6DD
(217,214,221)
#E5E1E5
(229,225,229)
#F1ECED
(241,236,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #797E9D color. Also use rgb(121,126,157) instead hex code.

Text Font Color

.myTextColor { color: #797E9D; }

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

This text font color is #797E9D.

Background Color

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

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

This div background color is #797E9D.

Border color

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

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

This div border color is #797E9D.

Opacity

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

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

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

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

This text has shadow with #797E9D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #797E9D.

Preview

Color preview on black background

This text has color #797E9D on black background.


Color preview on white background

This text has color #797E9D on white background.


Black color preview on #797E9D background

This text has black color on #797E9D background.


White color preview on #797E9D background

This text has white color on #797E9D background.


Related colors

Complementary color

Complementary color for #hex is #868162.


I love getcolorcode.com

Triadic colors

1 #9D797E and #7E9D79 with #797E9D are triadic colors.

2 #9D7E79 and #7E799D with #797E9D are triadic colors.