COLOR #AFA2CC

HEX: #AFA2CC RGB: (175,162,204)

Color info

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

RGB color model

#AFA2CC color RGB value is (175,162,204).

RGB: (175,162,204) (69%, 64%, 80%)

RGB channels and saturation

R 175 of 255 = 69%
G 162 of 255 = 64%
B 204 of 255 = 80%

175
162
204

R + G + B ~ 71%. #AFA2CC is quite light color.

Portions of RGB colors in percentages

R + G + B = 175 + 162 + 204 = 541 (100%)
R 175 of 541 ~ 32.35%
G 162 of 541 ~ 29.94%
B 204 of 541 ~ 37.71'%

%32.35
%29.94
%37.71

CMYK color model

#AFA2CC color CMYK value is (14,21,0,20).

  • cyan value is 14.22%
  • magenta value is 20.59%
  • yellow value is 0.00%
  • key color value is 20.00%

CMYK: (14,21,0,20)
C14M21Y0K20 (14%, 21%, 0%, 20%)
(0.14 / 0.21 / 0.00 / 0.20)

CMYK percentages

%14.22
%20.59
%0
%20

Codes

Color #AFA2CC in popluar color models

AF A2 CC
RGB 175 162 204
HSL 259° 29.17% 71.76%
HSB/HSV 259° 20.59% 80.00%
CMYK 14.22% 20.59% 0.00%
20.00%

Color #AFA2CC in popluar number systems.

HEX AF A2 CC
Decimal 175 162 204
Binary 10101111 10100010 11001100
Octal 257 242 314

Shades and tints

Shades of #AFA2CC

#AFA2CC
(175,162,204)
#A094BA
(160,148,186)
#9186A8
(145,134,168)
#827896
(130,120,150)
#736A84
(115,106,132)
#645C72
(100,92,114)
#554E60
(85,78,96)
#46404E
(70,64,78)
#37323C
(55,50,60)
#28242A
(40,36,42)
#191618
(25,22,24)
#000000
(0,0,0)

Tints of #AFA2CC

#AFA2CC
(175,162,204)
#B6AAD0
(182,170,208)
#BDB2D4
(189,178,212)
#C4BAD8
(196,186,216)
#CBC2DC
(203,194,220)
#D2CAE0
(210,202,224)
#D9D2E4
(217,210,228)
#E0DAE8
(224,218,232)
#E7E2EC
(231,226,236)
#EEEAF0
(238,234,240)
#F5F2F4
(245,242,244)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFA2CC; }

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

This text font color is #AFA2CC.

Background Color

.myBgColor { background-color: #AFA2CC; }

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

This div background color is #AFA2CC.

Border color

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

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

This div border color is #AFA2CC.

Opacity

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

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

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

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

This text has shadow with #AFA2CC color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #AFA2CC.

Preview

Color preview on black background

This text has color #AFA2CC on black background.


Color preview on white background

This text has color #AFA2CC on white background.


Black color preview on #AFA2CC background

This text has black color on #AFA2CC background.


White color preview on #AFA2CC background

This text has white color on #AFA2CC background.


Related colors

Complementary color

Complementary color for #hex is #505D33.


I love getcolorcode.com

Triadic colors

1 #CCAFA2 and #A2CCAF with #AFA2CC are triadic colors.

2 #CCA2AF and #A2AFCC with #AFA2CC are triadic colors.