COLOR #AFA4A6

HEX: #AFA4A6
RGB: (175,164,166)

Color info

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

RGB color model

#AFA4A6 color RGB value is (175,164,166).

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

RGB channels and saturation

R 175 of 255 = 69%
G 164 of 255 = 64%
B 166 of 255 = 65%

175
164
166

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

Portions of RGB colors in percentages

R + G + B =
175 + 164 + 166 = 505 (100%)
R 175 of 505 ~ 34.65%
G 164 of 505 ~ 32.48%
B 166 of 505 ~ 32.87%

%34.65
%32.48
%32.87

CMYK color model

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

  • cyan value is 0.00%
  • magenta value is 6.29%
  • yellow value is 5.14%
  • key color value is 31.37%
CMYK:
(0,6,5,31)
C0M6Y5K31 
(0%,6%,5%,31%)
(0.00/0.06/0.05/0.31)	

CMYK percentages

%0
%6.29
%5.14
%31.37

Codes

Color #AFA4A6 in popluar color models

AFA4A6
RGB175164166
HSL349°6.43%66.47%
HSB/HSV349°6.29%68.63%
CMYK0.00%6.29%5.14%
31.37%

Color #AFA4A6 in popluar number systems.

HEXAFA4A6
Decimal175164166
Binary101011111010010010100110
Octal257244246

Shades and tints

Shades of #AFA4A6

#AFA4A6
(175,164,166)
#A09697
(160,150,151)
#918888
(145,136,136)
#827A79
(130,122,121)
#736C6A
(115,108,106)
#645E5B
(100,94,91)
#55504C
(85,80,76)
#46423D
(70,66,61)
#37342E
(55,52,46)
#28261F
(40,38,31)
#191810
(25,24,16)
#000000
(0,0,0)

Tints of #AFA4A6

#AFA4A6
(175,164,166)
#B6ACAE
(182,172,174)
#BDB4B6
(189,180,182)
#C4BCBE
(196,188,190)
#CBC4C6
(203,196,198)
#D2CCCE
(210,204,206)
#D9D4D6
(217,212,214)
#E0DCDE
(224,220,222)
#E7E4E6
(231,228,230)
#EEECEE
(238,236,238)
#F5F4F6
(245,244,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFA4A6; }

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

This text font color is #AFA4A6.


Background Color

.myBgColor { background-color: #AFA4A6; }

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

This div background color is #AFA4A6.


Border color

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

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

This div border color is #AFA4A6.


Opacity

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

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

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

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

This text has shadow with #AFA4A6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA4A6 on black background.


Color preview on white background

This text has color #AFA4A6 on white background.



Black color preview on #AFA4A6 background

This text has black color on #AFA4A6 background.


White color preview on #AFA4A6 background

This text has white color on #AFA4A6 background.