COLOR #797C8A

HEX: #797C8A
RGB: (121,124,138)

Color info

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

RGB color model

#797C8A color RGB value is (121,124,138).

  • red value is 121;
  • green value is 124;
  • blue value is 138.
RGB:
(121,124,138)
(47%,49%,54%)

RGB channels and saturation

R 121 of 255 = 47%
G 124 of 255 = 49%
B 138 of 255 = 54%

121
124
138

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

Portions of RGB colors in percentages

R + G + B =
121 + 124 + 138 = 383 (100%)
R 121 of 383 ~ 31.59%
G 124 of 383 ~ 32.38%
B 138 of 383 ~ 36.03%

%31.59
%32.38
%36.03

CMYK color model

#797C8A color CMYK value is (12,10,0,46).

  • cyan value is 12.32%
  • magenta value is 10.14%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(12,10,0,46)
C12M10Y0K46 
(12%,10%,0%,46%)
(0.12/0.10/0.00/0.46)	

CMYK percentages

%12.32
%10.14
%0
%45.88

Codes

Color #797C8A in popluar color models

797C8A
RGB121124138
HSL229°6.77%50.78%
HSB/HSV229°12.32%54.12%
CMYK12.32%10.14%0.00%
45.88%

Color #797C8A in popluar number systems.

HEX797C8A
Decimal121124138
Binary1111001111110010001010
Octal171174212

Shades and tints

Shades of #797C8A

#797C8A
(121,124,138)
#6E717E
(110,113,126)
#636672
(99,102,114)
#585B66
(88,91,102)
#4D505A
(77,80,90)
#42454E
(66,69,78)
#373A42
(55,58,66)
#2C2F36
(44,47,54)
#21242A
(33,36,42)
#16191E
(22,25,30)
#0B0E12
(11,14,18)
#000000
(0,0,0)

Tints of #797C8A

#797C8A
(121,124,138)
#858794
(133,135,148)
#91929E
(145,146,158)
#9D9DA8
(157,157,168)
#A9A8B2
(169,168,178)
#B5B3BC
(181,179,188)
#C1BEC6
(193,190,198)
#CDC9D0
(205,201,208)
#D9D4DA
(217,212,218)
#E5DFE4
(229,223,228)
#F1EAEE
(241,234,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #797C8A color. Also use rgb(121,124,138) instead hex code.

Text Font Color

.myTextColor { color: #797C8A; }

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

This text font color is #797C8A.


Background Color

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

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

This div background color is #797C8A.


Border color

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

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

This div border color is #797C8A.


Opacity

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

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

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

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

This text has shadow with #797C8A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797C8A on black background.


Color preview on white background

This text has color #797C8A on white background.



Black color preview on #797C8A background

This text has black color on #797C8A background.


White color preview on #797C8A background

This text has white color on #797C8A background.