COLOR #AFA8C6

HEX: #AFA8C6 RGB: (175,168,198)

Color info

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

RGB color model

#AFA8C6 color RGB value is (175,168,198).

RGB: (175,168,198) (69%, 66%, 78%)

RGB channels and saturation

R 175 of 255 = 69%
G 168 of 255 = 66%
B 198 of 255 = 78%

175
168
198

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

Portions of RGB colors in percentages

R + G + B = 175 + 168 + 198 = 541 (100%)
R 175 of 541 ~ 32.35%
G 168 of 541 ~ 31.05%
B 198 of 541 ~ 36.6'%

%32.35
%31.05
%36.6

CMYK color model

#AFA8C6 color CMYK value is (12,15,0,22).

  • cyan value is 11.62%
  • magenta value is 15.15%
  • yellow value is 0.00%
  • key color value is 22.35%

CMYK: (12,15,0,22)
C12M15Y0K22 (12%, 15%, 0%, 22%)
(0.12 / 0.15 / 0.00 / 0.22)

CMYK percentages

%11.62
%15.15
%0
%22.35

Codes

Color #AFA8C6 in popluar color models

AF A8 C6
RGB 175 168 198
HSL 254° 20.83% 71.76%
HSB/HSV 254° 15.15% 77.65%
CMYK 11.62% 15.15% 0.00%
22.35%

Color #AFA8C6 in popluar number systems.

HEX AF A8 C6
Decimal 175 168 198
Binary 10101111 10101000 11000110
Octal 257 250 306

Shades and tints

Shades of #AFA8C6

#AFA8C6
(175,168,198)
#A099B4
(160,153,180)
#918AA2
(145,138,162)
#827B90
(130,123,144)
#736C7E
(115,108,126)
#645D6C
(100,93,108)
#554E5A
(85,78,90)
#463F48
(70,63,72)
#373036
(55,48,54)
#282124
(40,33,36)
#191212
(25,18,18)
#000000
(0,0,0)

Tints of #AFA8C6

#AFA8C6
(175,168,198)
#B6AFCB
(182,175,203)
#BDB6D0
(189,182,208)
#C4BDD5
(196,189,213)
#CBC4DA
(203,196,218)
#D2CBDF
(210,203,223)
#D9D2E4
(217,210,228)
#E0D9E9
(224,217,233)
#E7E0EE
(231,224,238)
#EEE7F3
(238,231,243)
#F5EEF8
(245,238,248)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AFA8C6 color. Also use rgb(175,168,198) instead hex code.

Text Font Color

.myTextColor { color: #AFA8C6; }

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

This text font color is #AFA8C6.

Background Color

.myBgColor { background-color: #AFA8C6; }

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

This div background color is #AFA8C6.

Border color

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

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

This div border color is #AFA8C6.

Opacity

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

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

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

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

This text has shadow with #AFA8C6 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #AFA8C6.

Preview

Color preview on black background

This text has color #AFA8C6 on black background.


Color preview on white background

This text has color #AFA8C6 on white background.


Black color preview on #AFA8C6 background

This text has black color on #AFA8C6 background.


White color preview on #AFA8C6 background

This text has white color on #AFA8C6 background.


Related colors

Complementary color

Complementary color for #hex is #505739.


I love getcolorcode.com

Triadic colors

1 #C6AFA8 and #A8C6AF with #AFA8C6 are triadic colors.

2 #C6A8AF and #A8AFC6 with #AFA8C6 are triadic colors.