COLOR #797BA2

HEX: #797BA2
RGB: (121,123,162)

Color info

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

RGB color model

#797BA2 color RGB value is (121,123,162).

  • red value is 121;
  • green value is 123;
  • blue value is 162.
RGB:
(121,123,162)
(47%,48%,64%)

RGB channels and saturation

R 121 of 255 = 47%
G 123 of 255 = 48%
B 162 of 255 = 64%

121
123
162

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

Portions of RGB colors in percentages

R + G + B =
121 + 123 + 162 = 406 (100%)
R 121 of 406 ~ 29.8%
G 123 of 406 ~ 30.3%
B 162 of 406 ~ 39.9%

%29.8
%30.3
%39.9

CMYK color model

#797BA2 color CMYK value is (25,24,0,36).

  • cyan value is 25.31%
  • magenta value is 24.07%
  • yellow value is 0.00%
  • key color value is 36.47%
CMYK:
(25,24,0,36)
C25M24Y0K36 
(25%,24%,0%,36%)
(0.25/0.24/0.00/0.36)	

CMYK percentages

%25.31
%24.07
%0
%36.47

Codes

Color #797BA2 in popluar color models

797BA2
RGB121123162
HSL237°18.06%55.49%
HSB/HSV237°25.31%63.53%
CMYK25.31%24.07%0.00%
36.47%

Color #797BA2 in popluar number systems.

HEX797BA2
Decimal121123162
Binary1111001111101110100010
Octal171173242

Shades and tints

Shades of #797BA2

#797BA2
(121,123,162)
#6E7094
(110,112,148)
#636586
(99,101,134)
#585A78
(88,90,120)
#4D4F6A
(77,79,106)
#42445C
(66,68,92)
#37394E
(55,57,78)
#2C2E40
(44,46,64)
#212332
(33,35,50)
#161824
(22,24,36)
#0B0D16
(11,13,22)
#000000
(0,0,0)

Tints of #797BA2

#797BA2
(121,123,162)
#8587AA
(133,135,170)
#9193B2
(145,147,178)
#9D9FBA
(157,159,186)
#A9ABC2
(169,171,194)
#B5B7CA
(181,183,202)
#C1C3D2
(193,195,210)
#CDCFDA
(205,207,218)
#D9DBE2
(217,219,226)
#E5E7EA
(229,231,234)
#F1F3F2
(241,243,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #797BA2 color. Also use rgb(121,123,162) instead hex code.

Text Font Color

.myTextColor { color: #797BA2; }

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

This text font color is #797BA2.


Background Color

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

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

This div background color is #797BA2.


Border color

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

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

This div border color is #797BA2.


Opacity

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

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

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

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

This text has shadow with #797BA2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797BA2 on black background.


Color preview on white background

This text has color #797BA2 on white background.



Black color preview on #797BA2 background

This text has black color on #797BA2 background.


White color preview on #797BA2 background

This text has white color on #797BA2 background.