COLOR #A6B797

HEX: #A6B797
RGB: (166,183,151)

Color info

#A6B797 contains red, green and blue colors in about the same proportion. Web safe color of #A6B797 is #99CC99 (or #9C9).

RGB color model

#A6B797 color RGB value is (166,183,151).

  • red value is 166;
  • green value is 183;
  • blue value is 151.
RGB:
(166,183,151)
(65%,72%,59%)

RGB channels and saturation

R 166 of 255 = 65%
G 183 of 255 = 72%
B 151 of 255 = 59%

166
183
151

R + G + B ~ 65%. #A6B797 is quite light color.

Portions of RGB colors in percentages

R + G + B =
166 + 183 + 151 = 500 (100%)
R 166 of 500 ~ 33.2%
G 183 of 500 ~ 36.6%
B 151 of 500 ~ 30.2%

%33.2
%36.6
%30.2

CMYK color model

#A6B797 color CMYK value is (9,0,17,28).

  • cyan value is 9.29%
  • magenta value is 0.00%
  • yellow value is 17.49%
  • key color value is 28.24%
CMYK:
(9,0,17,28)
C9M0Y17K28 
(9%,0%,17%,28%)
(0.09/0.00/0.17/0.28)	

CMYK percentages

%9.29
%0
%17.49
%28.24

Codes

Color #A6B797 in popluar color models

A6B797
RGB166183151
HSL92°18.18%65.49%
HSB/HSV92°17.49%71.76%
CMYK9.29%0.00%17.49%
28.24%

Color #A6B797 in popluar number systems.

HEXA6B797
Decimal166183151
Binary101001101011011110010111
Octal246267227

Shades and tints

Shades of #A6B797

#A6B797
(166,183,151)
#97A78A
(151,167,138)
#88977D
(136,151,125)
#798770
(121,135,112)
#6A7763
(106,119,99)
#5B6756
(91,103,86)
#4C5749
(76,87,73)
#3D473C
(61,71,60)
#2E372F
(46,55,47)
#1F2722
(31,39,34)
#101715
(16,23,21)
#000000
(0,0,0)

Tints of #A6B797

#A6B797
(166,183,151)
#AEBDA0
(174,189,160)
#B6C3A9
(182,195,169)
#BEC9B2
(190,201,178)
#C6CFBB
(198,207,187)
#CED5C4
(206,213,196)
#D6DBCD
(214,219,205)
#DEE1D6
(222,225,214)
#E6E7DF
(230,231,223)
#EEEDE8
(238,237,232)
#F6F3F1
(246,243,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A6B797 color. Also use rgb(166,183,151) instead hex code.

Text Font Color

.myTextColor { color: #A6B797; }

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

This text font color is #A6B797.


Background Color

.myBgColor { background-color: #A6B797; }

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

This div background color is #A6B797.


Border color

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

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

This div border color is #A6B797.


Opacity

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

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

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

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

This text has shadow with #A6B797 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A6B797 on black background.


Color preview on white background

This text has color #A6B797 on white background.



Black color preview on #A6B797 background

This text has black color on #A6B797 background.


White color preview on #A6B797 background

This text has white color on #A6B797 background.