COLOR #796D8B

HEX: #796D8B
RGB: (121,109,139)

Color info

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

RGB color model

#796D8B color RGB value is (121,109,139).

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

RGB channels and saturation

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

121
109
139

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

Portions of RGB colors in percentages

R + G + B =
121 + 109 + 139 = 369 (100%)
R 121 of 369 ~ 32.79%
G 109 of 369 ~ 29.54%
B 139 of 369 ~ 37.67%

%32.79
%29.54
%37.67

CMYK color model

#796D8B color CMYK value is (13,22,0,45).

  • cyan value is 12.95%
  • magenta value is 21.58%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK:
(13,22,0,45)
C13M22Y0K45 
(13%,22%,0%,45%)
(0.13/0.22/0.00/0.45)	

CMYK percentages

%12.95
%21.58
%0
%45.49

Codes

Color #796D8B in popluar color models

796D8B
RGB121109139
HSL264°12.10%48.63%
HSB/HSV264°21.58%54.51%
CMYK12.95%21.58%0.00%
45.49%

Color #796D8B in popluar number systems.

HEX796D8B
Decimal121109139
Binary1111001110110110001011
Octal171155213

Shades and tints

Shades of #796D8B

#796D8B
(121,109,139)
#6E647F
(110,100,127)
#635B73
(99,91,115)
#585267
(88,82,103)
#4D495B
(77,73,91)
#42404F
(66,64,79)
#373743
(55,55,67)
#2C2E37
(44,46,55)
#21252B
(33,37,43)
#161C1F
(22,28,31)
#0B1313
(11,19,19)
#000000
(0,0,0)

Tints of #796D8B

#796D8B
(121,109,139)
#857A95
(133,122,149)
#91879F
(145,135,159)
#9D94A9
(157,148,169)
#A9A1B3
(169,161,179)
#B5AEBD
(181,174,189)
#C1BBC7
(193,187,199)
#CDC8D1
(205,200,209)
#D9D5DB
(217,213,219)
#E5E2E5
(229,226,229)
#F1EFEF
(241,239,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #796D8B; }

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

This text font color is #796D8B.


Background Color

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

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

This div background color is #796D8B.


Border color

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

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

This div border color is #796D8B.


Opacity

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

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

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

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

This text has shadow with #796D8B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #796D8B on black background.


Color preview on white background

This text has color #796D8B on white background.



Black color preview on #796D8B background

This text has black color on #796D8B background.


White color preview on #796D8B background

This text has white color on #796D8B background.