COLOR #AFA2E0

HEX: #AFA2E0
RGB: (175,162,224)

Color info

#AFA2E0 contains mainly red and blue colors. Web safe color of #AFA2E0 is #9999CC (or #99C).

RGB color model

#AFA2E0 color RGB value is (175,162,224).

  • red value is 175;
  • green value is 162;
  • blue value is 224.
RGB:
(175,162,224)
(69%,64%,88%)

RGB channels and saturation

R 175 of 255 = 69%
G 162 of 255 = 64%
B 224 of 255 = 88%

175
162
224

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

Portions of RGB colors in percentages

R + G + B =
175 + 162 + 224 = 561 (100%)
R 175 of 561 ~ 31.19%
G 162 of 561 ~ 28.88%
B 224 of 561 ~ 39.93%

%31.19
%28.88
%39.93

CMYK color model

#AFA2E0 color CMYK value is (22,28,0,12).

  • cyan value is 21.88%
  • magenta value is 27.68%
  • yellow value is 0.00%
  • key color value is 12.16%
CMYK:
(22,28,0,12)
C22M28Y0K12 
(22%,28%,0%,12%)
(0.22/0.28/0.00/0.12)	

CMYK percentages

%21.88
%27.68
%0
%12.16

Codes

Color #AFA2E0 in popluar color models

AFA2E0
RGB175162224
HSL253°50.00%75.69%
HSB/HSV253°27.68%87.84%
CMYK21.88%27.68%0.00%
12.16%

Color #AFA2E0 in popluar number systems.

HEXAFA2E0
Decimal175162224
Binary101011111010001011100000
Octal257242340

Shades and tints

Shades of #AFA2E0

#AFA2E0
(175,162,224)
#A094CC
(160,148,204)
#9186B8
(145,134,184)
#8278A4
(130,120,164)
#736A90
(115,106,144)
#645C7C
(100,92,124)
#554E68
(85,78,104)
#464054
(70,64,84)
#373240
(55,50,64)
#28242C
(40,36,44)
#191618
(25,22,24)
#000000
(0,0,0)

Tints of #AFA2E0

#AFA2E0
(175,162,224)
#B6AAE2
(182,170,226)
#BDB2E4
(189,178,228)
#C4BAE6
(196,186,230)
#CBC2E8
(203,194,232)
#D2CAEA
(210,202,234)
#D9D2EC
(217,210,236)
#E0DAEE
(224,218,238)
#E7E2F0
(231,226,240)
#EEEAF2
(238,234,242)
#F5F2F4
(245,242,244)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFA2E0; }

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

This text font color is #AFA2E0.


Background Color

.myBgColor { background-color: #AFA2E0; }

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

This div background color is #AFA2E0.


Border color

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

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

This div border color is #AFA2E0.


Opacity

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

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

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

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

This text has shadow with #AFA2E0 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA2E0 on black background.


Color preview on white background

This text has color #AFA2E0 on white background.



Black color preview on #AFA2E0 background

This text has black color on #AFA2E0 background.


White color preview on #AFA2E0 background

This text has white color on #AFA2E0 background.