COLOR #A6AF7F

HEX: #A6AF7F RGB: (166,175,127)

Color info

#A6AF7F contains red, green and blue colors in about the same proportion. Web safe color of #A6AF7F is #999966 (or #996).

RGB color model

#A6AF7F color RGB value is (166,175,127).

RGB: (166,175,127) (65%, 69%, 50%)

RGB channels and saturation

R 166 of 255 = 65%
G 175 of 255 = 69%
B 127 of 255 = 50%

166
175
127

R + G + B ~ 61%. #A6AF7F is quite light color.

Portions of RGB colors in percentages

R + G + B = 166 + 175 + 127 = 468 (100%)
R 166 of 468 ~ 35.47%
G 175 of 468 ~ 37.39%
B 127 of 468 ~ 27.14'%

%35.47
%37.39
%27.14

CMYK color model

#A6AF7F color CMYK value is (5,0,27,31).

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

CMYK: (5,0,27,31)
C5M0Y27K31 (5%, 0%, 27%, 31%)
(0.05 / 0.00 / 0.27 / 0.31)

CMYK percentages

%5.14
%0
%27.43
%31.37

Codes

Color #A6AF7F in popluar color models

A6 AF 7F
RGB 166 175 127
HSL 71° 23.08% 59.22%
HSB/HSV 71° 27.43% 68.63%
CMYK 5.14% 0.00% 27.43%
31.37%

Color #A6AF7F in popluar number systems.

HEX A6 AF 7F
Decimal 166 175 127
Binary 10100110 10101111 1111111
Octal 246 257 177

Shades and tints

Shades of #A6AF7F

#A6AF7F
(166,175,127)
#97A074
(151,160,116)
#889169
(136,145,105)
#79825E
(121,130,94)
#6A7353
(106,115,83)
#5B6448
(91,100,72)
#4C553D
(76,85,61)
#3D4632
(61,70,50)
#2E3727
(46,55,39)
#1F281C
(31,40,28)
#101911
(16,25,17)
#000000
(0,0,0)

Tints of #A6AF7F

#A6AF7F
(166,175,127)
#AEB68A
(174,182,138)
#B6BD95
(182,189,149)
#BEC4A0
(190,196,160)
#C6CBAB
(198,203,171)
#CED2B6
(206,210,182)
#D6D9C1
(214,217,193)
#DEE0CC
(222,224,204)
#E6E7D7
(230,231,215)
#EEEEE2
(238,238,226)
#F6F5ED
(246,245,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A6AF7F; }

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

This text font color is #A6AF7F.

Background Color

.myBgColor { background-color: #A6AF7F; }

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

This div background color is #A6AF7F.

Border color

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

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

This div border color is #A6AF7F.

Opacity

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

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

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

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

This text has shadow with #A6AF7F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #A6AF7F.

Preview

Color preview on black background

This text has color #A6AF7F on black background.


Color preview on white background

This text has color #A6AF7F on white background.


Black color preview on #A6AF7F background

This text has black color on #A6AF7F background.


White color preview on #A6AF7F background

This text has white color on #A6AF7F background.


Related colors

Complementary color

Complementary color for #hex is #595080.


I love getcolorcode.com

Triadic colors

1 #7FA6AF and #AF7FA6 with #A6AF7F are triadic colors.

2 #7FAFA6 and #AFA67F with #A6AF7F are triadic colors.