COLOR #AF8CB8

HEX: #AF8CB8
RGB: (175,140,184)

Color info

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

RGB color model

#AF8CB8 color RGB value is (175,140,184).

  • red value is 175;
  • green value is 140;
  • blue value is 184.
RGB:
(175,140,184)
(69%,55%,72%)

RGB channels and saturation

R 175 of 255 = 69%
G 140 of 255 = 55%
B 184 of 255 = 72%

175
140
184

R + G + B ~ 65%. #AF8CB8 is quite light color.

Portions of RGB colors in percentages

R + G + B =
175 + 140 + 184 = 499 (100%)
R 175 of 499 ~ 35.07%
G 140 of 499 ~ 28.06%
B 184 of 499 ~ 36.87%

%35.07
%28.06
%36.87

CMYK color model

#AF8CB8 color CMYK value is (5,24,0,28).

  • cyan value is 4.89%
  • magenta value is 23.91%
  • yellow value is 0.00%
  • key color value is 27.84%
CMYK:
(5,24,0,28)
C5M24Y0K28 
(5%,24%,0%,28%)
(0.05/0.24/0.00/0.28)	

CMYK percentages

%4.89
%23.91
%0
%27.84

Codes

Color #AF8CB8 in popluar color models

AF8CB8
RGB175140184
HSL288°23.66%63.53%
HSB/HSV288°23.91%72.16%
CMYK4.89%23.91%0.00%
27.84%

Color #AF8CB8 in popluar number systems.

HEXAF8CB8
Decimal175140184
Binary101011111000110010111000
Octal257214270

Shades and tints

Shades of #AF8CB8

#AF8CB8
(175,140,184)
#A080A8
(160,128,168)
#917498
(145,116,152)
#826888
(130,104,136)
#735C78
(115,92,120)
#645068
(100,80,104)
#554458
(85,68,88)
#463848
(70,56,72)
#372C38
(55,44,56)
#282028
(40,32,40)
#191418
(25,20,24)
#000000
(0,0,0)

Tints of #AF8CB8

#AF8CB8
(175,140,184)
#B696BE
(182,150,190)
#BDA0C4
(189,160,196)
#C4AACA
(196,170,202)
#CBB4D0
(203,180,208)
#D2BED6
(210,190,214)
#D9C8DC
(217,200,220)
#E0D2E2
(224,210,226)
#E7DCE8
(231,220,232)
#EEE6EE
(238,230,238)
#F5F0F4
(245,240,244)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AF8CB8 color. Also use rgb(175,140,184) instead hex code.

Text Font Color

.myTextColor { color: #AF8CB8; }

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

This text font color is #AF8CB8.


Background Color

.myBgColor { background-color: #AF8CB8; }

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

This div background color is #AF8CB8.


Border color

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

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

This div border color is #AF8CB8.


Opacity

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

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

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

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

This text has shadow with #AF8CB8 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AF8CB8 on black background.


Color preview on white background

This text has color #AF8CB8 on white background.



Black color preview on #AF8CB8 background

This text has black color on #AF8CB8 background.


White color preview on #AF8CB8 background

This text has white color on #AF8CB8 background.