COLOR #797EB2

HEX: #797EB2
RGB: (121,126,178)

Color info

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

RGB color model

#797EB2 color RGB value is (121,126,178).

  • red value is 121;
  • green value is 126;
  • blue value is 178.
RGB:
(121,126,178)
(47%,49%,70%)

RGB channels and saturation

R 121 of 255 = 47%
G 126 of 255 = 49%
B 178 of 255 = 70%

121
126
178

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

Portions of RGB colors in percentages

R + G + B =
121 + 126 + 178 = 425 (100%)
R 121 of 425 ~ 28.47%
G 126 of 425 ~ 29.65%
B 178 of 425 ~ 41.88%

%28.47
%29.65
%41.88

CMYK color model

#797EB2 color CMYK value is (32,29,0,30).

  • cyan value is 32.02%
  • magenta value is 29.21%
  • yellow value is 0.00%
  • key color value is 30.20%
CMYK:
(32,29,0,30)
C32M29Y0K30 
(32%,29%,0%,30%)
(0.32/0.29/0.00/0.30)	

CMYK percentages

%32.02
%29.21
%0
%30.2

Codes

Color #797EB2 in popluar color models

797EB2
RGB121126178
HSL235°27.01%58.63%
HSB/HSV235°32.02%69.80%
CMYK32.02%29.21%0.00%
30.20%

Color #797EB2 in popluar number systems.

HEX797EB2
Decimal121126178
Binary1111001111111010110010
Octal171176262

Shades and tints

Shades of #797EB2

#797EB2
(121,126,178)
#6E73A2
(110,115,162)
#636892
(99,104,146)
#585D82
(88,93,130)
#4D5272
(77,82,114)
#424762
(66,71,98)
#373C52
(55,60,82)
#2C3142
(44,49,66)
#212632
(33,38,50)
#161B22
(22,27,34)
#0B1012
(11,16,18)
#000000
(0,0,0)

Tints of #797EB2

#797EB2
(121,126,178)
#8589B9
(133,137,185)
#9194C0
(145,148,192)
#9D9FC7
(157,159,199)
#A9AACE
(169,170,206)
#B5B5D5
(181,181,213)
#C1C0DC
(193,192,220)
#CDCBE3
(205,203,227)
#D9D6EA
(217,214,234)
#E5E1F1
(229,225,241)
#F1ECF8
(241,236,248)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #797EB2; }

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

This text font color is #797EB2.


Background Color

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

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

This div background color is #797EB2.


Border color

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

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

This div border color is #797EB2.


Opacity

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

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

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

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

This text has shadow with #797EB2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797EB2 on black background.


Color preview on white background

This text has color #797EB2 on white background.



Black color preview on #797EB2 background

This text has black color on #797EB2 background.


White color preview on #797EB2 background

This text has white color on #797EB2 background.