COLOR #796D8C

HEX: #796D8C
RGB: (121,109,140)

Color info

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

RGB color model

#796D8C color RGB value is (121,109,140).

  • red value is 121;
  • green value is 109;
  • blue value is 140.
RGB:
(121,109,140)
(47%,43%,55%)

RGB channels and saturation

R 121 of 255 = 47%
G 109 of 255 = 43%
B 140 of 255 = 55%

121
109
140

R + G + B ~ 48%. #796D8C is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
121 + 109 + 140 = 370 (100%)
R 121 of 370 ~ 32.7%
G 109 of 370 ~ 29.46%
B 140 of 370 ~ 37.84%

%32.7
%29.46
%37.84

CMYK color model

#796D8C color CMYK value is (14,22,0,45).

  • cyan value is 13.57%
  • magenta value is 22.14%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(14,22,0,45)
C14M22Y0K45 
(14%,22%,0%,45%)
(0.14/0.22/0.00/0.45)	

CMYK percentages

%13.57
%22.14
%0
%45.1

Codes

Color #796D8C in popluar color models

796D8C
RGB121109140
HSL263°12.45%48.82%
HSB/HSV263°22.14%54.90%
CMYK13.57%22.14%0.00%
45.10%

Color #796D8C in popluar number systems.

HEX796D8C
Decimal121109140
Binary1111001110110110001100
Octal171155214

Shades and tints

Shades of #796D8C

#796D8C
(121,109,140)
#6E6480
(110,100,128)
#635B74
(99,91,116)
#585268
(88,82,104)
#4D495C
(77,73,92)
#424050
(66,64,80)
#373744
(55,55,68)
#2C2E38
(44,46,56)
#21252C
(33,37,44)
#161C20
(22,28,32)
#0B1314
(11,19,20)
#000000
(0,0,0)

Tints of #796D8C

#796D8C
(121,109,140)
#857A96
(133,122,150)
#9187A0
(145,135,160)
#9D94AA
(157,148,170)
#A9A1B4
(169,161,180)
#B5AEBE
(181,174,190)
#C1BBC8
(193,187,200)
#CDC8D2
(205,200,210)
#D9D5DC
(217,213,220)
#E5E2E6
(229,226,230)
#F1EFF0
(241,239,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #796D8C color. Also use rgb(121,109,140) instead hex code.

Text Font Color

.myTextColor { color: #796D8C; }

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

This text font color is #796D8C.


Background Color

.myBgColor { background-color: #796D8C; }

<div style="background-color:#796D8C">Inner text</div>

This div background color is #796D8C.


Border color

.myBorderColor { border: 1px solid #796D8C; }

<div style="border:3px solid #796D8C">Div</div>

This div border color is #796D8C.


Opacity

.myOpacity80 { color: #796D8C; opacity: 0.8; }

<p style="color:#796D8C;opacity:0.8;">80%</p>

Text with #796D8C 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 #796D8C;}

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

This text has shadow with #796D8C color.

.textShadow {text-shadow: 3px 3px 1px #796D8C, 3px 3px 1px red;}

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

This text has shadow with #796D8C primary color and red secondary color.


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

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

This text has shadow with #796D8C and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #796D8C on black background.


Color preview on white background

This text has color #796D8C on white background.



Black color preview on #796D8C background

This text has black color on #796D8C background.


White color preview on #796D8C background

This text has white color on #796D8C background.