COLOR #A6AF97

HEX: #A6AF97 RGB: (166,175,151)

Color info

#A6AF97 contains red, green and blue colors in about the same proportion. Web safe color of #A6AF97 is #999999 (or #999).

RGB color model

#A6AF97 color RGB value is (166,175,151).

RGB: (166,175,151) (65%, 69%, 59%)

RGB channels and saturation

R 166 of 255 = 65%
G 175 of 255 = 69%
B 151 of 255 = 59%

166
175
151

R + G + B ~ 64%. #A6AF97 is quite light color.

Portions of RGB colors in percentages

R + G + B = 166 + 175 + 151 = 492 (100%)
R 166 of 492 ~ 33.74%
G 175 of 492 ~ 35.57%
B 151 of 492 ~ 30.69'%

%33.74
%35.57
%30.69

CMYK color model

#A6AF97 color CMYK value is (5,0,14,31).

  • cyan value is 5.14%
  • magenta value is 0.00%
  • yellow value is 13.71%
  • key color value is 31.37%

CMYK: (5,0,14,31)
C5M0Y14K31 (5%, 0%, 14%, 31%)
(0.05 / 0.00 / 0.14 / 0.31)

CMYK percentages

%5.14
%0
%13.71
%31.37

Codes

Color #A6AF97 in popluar color models

A6 AF 97
RGB 166 175 151
HSL 83° 13.04% 63.92%
HSB/HSV 83° 13.71% 68.63%
CMYK 5.14% 0.00% 13.71%
31.37%

Color #A6AF97 in popluar number systems.

HEX A6 AF 97
Decimal 166 175 151
Binary 10100110 10101111 10010111
Octal 246 257 227

Shades and tints

Shades of #A6AF97

#A6AF97
(166,175,151)
#97A08A
(151,160,138)
#88917D
(136,145,125)
#798270
(121,130,112)
#6A7363
(106,115,99)
#5B6456
(91,100,86)
#4C5549
(76,85,73)
#3D463C
(61,70,60)
#2E372F
(46,55,47)
#1F2822
(31,40,34)
#101915
(16,25,21)
#000000
(0,0,0)

Tints of #A6AF97

#A6AF97
(166,175,151)
#AEB6A0
(174,182,160)
#B6BDA9
(182,189,169)
#BEC4B2
(190,196,178)
#C6CBBB
(198,203,187)
#CED2C4
(206,210,196)
#D6D9CD
(214,217,205)
#DEE0D6
(222,224,214)
#E6E7DF
(230,231,223)
#EEEEE8
(238,238,232)
#F6F5F1
(246,245,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A6AF97; }

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

This text font color is #A6AF97.

Background Color

.myBgColor { background-color: #A6AF97; }

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

This div background color is #A6AF97.

Border color

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

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

This div border color is #A6AF97.

Opacity

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

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

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

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

This text has shadow with #A6AF97 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #A6AF97.

Preview

Color preview on black background

This text has color #A6AF97 on black background.


Color preview on white background

This text has color #A6AF97 on white background.


Black color preview on #A6AF97 background

This text has black color on #A6AF97 background.


White color preview on #A6AF97 background

This text has white color on #A6AF97 background.


Related colors

Complementary color

Complementary color for #hex is #595068.


I love getcolorcode.com

Triadic colors

1 #97A6AF and #AF97A6 with #A6AF97 are triadic colors.

2 #97AFA6 and #AFA697 with #A6AF97 are triadic colors.