COLOR #AFA9DC

HEX: #AFA9DC
RGB: (175,169,220)

Color info

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

RGB color model

#AFA9DC color RGB value is (175,169,220).

  • red value is 175;
  • green value is 169;
  • blue value is 220.
RGB:
(175,169,220)
(69%,66%,86%)

RGB channels and saturation

R 175 of 255 = 69%
G 169 of 255 = 66%
B 220 of 255 = 86%

175
169
220

R + G + B ~ 74%. #AFA9DC is quite light color.

Portions of RGB colors in percentages

R + G + B =
175 + 169 + 220 = 564 (100%)
R 175 of 564 ~ 31.03%
G 169 of 564 ~ 29.96%
B 220 of 564 ~ 39.01%

%31.03
%29.96
%39.01

CMYK color model

#AFA9DC color CMYK value is (20,23,0,14).

  • cyan value is 20.45%
  • magenta value is 23.18%
  • yellow value is 0.00%
  • key color value is 13.73%
CMYK:
(20,23,0,14)
C20M23Y0K14 
(20%,23%,0%,14%)
(0.20/0.23/0.00/0.14)	

CMYK percentages

%20.45
%23.18
%0
%13.73

Codes

Color #AFA9DC in popluar color models

AFA9DC
RGB175169220
HSL247°42.15%76.27%
HSB/HSV247°23.18%86.27%
CMYK20.45%23.18%0.00%
13.73%

Color #AFA9DC in popluar number systems.

HEXAFA9DC
Decimal175169220
Binary101011111010100111011100
Octal257251334

Shades and tints

Shades of #AFA9DC

#AFA9DC
(175,169,220)
#A09AC8
(160,154,200)
#918BB4
(145,139,180)
#827CA0
(130,124,160)
#736D8C
(115,109,140)
#645E78
(100,94,120)
#554F64
(85,79,100)
#464050
(70,64,80)
#37313C
(55,49,60)
#282228
(40,34,40)
#191314
(25,19,20)
#000000
(0,0,0)

Tints of #AFA9DC

#AFA9DC
(175,169,220)
#B6B0DF
(182,176,223)
#BDB7E2
(189,183,226)
#C4BEE5
(196,190,229)
#CBC5E8
(203,197,232)
#D2CCEB
(210,204,235)
#D9D3EE
(217,211,238)
#E0DAF1
(224,218,241)
#E7E1F4
(231,225,244)
#EEE8F7
(238,232,247)
#F5EFFA
(245,239,250)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AFA9DC color. Also use rgb(175,169,220) instead hex code.

Text Font Color

.myTextColor { color: #AFA9DC; }

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

This text font color is #AFA9DC.


Background Color

.myBgColor { background-color: #AFA9DC; }

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

This div background color is #AFA9DC.


Border color

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

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

This div border color is #AFA9DC.


Opacity

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

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

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

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

This text has shadow with #AFA9DC color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA9DC on black background.


Color preview on white background

This text has color #AFA9DC on white background.



Black color preview on #AFA9DC background

This text has black color on #AFA9DC background.


White color preview on #AFA9DC background

This text has white color on #AFA9DC background.