COLOR #A6797A

HEX: #A6797A
RGB: (166,121,122)

Color info

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

RGB color model

#A6797A color RGB value is (166,121,122).

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

RGB channels and saturation

R 166 of 255 = 65%
G 121 of 255 = 47%
B 122 of 255 = 48%

166
121
122

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

Portions of RGB colors in percentages

R + G + B =
166 + 121 + 122 = 409 (100%)
R 166 of 409 ~ 40.59%
G 121 of 409 ~ 29.58%
B 122 of 409 ~ 29.83%

%40.59
%29.58
%29.83

CMYK color model

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

  • cyan value is 0.00%
  • magenta value is 27.11%
  • yellow value is 26.51%
  • key color value is 34.90%
CMYK:
(0,27,27,35)
C0M27Y27K35 
(0%,27%,27%,35%)
(0.00/0.27/0.27/0.35)	

CMYK percentages

%0
%27.11
%26.51
%34.9

Codes

Color #A6797A in popluar color models

A6797A
RGB166121122
HSL359°20.18%56.27%
HSB/HSV359°27.11%65.10%
CMYK0.00%27.11%26.51%
34.90%

Color #A6797A in popluar number systems.

HEXA6797A
Decimal166121122
Binary1010011011110011111010
Octal246171172

Shades and tints

Shades of #A6797A

#A6797A
(166,121,122)
#976E6F
(151,110,111)
#886364
(136,99,100)
#795859
(121,88,89)
#6A4D4E
(106,77,78)
#5B4243
(91,66,67)
#4C3738
(76,55,56)
#3D2C2D
(61,44,45)
#2E2122
(46,33,34)
#1F1617
(31,22,23)
#100B0C
(16,11,12)
#000000
(0,0,0)

Tints of #A6797A

#A6797A
(166,121,122)
#AE8586
(174,133,134)
#B69192
(182,145,146)
#BE9D9E
(190,157,158)
#C6A9AA
(198,169,170)
#CEB5B6
(206,181,182)
#D6C1C2
(214,193,194)
#DECDCE
(222,205,206)
#E6D9DA
(230,217,218)
#EEE5E6
(238,229,230)
#F6F1F2
(246,241,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A6797A; }

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

This text font color is #A6797A.


Background Color

.myBgColor { background-color: #A6797A; }

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

This div background color is #A6797A.


Border color

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

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

This div border color is #A6797A.


Opacity

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

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

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

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

This text has shadow with #A6797A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A6797A on black background.


Color preview on white background

This text has color #A6797A on white background.



Black color preview on #A6797A background

This text has black color on #A6797A background.


White color preview on #A6797A background

This text has white color on #A6797A background.