COLOR #A6797E

HEX: #A6797E
RGB: (166,121,126)

Color info

#A6797E contains red, green and blue colors in about the same proportion. Web safe color of #A6797E is #996666 (or #966).

RGB color model

#A6797E color RGB value is (166,121,126).

  • red value is 166;
  • green value is 121;
  • blue value is 126.
RGB:
(166,121,126)
(65%,47%,49%)

RGB channels and saturation

R 166 of 255 = 65%
G 121 of 255 = 47%
B 126 of 255 = 49%

166
121
126

R + G + B ~ 54%. #A6797E is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
166 + 121 + 126 = 413 (100%)
R 166 of 413 ~ 40.19%
G 121 of 413 ~ 29.3%
B 126 of 413 ~ 30.51%

%40.19
%29.3
%30.51

CMYK color model

#A6797E color CMYK value is (0,27,24,35).

  • cyan value is 0.00%
  • magenta value is 27.11%
  • yellow value is 24.10%
  • key color value is 34.90%
CMYK:
(0,27,24,35)
C0M27Y24K35 
(0%,27%,24%,35%)
(0.00/0.27/0.24/0.35)	

CMYK percentages

%0
%27.11
%24.1
%34.9

Codes

Color #A6797E in popluar color models

A6797E
RGB166121126
HSL353°20.18%56.27%
HSB/HSV353°27.11%65.10%
CMYK0.00%27.11%24.10%
34.90%

Color #A6797E in popluar number systems.

HEXA6797E
Decimal166121126
Binary1010011011110011111110
Octal246171176

Shades and tints

Shades of #A6797E

#A6797E
(166,121,126)
#976E73
(151,110,115)
#886368
(136,99,104)
#79585D
(121,88,93)
#6A4D52
(106,77,82)
#5B4247
(91,66,71)
#4C373C
(76,55,60)
#3D2C31
(61,44,49)
#2E2126
(46,33,38)
#1F161B
(31,22,27)
#100B10
(16,11,16)
#000000
(0,0,0)

Tints of #A6797E

#A6797E
(166,121,126)
#AE8589
(174,133,137)
#B69194
(182,145,148)
#BE9D9F
(190,157,159)
#C6A9AA
(198,169,170)
#CEB5B5
(206,181,181)
#D6C1C0
(214,193,192)
#DECDCB
(222,205,203)
#E6D9D6
(230,217,214)
#EEE5E1
(238,229,225)
#F6F1EC
(246,241,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A6797E color. Also use rgb(166,121,126) instead hex code.

Text Font Color

.myTextColor { color: #A6797E; }

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

This text font color is #A6797E.


Background Color

.myBgColor { background-color: #A6797E; }

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

This div background color is #A6797E.


Border color

.myBorderColor { border: 1px solid #A6797E; }

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

This div border color is #A6797E.


Opacity

.myOpacity80 { color: #A6797E; opacity: 0.8; }

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

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

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

This text has shadow with #A6797E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A6797E on black background.


Color preview on white background

This text has color #A6797E on white background.



Black color preview on #A6797E background

This text has black color on #A6797E background.


White color preview on #A6797E background

This text has white color on #A6797E background.