COLOR #796F8A

HEX: #796F8A
RGB: (121,111,138)

Color info

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

RGB color model

#796F8A color RGB value is (121,111,138).

  • red value is 121;
  • green value is 111;
  • blue value is 138.
RGB:
(121,111,138)
(47%,44%,54%)

RGB channels and saturation

R 121 of 255 = 47%
G 111 of 255 = 44%
B 138 of 255 = 54%

121
111
138

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

Portions of RGB colors in percentages

R + G + B =
121 + 111 + 138 = 370 (100%)
R 121 of 370 ~ 32.7%
G 111 of 370 ~ 30%
B 138 of 370 ~ 37.3%

%32.7
%30
%37.3

CMYK color model

#796F8A color CMYK value is (12,20,0,46).

  • cyan value is 12.32%
  • magenta value is 19.57%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(12,20,0,46)
C12M20Y0K46 
(12%,20%,0%,46%)
(0.12/0.20/0.00/0.46)	

CMYK percentages

%12.32
%19.57
%0
%45.88

Codes

Color #796F8A in popluar color models

796F8A
RGB121111138
HSL262°10.84%48.82%
HSB/HSV262°19.57%54.12%
CMYK12.32%19.57%0.00%
45.88%

Color #796F8A in popluar number systems.

HEX796F8A
Decimal121111138
Binary1111001110111110001010
Octal171157212

Shades and tints

Shades of #796F8A

#796F8A
(121,111,138)
#6E657E
(110,101,126)
#635B72
(99,91,114)
#585166
(88,81,102)
#4D475A
(77,71,90)
#423D4E
(66,61,78)
#373342
(55,51,66)
#2C2936
(44,41,54)
#211F2A
(33,31,42)
#16151E
(22,21,30)
#0B0B12
(11,11,18)
#000000
(0,0,0)

Tints of #796F8A

#796F8A
(121,111,138)
#857C94
(133,124,148)
#91899E
(145,137,158)
#9D96A8
(157,150,168)
#A9A3B2
(169,163,178)
#B5B0BC
(181,176,188)
#C1BDC6
(193,189,198)
#CDCAD0
(205,202,208)
#D9D7DA
(217,215,218)
#E5E4E4
(229,228,228)
#F1F1EE
(241,241,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #796F8A color. Also use rgb(121,111,138) instead hex code.

Text Font Color

.myTextColor { color: #796F8A; }

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

This text font color is #796F8A.


Background Color

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

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

This div background color is #796F8A.


Border color

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

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

This div border color is #796F8A.


Opacity

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

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

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

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

This text has shadow with #796F8A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #796F8A on black background.


Color preview on white background

This text has color #796F8A on white background.



Black color preview on #796F8A background

This text has black color on #796F8A background.


White color preview on #796F8A background

This text has white color on #796F8A background.