COLOR #A6796C

HEX: #A6796C
RGB: (166,121,108)

Color info

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

RGB color model

#A6796C color RGB value is (166,121,108).

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

RGB channels and saturation

R 166 of 255 = 65%
G 121 of 255 = 47%
B 108 of 255 = 42%

166
121
108

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

Portions of RGB colors in percentages

R + G + B =
166 + 121 + 108 = 395 (100%)
R 166 of 395 ~ 42.03%
G 121 of 395 ~ 30.63%
B 108 of 395 ~ 27.34%

%42.03
%30.63
%27.34

CMYK color model

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

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

CMYK percentages

%0
%27.11
%34.94
%34.9

Codes

Color #A6796C in popluar color models

A6796C
RGB166121108
HSL13°24.58%53.73%
HSB/HSV13°34.94%65.10%
CMYK0.00%27.11%34.94%
34.90%

Color #A6796C in popluar number systems.

HEXA6796C
Decimal166121108
Binary1010011011110011101100
Octal246171154

Shades and tints

Shades of #A6796C

#A6796C
(166,121,108)
#976E63
(151,110,99)
#88635A
(136,99,90)
#795851
(121,88,81)
#6A4D48
(106,77,72)
#5B423F
(91,66,63)
#4C3736
(76,55,54)
#3D2C2D
(61,44,45)
#2E2124
(46,33,36)
#1F161B
(31,22,27)
#100B12
(16,11,18)
#000000
(0,0,0)

Tints of #A6796C

#A6796C
(166,121,108)
#AE8579
(174,133,121)
#B69186
(182,145,134)
#BE9D93
(190,157,147)
#C6A9A0
(198,169,160)
#CEB5AD
(206,181,173)
#D6C1BA
(214,193,186)
#DECDC7
(222,205,199)
#E6D9D4
(230,217,212)
#EEE5E1
(238,229,225)
#F6F1EE
(246,241,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A6796C; }

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

This text font color is #A6796C.


Background Color

.myBgColor { background-color: #A6796C; }

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

This div background color is #A6796C.


Border color

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

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

This div border color is #A6796C.


Opacity

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

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

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

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

This text has shadow with #A6796C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A6796C on black background.


Color preview on white background

This text has color #A6796C on white background.



Black color preview on #A6796C background

This text has black color on #A6796C background.


White color preview on #A6796C background

This text has white color on #A6796C background.