COLOR #AFA6AF

HEX: #AFA6AF
RGB: (175,166,175)

Color info

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

RGB color model

#AFA6AF color RGB value is (175,166,175).

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

RGB channels and saturation

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

175
166
175

R + G + B ~ 68%. #AFA6AF is quite light color.

Portions of RGB colors in percentages

R + G + B =
175 + 166 + 175 = 516 (100%)
R 175 of 516 ~ 33.91%
G 166 of 516 ~ 32.17%
B 175 of 516 ~ 33.91%

%33.91
%32.17
%33.91

CMYK color model

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

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

CMYK percentages

%0
%5.14
%0
%31.37

Codes

Color #AFA6AF in popluar color models

AFA6AF
RGB175166175
HSL300°5.33%66.86%
HSB/HSV300°5.14%68.63%
CMYK0.00%5.14%0.00%
31.37%

Color #AFA6AF in popluar number systems.

HEXAFA6AF
Decimal175166175
Binary101011111010011010101111
Octal257246257

Shades and tints

Shades of #AFA6AF

#AFA6AF
(175,166,175)
#A097A0
(160,151,160)
#918891
(145,136,145)
#827982
(130,121,130)
#736A73
(115,106,115)
#645B64
(100,91,100)
#554C55
(85,76,85)
#463D46
(70,61,70)
#372E37
(55,46,55)
#281F28
(40,31,40)
#191019
(25,16,25)
#000000
(0,0,0)

Tints of #AFA6AF

#AFA6AF
(175,166,175)
#B6AEB6
(182,174,182)
#BDB6BD
(189,182,189)
#C4BEC4
(196,190,196)
#CBC6CB
(203,198,203)
#D2CED2
(210,206,210)
#D9D6D9
(217,214,217)
#E0DEE0
(224,222,224)
#E7E6E7
(231,230,231)
#EEEEEE
(238,238,238)
#F5F6F5
(245,246,245)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFA6AF; }

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

This text font color is #AFA6AF.


Background Color

.myBgColor { background-color: #AFA6AF; }

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

This div background color is #AFA6AF.


Border color

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

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

This div border color is #AFA6AF.


Opacity

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

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

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

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

This text has shadow with #AFA6AF color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA6AF on black background.


Color preview on white background

This text has color #AFA6AF on white background.



Black color preview on #AFA6AF background

This text has black color on #AFA6AF background.


White color preview on #AFA6AF background

This text has white color on #AFA6AF background.