COLOR #AFA6BA

HEX: #AFA6BA
RGB: (175,166,186)

Color info

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

RGB color model

#AFA6BA color RGB value is (175,166,186).

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

RGB channels and saturation

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

175
166
186

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

Portions of RGB colors in percentages

R + G + B =
175 + 166 + 186 = 527 (100%)
R 175 of 527 ~ 33.21%
G 166 of 527 ~ 31.5%
B 186 of 527 ~ 35.29%

%33.21
%31.5
%35.29

CMYK color model

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

  • cyan value is 5.91%
  • magenta value is 10.75%
  • 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
%10.75
%0
%27.06

Codes

Color #AFA6BA in popluar color models

AFA6BA
RGB175166186
HSL267°12.66%69.02%
HSB/HSV267°10.75%72.94%
CMYK5.91%10.75%0.00%
27.06%

Color #AFA6BA in popluar number systems.

HEXAFA6BA
Decimal175166186
Binary101011111010011010111010
Octal257246272

Shades and tints

Shades of #AFA6BA

#AFA6BA
(175,166,186)
#A097AA
(160,151,170)
#91889A
(145,136,154)
#82798A
(130,121,138)
#736A7A
(115,106,122)
#645B6A
(100,91,106)
#554C5A
(85,76,90)
#463D4A
(70,61,74)
#372E3A
(55,46,58)
#281F2A
(40,31,42)
#19101A
(25,16,26)
#000000
(0,0,0)

Tints of #AFA6BA

#AFA6BA
(175,166,186)
#B6AEC0
(182,174,192)
#BDB6C6
(189,182,198)
#C4BECC
(196,190,204)
#CBC6D2
(203,198,210)
#D2CED8
(210,206,216)
#D9D6DE
(217,214,222)
#E0DEE4
(224,222,228)
#E7E6EA
(231,230,234)
#EEEEF0
(238,238,240)
#F5F6F6
(245,246,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFA6BA; }

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

This text font color is #AFA6BA.


Background Color

.myBgColor { background-color: #AFA6BA; }

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

This div background color is #AFA6BA.


Border color

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

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

This div border color is #AFA6BA.


Opacity

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

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

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

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

This text has shadow with #AFA6BA color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA6BA on black background.


Color preview on white background

This text has color #AFA6BA on white background.



Black color preview on #AFA6BA background

This text has black color on #AFA6BA background.


White color preview on #AFA6BA background

This text has white color on #AFA6BA background.