COLOR #A6A87B

HEX: #A6A87B RGB: (166,168,123)

Color info

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

RGB color model

#A6A87B color RGB value is (166,168,123).

RGB: (166,168,123) (65%, 66%, 48%)

RGB channels and saturation

R 166 of 255 = 65%
G 168 of 255 = 66%
B 123 of 255 = 48%

166
168
123

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

Portions of RGB colors in percentages

R + G + B = 166 + 168 + 123 = 457 (100%)
R 166 of 457 ~ 36.32%
G 168 of 457 ~ 36.76%
B 123 of 457 ~ 26.91'%

%36.32
%36.76
%26.91

CMYK color model

#A6A87B color CMYK value is (1,0,27,34).

  • cyan value is 1.19%
  • magenta value is 0.00%
  • yellow value is 26.79%
  • key color value is 34.12%

CMYK: (1,0,27,34)
C1M0Y27K34 (1%, 0%, 27%, 34%)
(0.01 / 0.00 / 0.27 / 0.34)

CMYK percentages

%1.19
%0
%26.79
%34.12

Codes

Color #A6A87B in popluar color models

A6 A8 7B
RGB 166 168 123
HSL 63° 20.55% 57.06%
HSB/HSV 63° 26.79% 65.88%
CMYK 1.19% 0.00% 26.79%
34.12%

Color #A6A87B in popluar number systems.

HEX A6 A8 7B
Decimal 166 168 123
Binary 10100110 10101000 1111011
Octal 246 250 173

Shades and tints

Shades of #A6A87B

#A6A87B
(166,168,123)
#979970
(151,153,112)
#888A65
(136,138,101)
#797B5A
(121,123,90)
#6A6C4F
(106,108,79)
#5B5D44
(91,93,68)
#4C4E39
(76,78,57)
#3D3F2E
(61,63,46)
#2E3023
(46,48,35)
#1F2118
(31,33,24)
#10120D
(16,18,13)
#000000
(0,0,0)

Tints of #A6A87B

#A6A87B
(166,168,123)
#AEAF87
(174,175,135)
#B6B693
(182,182,147)
#BEBD9F
(190,189,159)
#C6C4AB
(198,196,171)
#CECBB7
(206,203,183)
#D6D2C3
(214,210,195)
#DED9CF
(222,217,207)
#E6E0DB
(230,224,219)
#EEE7E7
(238,231,231)
#F6EEF3
(246,238,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A6A87B color. Also use rgb(166,168,123) instead hex code.

Text Font Color

.myTextColor { color: #A6A87B; }

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

This text font color is #A6A87B.

Background Color

.myBgColor { background-color: #A6A87B; }

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

This div background color is #A6A87B.

Border color

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

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

This div border color is #A6A87B.

Opacity

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

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

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

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

This text has shadow with #A6A87B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #A6A87B.

Preview

Color preview on black background

This text has color #A6A87B on black background.


Color preview on white background

This text has color #A6A87B on white background.


Black color preview on #A6A87B background

This text has black color on #A6A87B background.


White color preview on #A6A87B background

This text has white color on #A6A87B background.


Related colors

Complementary color

Complementary color for #hex is #595784.


I love getcolorcode.com

Triadic colors

1 #7BA6A8 and #A87BA6 with #A6A87B are triadic colors.

2 #7BA8A6 and #A8A67B with #A6A87B are triadic colors.