COLOR #AFA2BA

HEX: #AFA2BA
RGB: (175,162,186)

Color info

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

RGB color model

#AFA2BA color RGB value is (175,162,186).

  • red value is 175;
  • green value is 162;
  • blue value is 186.
RGB:
(175,162,186)
(69%,64%,73%)

RGB channels and saturation

R 175 of 255 = 69%
G 162 of 255 = 64%
B 186 of 255 = 73%

175
162
186

R + G + B ~ 69%. #AFA2BA is quite light color.

Portions of RGB colors in percentages

R + G + B =
175 + 162 + 186 = 523 (100%)
R 175 of 523 ~ 33.46%
G 162 of 523 ~ 30.98%
B 186 of 523 ~ 35.56%

%33.46
%30.98
%35.56

CMYK color model

#AFA2BA color CMYK value is (6,13,0,27).

  • cyan value is 5.91%
  • magenta value is 12.90%
  • yellow value is 0.00%
  • key color value is 27.06%
CMYK:
(6,13,0,27)
C6M13Y0K27 
(6%,13%,0%,27%)
(0.06/0.13/0.00/0.27)	

CMYK percentages

%5.91
%12.9
%0
%27.06

Codes

Color #AFA2BA in popluar color models

AFA2BA
RGB175162186
HSL273°14.81%68.24%
HSB/HSV273°12.90%72.94%
CMYK5.91%12.90%0.00%
27.06%

Color #AFA2BA in popluar number systems.

HEXAFA2BA
Decimal175162186
Binary101011111010001010111010
Octal257242272

Shades and tints

Shades of #AFA2BA

#AFA2BA
(175,162,186)
#A094AA
(160,148,170)
#91869A
(145,134,154)
#82788A
(130,120,138)
#736A7A
(115,106,122)
#645C6A
(100,92,106)
#554E5A
(85,78,90)
#46404A
(70,64,74)
#37323A
(55,50,58)
#28242A
(40,36,42)
#19161A
(25,22,26)
#000000
(0,0,0)

Tints of #AFA2BA

#AFA2BA
(175,162,186)
#B6AAC0
(182,170,192)
#BDB2C6
(189,178,198)
#C4BACC
(196,186,204)
#CBC2D2
(203,194,210)
#D2CAD8
(210,202,216)
#D9D2DE
(217,210,222)
#E0DAE4
(224,218,228)
#E7E2EA
(231,226,234)
#EEEAF0
(238,234,240)
#F5F2F6
(245,242,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFA2BA; }

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

This text font color is #AFA2BA.


Background Color

.myBgColor { background-color: #AFA2BA; }

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

This div background color is #AFA2BA.


Border color

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

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

This div border color is #AFA2BA.


Opacity

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

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

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

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

This text has shadow with #AFA2BA color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA2BA on black background.


Color preview on white background

This text has color #AFA2BA on white background.



Black color preview on #AFA2BA background

This text has black color on #AFA2BA background.


White color preview on #AFA2BA background

This text has white color on #AFA2BA background.