COLOR #AFA7A6

HEX: #AFA7A6
RGB: (175,167,166)

Color info

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

RGB color model

#AFA7A6 color RGB value is (175,167,166).

  • red value is 175;
  • green value is 167;
  • blue value is 166.
RGB:
(175,167,166)
(69%,65%,65%)

RGB channels and saturation

R 175 of 255 = 69%
G 167 of 255 = 65%
B 166 of 255 = 65%

175
167
166

R + G + B ~ 66%. #AFA7A6 is quite light color.

Portions of RGB colors in percentages

R + G + B =
175 + 167 + 166 = 508 (100%)
R 175 of 508 ~ 34.45%
G 167 of 508 ~ 32.87%
B 166 of 508 ~ 32.68%

%34.45
%32.87
%32.68

CMYK color model

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

  • cyan value is 0.00%
  • magenta value is 4.57%
  • yellow value is 5.14%
  • key color value is 31.37%
CMYK:
(0,5,5,31)
C0M5Y5K31 
(0%,5%,5%,31%)
(0.00/0.05/0.05/0.31)	

CMYK percentages

%0
%4.57
%5.14
%31.37

Codes

Color #AFA7A6 in popluar color models

AFA7A6
RGB175167166
HSL5.33%66.86%
HSB/HSV5.14%68.63%
CMYK0.00%4.57%5.14%
31.37%

Color #AFA7A6 in popluar number systems.

HEXAFA7A6
Decimal175167166
Binary101011111010011110100110
Octal257247246

Shades and tints

Shades of #AFA7A6

#AFA7A6
(175,167,166)
#A09897
(160,152,151)
#918988
(145,137,136)
#827A79
(130,122,121)
#736B6A
(115,107,106)
#645C5B
(100,92,91)
#554D4C
(85,77,76)
#463E3D
(70,62,61)
#372F2E
(55,47,46)
#28201F
(40,32,31)
#191110
(25,17,16)
#000000
(0,0,0)

Tints of #AFA7A6

#AFA7A6
(175,167,166)
#B6AFAE
(182,175,174)
#BDB7B6
(189,183,182)
#C4BFBE
(196,191,190)
#CBC7C6
(203,199,198)
#D2CFCE
(210,207,206)
#D9D7D6
(217,215,214)
#E0DFDE
(224,223,222)
#E7E7E6
(231,231,230)
#EEEFEE
(238,239,238)
#F5F7F6
(245,247,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFA7A6; }

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

This text font color is #AFA7A6.


Background Color

.myBgColor { background-color: #AFA7A6; }

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

This div background color is #AFA7A6.


Border color

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

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

This div border color is #AFA7A6.


Opacity

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

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

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

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

This text has shadow with #AFA7A6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA7A6 on black background.


Color preview on white background

This text has color #AFA7A6 on white background.



Black color preview on #AFA7A6 background

This text has black color on #AFA7A6 background.


White color preview on #AFA7A6 background

This text has white color on #AFA7A6 background.