COLOR #AFA7BA

HEX: #AFA7BA
RGB: (175,167,186)

Color info

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

RGB color model

#AFA7BA color RGB value is (175,167,186).

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

RGB channels and saturation

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

175
167
186

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

Portions of RGB colors in percentages

R + G + B =
175 + 167 + 186 = 528 (100%)
R 175 of 528 ~ 33.14%
G 167 of 528 ~ 31.63%
B 186 of 528 ~ 35.23%

%33.14
%31.63
%35.23

CMYK color model

#AFA7BA color CMYK value is (6,10,0,27).

  • cyan value is 5.91%
  • magenta value is 10.22%
  • yellow value is 0.00%
  • key color value is 27.06%
CMYK:
(6,10,0,27)
C6M10Y0K27 
(6%,10%,0%,27%)
(0.06/0.10/0.00/0.27)	

CMYK percentages

%5.91
%10.22
%0
%27.06

Codes

Color #AFA7BA in popluar color models

AFA7BA
RGB175167186
HSL265°12.10%69.22%
HSB/HSV265°10.22%72.94%
CMYK5.91%10.22%0.00%
27.06%

Color #AFA7BA in popluar number systems.

HEXAFA7BA
Decimal175167186
Binary101011111010011110111010
Octal257247272

Shades and tints

Shades of #AFA7BA

#AFA7BA
(175,167,186)
#A098AA
(160,152,170)
#91899A
(145,137,154)
#827A8A
(130,122,138)
#736B7A
(115,107,122)
#645C6A
(100,92,106)
#554D5A
(85,77,90)
#463E4A
(70,62,74)
#372F3A
(55,47,58)
#28202A
(40,32,42)
#19111A
(25,17,26)
#000000
(0,0,0)

Tints of #AFA7BA

#AFA7BA
(175,167,186)
#B6AFC0
(182,175,192)
#BDB7C6
(189,183,198)
#C4BFCC
(196,191,204)
#CBC7D2
(203,199,210)
#D2CFD8
(210,207,216)
#D9D7DE
(217,215,222)
#E0DFE4
(224,223,228)
#E7E7EA
(231,231,234)
#EEEFF0
(238,239,240)
#F5F7F6
(245,247,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFA7BA; }

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

This text font color is #AFA7BA.


Background Color

.myBgColor { background-color: #AFA7BA; }

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

This div background color is #AFA7BA.


Border color

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

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

This div border color is #AFA7BA.


Opacity

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

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

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

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

This text has shadow with #AFA7BA color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA7BA on black background.


Color preview on white background

This text has color #AFA7BA on white background.



Black color preview on #AFA7BA background

This text has black color on #AFA7BA background.


White color preview on #AFA7BA background

This text has white color on #AFA7BA background.