COLOR #AFA1F5

HEX: #AFA1F5
RGB: (175,161,245)

Color info

#AFA1F5 contains mainly blue color. Web safe color of #AFA1F5 is #9999FF (or #99F).

RGB color model

#AFA1F5 color RGB value is (175,161,245).

  • red value is 175;
  • green value is 161;
  • blue value is 245.
RGB:
(175,161,245)
(69%,63%,96%)

RGB channels and saturation

R 175 of 255 = 69%
G 161 of 255 = 63%
B 245 of 255 = 96%

175
161
245

R + G + B ~ 76%. #AFA1F5 is quite light color.

Portions of RGB colors in percentages

R + G + B =
175 + 161 + 245 = 581 (100%)
R 175 of 581 ~ 30.12%
G 161 of 581 ~ 27.71%
B 245 of 581 ~ 42.17%

%30.12
%27.71
%42.17

CMYK color model

#AFA1F5 color CMYK value is (29,34,0,4).

  • cyan value is 28.57%
  • magenta value is 34.29%
  • yellow value is 0.00%
  • key color value is 3.92%
CMYK:
(29,34,0,4)
C29M34Y0K4 
(29%,34%,0%,4%)
(0.29/0.34/0.00/0.04)	

CMYK percentages

%28.57
%34.29
%0
%3.92

Codes

Color #AFA1F5 in popluar color models

AFA1F5
RGB175161245
HSL250°80.77%79.61%
HSB/HSV250°34.29%96.08%
CMYK28.57%34.29%0.00%
3.92%

Color #AFA1F5 in popluar number systems.

HEXAFA1F5
Decimal175161245
Binary101011111010000111110101
Octal257241365

Shades and tints

Shades of #AFA1F5

#AFA1F5
(175,161,245)
#A093DF
(160,147,223)
#9185C9
(145,133,201)
#8277B3
(130,119,179)
#73699D
(115,105,157)
#645B87
(100,91,135)
#554D71
(85,77,113)
#463F5B
(70,63,91)
#373145
(55,49,69)
#28232F
(40,35,47)
#191519
(25,21,25)
#000000
(0,0,0)

Tints of #AFA1F5

#AFA1F5
(175,161,245)
#B6A9F5
(182,169,245)
#BDB1F5
(189,177,245)
#C4B9F5
(196,185,245)
#CBC1F5
(203,193,245)
#D2C9F5
(210,201,245)
#D9D1F5
(217,209,245)
#E0D9F5
(224,217,245)
#E7E1F5
(231,225,245)
#EEE9F5
(238,233,245)
#F5F1F5
(245,241,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AFA1F5 color. Also use rgb(175,161,245) instead hex code.

Text Font Color

.myTextColor { color: #AFA1F5; }

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

This text font color is #AFA1F5.


Background Color

.myBgColor { background-color: #AFA1F5; }

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

This div background color is #AFA1F5.


Border color

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

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

This div border color is #AFA1F5.


Opacity

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

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

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

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

This text has shadow with #AFA1F5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA1F5 on black background.


Color preview on white background

This text has color #AFA1F5 on white background.



Black color preview on #AFA1F5 background

This text has black color on #AFA1F5 background.


White color preview on #AFA1F5 background

This text has white color on #AFA1F5 background.