COLOR #A6796B

HEX: #A6796B RGB: (166,121,107)

Color info

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

RGB color model

#A6796B color RGB value is (166,121,107).

RGB: (166,121,107) (65%, 47%, 42%)

RGB channels and saturation

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

166
121
107

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

Portions of RGB colors in percentages

R + G + B = 166 + 121 + 107 = 394 (100%)
R 166 of 394 ~ 42.13%
G 121 of 394 ~ 30.71%
B 107 of 394 ~ 27.16'%

%42.13
%30.71
%27.16

CMYK color model

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

  • cyan value is 0.00%
  • magenta value is 27.11%
  • yellow value is 35.54%
  • key color value is 34.90%

CMYK: (0,27,36,35)
C0M27Y36K35 (0%, 27%, 36%, 35%)
(0.00 / 0.27 / 0.36 / 0.35)

CMYK percentages

%0
%27.11
%35.54
%34.9

Codes

Color #A6796B in popluar color models

A6 79 6B
RGB 166 121 107
HSL 14° 24.89% 53.53%
HSB/HSV 14° 35.54% 65.10%
CMYK 0.00% 27.11% 35.54%
34.90%

Color #A6796B in popluar number systems.

HEX A6 79 6B
Decimal 166 121 107
Binary 10100110 1111001 1101011
Octal 246 171 153

Shades and tints

Shades of #A6796B

#A6796B
(166,121,107)
#976E62
(151,110,98)
#886359
(136,99,89)
#795850
(121,88,80)
#6A4D47
(106,77,71)
#5B423E
(91,66,62)
#4C3735
(76,55,53)
#3D2C2C
(61,44,44)
#2E2123
(46,33,35)
#1F161A
(31,22,26)
#100B11
(16,11,17)
#000000
(0,0,0)

Tints of #A6796B

#A6796B
(166,121,107)
#AE8578
(174,133,120)
#B69185
(182,145,133)
#BE9D92
(190,157,146)
#C6A99F
(198,169,159)
#CEB5AC
(206,181,172)
#D6C1B9
(214,193,185)
#DECDC6
(222,205,198)
#E6D9D3
(230,217,211)
#EEE5E0
(238,229,224)
#F6F1ED
(246,241,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A6796B; }

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

This text font color is #A6796B.

Background Color

.myBgColor { background-color: #A6796B; }

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

This div background color is #A6796B.

Border color

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

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

This div border color is #A6796B.

Opacity

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

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

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

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

This text has shadow with #A6796B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #A6796B.

Preview

Color preview on black background

This text has color #A6796B on black background.


Color preview on white background

This text has color #A6796B on white background.


Black color preview on #A6796B background

This text has black color on #A6796B background.


White color preview on #A6796B background

This text has white color on #A6796B background.


Related colors

Complementary color

Complementary color for #hex is #598694.


I love getcolorcode.com

Triadic colors

1 #6BA679 and #796BA6 with #A6796B are triadic colors.

2 #6B79A6 and #79A66B with #A6796B are triadic colors.