COLOR #797FAC

HEX: #797FAC
RGB: (121,127,172)

Color info

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

RGB color model

#797FAC color RGB value is (121,127,172).

  • red value is 121;
  • green value is 127;
  • blue value is 172.
RGB:
(121,127,172)
(47%,50%,67%)

RGB channels and saturation

R 121 of 255 = 47%
G 127 of 255 = 50%
B 172 of 255 = 67%

121
127
172

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

Portions of RGB colors in percentages

R + G + B =
121 + 127 + 172 = 420 (100%)
R 121 of 420 ~ 28.81%
G 127 of 420 ~ 30.24%
B 172 of 420 ~ 40.95%

%28.81
%30.24
%40.95

CMYK color model

#797FAC color CMYK value is (30,26,0,33).

  • cyan value is 29.65%
  • magenta value is 26.16%
  • yellow value is 0.00%
  • key color value is 32.55%
CMYK:
(30,26,0,33)
C30M26Y0K33 
(30%,26%,0%,33%)
(0.30/0.26/0.00/0.33)	

CMYK percentages

%29.65
%26.16
%0
%32.55

Codes

Color #797FAC in popluar color models

797FAC
RGB121127172
HSL233°23.50%57.45%
HSB/HSV233°29.65%67.45%
CMYK29.65%26.16%0.00%
32.55%

Color #797FAC in popluar number systems.

HEX797FAC
Decimal121127172
Binary1111001111111110101100
Octal171177254

Shades and tints

Shades of #797FAC

#797FAC
(121,127,172)
#6E749D
(110,116,157)
#63698E
(99,105,142)
#585E7F
(88,94,127)
#4D5370
(77,83,112)
#424861
(66,72,97)
#373D52
(55,61,82)
#2C3243
(44,50,67)
#212734
(33,39,52)
#161C25
(22,28,37)
#0B1116
(11,17,22)
#000000
(0,0,0)

Tints of #797FAC

#797FAC
(121,127,172)
#858AB3
(133,138,179)
#9195BA
(145,149,186)
#9DA0C1
(157,160,193)
#A9ABC8
(169,171,200)
#B5B6CF
(181,182,207)
#C1C1D6
(193,193,214)
#CDCCDD
(205,204,221)
#D9D7E4
(217,215,228)
#E5E2EB
(229,226,235)
#F1EDF2
(241,237,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #797FAC; }

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

This text font color is #797FAC.


Background Color

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

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

This div background color is #797FAC.


Border color

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

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

This div border color is #797FAC.


Opacity

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

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

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

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

This text has shadow with #797FAC color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #797FAC on black background.


Color preview on white background

This text has color #797FAC on white background.



Black color preview on #797FAC background

This text has black color on #797FAC background.


White color preview on #797FAC background

This text has white color on #797FAC background.