COLOR #AFA5BA

HEX: #AFA5BA
RGB: (175,165,186)

Color info

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

RGB color model

#AFA5BA color RGB value is (175,165,186).

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

RGB channels and saturation

R 175 of 255 = 69%
G 165 of 255 = 65%
B 186 of 255 = 73%

175
165
186

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

Portions of RGB colors in percentages

R + G + B =
175 + 165 + 186 = 526 (100%)
R 175 of 526 ~ 33.27%
G 165 of 526 ~ 31.37%
B 186 of 526 ~ 35.36%

%33.27
%31.37
%35.36

CMYK color model

#AFA5BA color CMYK value is (6,11,0,27).

  • cyan value is 5.91%
  • magenta value is 11.29%
  • yellow value is 0.00%
  • key color value is 27.06%
CMYK:
(6,11,0,27)
C6M11Y0K27 
(6%,11%,0%,27%)
(0.06/0.11/0.00/0.27)	

CMYK percentages

%5.91
%11.29
%0
%27.06

Codes

Color #AFA5BA in popluar color models

AFA5BA
RGB175165186
HSL269°13.21%68.82%
HSB/HSV269°11.29%72.94%
CMYK5.91%11.29%0.00%
27.06%

Color #AFA5BA in popluar number systems.

HEXAFA5BA
Decimal175165186
Binary101011111010010110111010
Octal257245272

Shades and tints

Shades of #AFA5BA

#AFA5BA
(175,165,186)
#A096AA
(160,150,170)
#91879A
(145,135,154)
#82788A
(130,120,138)
#73697A
(115,105,122)
#645A6A
(100,90,106)
#554B5A
(85,75,90)
#463C4A
(70,60,74)
#372D3A
(55,45,58)
#281E2A
(40,30,42)
#190F1A
(25,15,26)
#000000
(0,0,0)

Tints of #AFA5BA

#AFA5BA
(175,165,186)
#B6ADC0
(182,173,192)
#BDB5C6
(189,181,198)
#C4BDCC
(196,189,204)
#CBC5D2
(203,197,210)
#D2CDD8
(210,205,216)
#D9D5DE
(217,213,222)
#E0DDE4
(224,221,228)
#E7E5EA
(231,229,234)
#EEEDF0
(238,237,240)
#F5F5F6
(245,245,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFA5BA; }

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

This text font color is #AFA5BA.


Background Color

.myBgColor { background-color: #AFA5BA; }

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

This div background color is #AFA5BA.


Border color

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

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

This div border color is #AFA5BA.


Opacity

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

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

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

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

This text has shadow with #AFA5BA color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA5BA on black background.


Color preview on white background

This text has color #AFA5BA on white background.



Black color preview on #AFA5BA background

This text has black color on #AFA5BA background.


White color preview on #AFA5BA background

This text has white color on #AFA5BA background.