COLOR #AFA2D7

HEX: #AFA2D7 RGB: (175,162,215)

Color info

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

RGB color model

#AFA2D7 color RGB value is (175,162,215).

RGB: (175,162,215) (69%, 64%, 84%)

RGB channels and saturation

R 175 of 255 = 69%
G 162 of 255 = 64%
B 215 of 255 = 84%

175
162
215

R + G + B ~ 72%. #AFA2D7 is quite light color.

Portions of RGB colors in percentages

R + G + B = 175 + 162 + 215 = 552 (100%)
R 175 of 552 ~ 31.7%
G 162 of 552 ~ 29.35%
B 215 of 552 ~ 38.95'%

%31.7
%29.35
%38.95

CMYK color model

#AFA2D7 color CMYK value is (19,25,0,16).

  • cyan value is 18.60%
  • magenta value is 24.65%
  • yellow value is 0.00%
  • key color value is 15.69%

CMYK: (19,25,0,16)
C19M25Y0K16 (19%, 25%, 0%, 16%)
(0.19 / 0.25 / 0.00 / 0.16)

CMYK percentages

%18.6
%24.65
%0
%15.69

Codes

Color #AFA2D7 in popluar color models

AF A2 D7
RGB 175 162 215
HSL 255° 39.85% 73.92%
HSB/HSV 255° 24.65% 84.31%
CMYK 18.60% 24.65% 0.00%
15.69%

Color #AFA2D7 in popluar number systems.

HEX AF A2 D7
Decimal 175 162 215
Binary 10101111 10100010 11010111
Octal 257 242 327

Shades and tints

Shades of #AFA2D7

#AFA2D7
(175,162,215)
#A094C4
(160,148,196)
#9186B1
(145,134,177)
#82789E
(130,120,158)
#736A8B
(115,106,139)
#645C78
(100,92,120)
#554E65
(85,78,101)
#464052
(70,64,82)
#37323F
(55,50,63)
#28242C
(40,36,44)
#191619
(25,22,25)
#000000
(0,0,0)

Tints of #AFA2D7

#AFA2D7
(175,162,215)
#B6AADA
(182,170,218)
#BDB2DD
(189,178,221)
#C4BAE0
(196,186,224)
#CBC2E3
(203,194,227)
#D2CAE6
(210,202,230)
#D9D2E9
(217,210,233)
#E0DAEC
(224,218,236)
#E7E2EF
(231,226,239)
#EEEAF2
(238,234,242)
#F5F2F5
(245,242,245)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFA2D7; }

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

This text font color is #AFA2D7.

Background Color

.myBgColor { background-color: #AFA2D7; }

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

This div background color is #AFA2D7.

Border color

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

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

This div border color is #AFA2D7.

Opacity

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

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

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

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

This text has shadow with #AFA2D7 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #AFA2D7.

Preview

Color preview on black background

This text has color #AFA2D7 on black background.


Color preview on white background

This text has color #AFA2D7 on white background.


Black color preview on #AFA2D7 background

This text has black color on #AFA2D7 background.


White color preview on #AFA2D7 background

This text has white color on #AFA2D7 background.


Related colors

Complementary color

Complementary color for #hex is #505D28.


I love getcolorcode.com

Triadic colors

1 #D7AFA2 and #A2D7AF with #AFA2D7 are triadic colors.

2 #D7A2AF and #A2AFD7 with #AFA2D7 are triadic colors.