COLOR #AFA8BF

HEX: #AFA8BF
RGB: (175,168,191)

Color info

#AFA8BF contains red, green and blue colors in about the same proportion. Web safe color of #AFA8BF is #9999CC (or #99C).

RGB color model

#AFA8BF color RGB value is (175,168,191).

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

RGB channels and saturation

R 175 of 255 = 69%
G 168 of 255 = 66%
B 191 of 255 = 75%

175
168
191

R + G + B ~ 70%. #AFA8BF is quite light color.

Portions of RGB colors in percentages

R + G + B =
175 + 168 + 191 = 534 (100%)
R 175 of 534 ~ 32.77%
G 168 of 534 ~ 31.46%
B 191 of 534 ~ 35.77%

%32.77
%31.46
%35.77

CMYK color model

#AFA8BF color CMYK value is (8,12,0,25).

  • cyan value is 8.38%
  • magenta value is 12.04%
  • yellow value is 0.00%
  • key color value is 25.10%
CMYK:
(8,12,0,25)
C8M12Y0K25 
(8%,12%,0%,25%)
(0.08/0.12/0.00/0.25)	

CMYK percentages

%8.38
%12.04
%0
%25.1

Codes

Color #AFA8BF in popluar color models

AFA8BF
RGB175168191
HSL258°15.23%70.39%
HSB/HSV258°12.04%74.90%
CMYK8.38%12.04%0.00%
25.10%

Color #AFA8BF in popluar number systems.

HEXAFA8BF
Decimal175168191
Binary101011111010100010111111
Octal257250277

Shades and tints

Shades of #AFA8BF

#AFA8BF
(175,168,191)
#A099AE
(160,153,174)
#918A9D
(145,138,157)
#827B8C
(130,123,140)
#736C7B
(115,108,123)
#645D6A
(100,93,106)
#554E59
(85,78,89)
#463F48
(70,63,72)
#373037
(55,48,55)
#282126
(40,33,38)
#191215
(25,18,21)
#000000
(0,0,0)

Tints of #AFA8BF

#AFA8BF
(175,168,191)
#B6AFC4
(182,175,196)
#BDB6C9
(189,182,201)
#C4BDCE
(196,189,206)
#CBC4D3
(203,196,211)
#D2CBD8
(210,203,216)
#D9D2DD
(217,210,221)
#E0D9E2
(224,217,226)
#E7E0E7
(231,224,231)
#EEE7EC
(238,231,236)
#F5EEF1
(245,238,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFA8BF; }

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

This text font color is #AFA8BF.


Background Color

.myBgColor { background-color: #AFA8BF; }

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

This div background color is #AFA8BF.


Border color

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

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

This div border color is #AFA8BF.


Opacity

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

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

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

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

This text has shadow with #AFA8BF color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA8BF on black background.


Color preview on white background

This text has color #AFA8BF on white background.



Black color preview on #AFA8BF background

This text has black color on #AFA8BF background.


White color preview on #AFA8BF background

This text has white color on #AFA8BF background.