COLOR #AFA8B2

HEX: #AFA8B2
RGB: (175,168,178)

Color info

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

RGB color model

#AFA8B2 color RGB value is (175,168,178).

  • red value is 175;
  • green value is 168;
  • blue value is 178.
RGB:
(175,168,178)
(69%,66%,70%)

RGB channels and saturation

R 175 of 255 = 69%
G 168 of 255 = 66%
B 178 of 255 = 70%

175
168
178

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

Portions of RGB colors in percentages

R + G + B =
175 + 168 + 178 = 521 (100%)
R 175 of 521 ~ 33.59%
G 168 of 521 ~ 32.25%
B 178 of 521 ~ 34.17%

%33.59
%32.25
%34.17

CMYK color model

#AFA8B2 color CMYK value is (2,6,0,30).

  • cyan value is 1.69%
  • magenta value is 5.62%
  • yellow value is 0.00%
  • key color value is 30.20%
CMYK:
(2,6,0,30)
C2M6Y0K30 
(2%,6%,0%,30%)
(0.02/0.06/0.00/0.30)	

CMYK percentages

%1.69
%5.62
%0
%30.2

Codes

Color #AFA8B2 in popluar color models

AFA8B2
RGB175168178
HSL282°6.10%67.84%
HSB/HSV282°5.62%69.80%
CMYK1.69%5.62%0.00%
30.20%

Color #AFA8B2 in popluar number systems.

HEXAFA8B2
Decimal175168178
Binary101011111010100010110010
Octal257250262

Shades and tints

Shades of #AFA8B2

#AFA8B2
(175,168,178)
#A099A2
(160,153,162)
#918A92
(145,138,146)
#827B82
(130,123,130)
#736C72
(115,108,114)
#645D62
(100,93,98)
#554E52
(85,78,82)
#463F42
(70,63,66)
#373032
(55,48,50)
#282122
(40,33,34)
#191212
(25,18,18)
#000000
(0,0,0)

Tints of #AFA8B2

#AFA8B2
(175,168,178)
#B6AFB9
(182,175,185)
#BDB6C0
(189,182,192)
#C4BDC7
(196,189,199)
#CBC4CE
(203,196,206)
#D2CBD5
(210,203,213)
#D9D2DC
(217,210,220)
#E0D9E3
(224,217,227)
#E7E0EA
(231,224,234)
#EEE7F1
(238,231,241)
#F5EEF8
(245,238,248)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFA8B2; }

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

This text font color is #AFA8B2.


Background Color

.myBgColor { background-color: #AFA8B2; }

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

This div background color is #AFA8B2.


Border color

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

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

This div border color is #AFA8B2.


Opacity

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

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

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

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

This text has shadow with #AFA8B2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA8B2 on black background.


Color preview on white background

This text has color #AFA8B2 on white background.



Black color preview on #AFA8B2 background

This text has black color on #AFA8B2 background.


White color preview on #AFA8B2 background

This text has white color on #AFA8B2 background.