COLOR #797F9D

HEX: #797F9D RGB: (121,127,157)

Color info

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

RGB color model

#797F9D color RGB value is (121,127,157).

RGB: (121,127,157) (47%, 50%, 62%)

RGB channels and saturation

R 121 of 255 = 47%
G 127 of 255 = 50%
B 157 of 255 = 62%

121
127
157

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

Portions of RGB colors in percentages

R + G + B = 121 + 127 + 157 = 405 (100%)
R 121 of 405 ~ 29.88%
G 127 of 405 ~ 31.36%
B 157 of 405 ~ 38.77'%

%29.88
%31.36
%38.77

CMYK color model

#797F9D color CMYK value is (23,19,0,38).

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

CMYK: (23,19,0,38)
C23M19Y0K38 (23%, 19%, 0%, 38%)
(0.23 / 0.19 / 0.00 / 0.38)

CMYK percentages

%22.93
%19.11
%0
%38.43

Codes

Color #797F9D in popluar color models

79 7F 9D
RGB 121 127 157
HSL 230° 15.52% 54.51%
HSB/HSV 230° 22.93% 61.57%
CMYK 22.93% 19.11% 0.00%
38.43%

Color #797F9D in popluar number systems.

HEX 79 7F 9D
Decimal 121 127 157
Binary 1111001 1111111 10011101
Octal 171 177 235

Shades and tints

Shades of #797F9D

#797F9D
(121,127,157)
#6E748F
(110,116,143)
#636981
(99,105,129)
#585E73
(88,94,115)
#4D5365
(77,83,101)
#424857
(66,72,87)
#373D49
(55,61,73)
#2C323B
(44,50,59)
#21272D
(33,39,45)
#161C1F
(22,28,31)
#0B1111
(11,17,17)
#000000
(0,0,0)

Tints of #797F9D

#797F9D
(121,127,157)
#858AA5
(133,138,165)
#9195AD
(145,149,173)
#9DA0B5
(157,160,181)
#A9ABBD
(169,171,189)
#B5B6C5
(181,182,197)
#C1C1CD
(193,193,205)
#CDCCD5
(205,204,213)
#D9D7DD
(217,215,221)
#E5E2E5
(229,226,229)
#F1EDED
(241,237,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #797F9D; }

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

This text font color is #797F9D.

Background Color

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

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

This div background color is #797F9D.

Border color

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

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

This div border color is #797F9D.

Opacity

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

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

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

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

This text has shadow with #797F9D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #797F9D.

Preview

Color preview on black background

This text has color #797F9D on black background.


Color preview on white background

This text has color #797F9D on white background.


Black color preview on #797F9D background

This text has black color on #797F9D background.


White color preview on #797F9D background

This text has white color on #797F9D background.


Related colors

Complementary color

Complementary color for #hex is #868062.


I love getcolorcode.com

Triadic colors

1 #9D797F and #7F9D79 with #797F9D are triadic colors.

2 #9D7F79 and #7F799D with #797F9D are triadic colors.