COLOR #A8A797

HEX: #A8A797
RGB: (168,167,151)

Color info

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

RGB color model

#A8A797 color RGB value is (168,167,151).

  • red value is 168;
  • green value is 167;
  • blue value is 151.
RGB:
(168,167,151)
(66%,65%,59%)

RGB channels and saturation

R 168 of 255 = 66%
G 167 of 255 = 65%
B 151 of 255 = 59%

168
167
151

R + G + B ~ 63%. #A8A797 is quite light color.

Portions of RGB colors in percentages

R + G + B =
168 + 167 + 151 = 486 (100%)
R 168 of 486 ~ 34.57%
G 167 of 486 ~ 34.36%
B 151 of 486 ~ 31.07%

%34.57
%34.36
%31.07

CMYK color model

#A8A797 color CMYK value is (0,1,10,34).

  • cyan value is 0.00%
  • magenta value is 0.60%
  • yellow value is 10.12%
  • key color value is 34.12%
CMYK:
(0,1,10,34)
C0M1Y10K34 
(0%,1%,10%,34%)
(0.00/0.01/0.10/0.34)	

CMYK percentages

%0
%0.6
%10.12
%34.12

Codes

Color #A8A797 in popluar color models

A8A797
RGB168167151
HSL56°8.90%62.55%
HSB/HSV56°10.12%65.88%
CMYK0.00%0.60%10.12%
34.12%

Color #A8A797 in popluar number systems.

HEXA8A797
Decimal168167151
Binary101010001010011110010111
Octal250247227

Shades and tints

Shades of #A8A797

#A8A797
(168,167,151)
#99988A
(153,152,138)
#8A897D
(138,137,125)
#7B7A70
(123,122,112)
#6C6B63
(108,107,99)
#5D5C56
(93,92,86)
#4E4D49
(78,77,73)
#3F3E3C
(63,62,60)
#302F2F
(48,47,47)
#212022
(33,32,34)
#121115
(18,17,21)
#000000
(0,0,0)

Tints of #A8A797

#A8A797
(168,167,151)
#AFAFA0
(175,175,160)
#B6B7A9
(182,183,169)
#BDBFB2
(189,191,178)
#C4C7BB
(196,199,187)
#CBCFC4
(203,207,196)
#D2D7CD
(210,215,205)
#D9DFD6
(217,223,214)
#E0E7DF
(224,231,223)
#E7EFE8
(231,239,232)
#EEF7F1
(238,247,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A8A797 color. Also use rgb(168,167,151) instead hex code.

Text Font Color

.myTextColor { color: #A8A797; }

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

This text font color is #A8A797.


Background Color

.myBgColor { background-color: #A8A797; }

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

This div background color is #A8A797.


Border color

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

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

This div border color is #A8A797.


Opacity

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

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

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

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

This text has shadow with #A8A797 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A8A797 on black background.


Color preview on white background

This text has color #A8A797 on white background.



Black color preview on #A8A797 background

This text has black color on #A8A797 background.


White color preview on #A8A797 background

This text has white color on #A8A797 background.