COLOR #AFA5D5

HEX: #AFA5D5
RGB: (175,165,213)

Color info

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

RGB color model

#AFA5D5 color RGB value is (175,165,213).

  • red value is 175;
  • green value is 165;
  • blue value is 213.
RGB:
(175,165,213)
(69%,65%,84%)

RGB channels and saturation

R 175 of 255 = 69%
G 165 of 255 = 65%
B 213 of 255 = 84%

175
165
213

R + G + B ~ 73%. #AFA5D5 is quite light color.

Portions of RGB colors in percentages

R + G + B =
175 + 165 + 213 = 553 (100%)
R 175 of 553 ~ 31.65%
G 165 of 553 ~ 29.84%
B 213 of 553 ~ 38.52%

%31.65
%29.84
%38.52

CMYK color model

#AFA5D5 color CMYK value is (18,23,0,16).

  • cyan value is 17.84%
  • magenta value is 22.54%
  • yellow value is 0.00%
  • key color value is 16.47%
CMYK:
(18,23,0,16)
C18M23Y0K16 
(18%,23%,0%,16%)
(0.18/0.23/0.00/0.16)	

CMYK percentages

%17.84
%22.54
%0
%16.47

Codes

Color #AFA5D5 in popluar color models

AFA5D5
RGB175165213
HSL253°36.36%74.12%
HSB/HSV253°22.54%83.53%
CMYK17.84%22.54%0.00%
16.47%

Color #AFA5D5 in popluar number systems.

HEXAFA5D5
Decimal175165213
Binary101011111010010111010101
Octal257245325

Shades and tints

Shades of #AFA5D5

#AFA5D5
(175,165,213)
#A096C2
(160,150,194)
#9187AF
(145,135,175)
#82789C
(130,120,156)
#736989
(115,105,137)
#645A76
(100,90,118)
#554B63
(85,75,99)
#463C50
(70,60,80)
#372D3D
(55,45,61)
#281E2A
(40,30,42)
#190F17
(25,15,23)
#000000
(0,0,0)

Tints of #AFA5D5

#AFA5D5
(175,165,213)
#B6ADD8
(182,173,216)
#BDB5DB
(189,181,219)
#C4BDDE
(196,189,222)
#CBC5E1
(203,197,225)
#D2CDE4
(210,205,228)
#D9D5E7
(217,213,231)
#E0DDEA
(224,221,234)
#E7E5ED
(231,229,237)
#EEEDF0
(238,237,240)
#F5F5F3
(245,245,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AFA5D5 color. Also use rgb(175,165,213) instead hex code.

Text Font Color

.myTextColor { color: #AFA5D5; }

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

This text font color is #AFA5D5.


Background Color

.myBgColor { background-color: #AFA5D5; }

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

This div background color is #AFA5D5.


Border color

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

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

This div border color is #AFA5D5.


Opacity

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

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

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

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

This text has shadow with #AFA5D5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA5D5 on black background.


Color preview on white background

This text has color #AFA5D5 on white background.



Black color preview on #AFA5D5 background

This text has black color on #AFA5D5 background.


White color preview on #AFA5D5 background

This text has white color on #AFA5D5 background.