COLOR #AF87BC

HEX: #AF87BC
RGB: (175,135,188)

Color info

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

RGB color model

#AF87BC color RGB value is (175,135,188).

  • red value is 175;
  • green value is 135;
  • blue value is 188.
RGB:
(175,135,188)
(69%,53%,74%)

RGB channels and saturation

R 175 of 255 = 69%
G 135 of 255 = 53%
B 188 of 255 = 74%

175
135
188

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

Portions of RGB colors in percentages

R + G + B =
175 + 135 + 188 = 498 (100%)
R 175 of 498 ~ 35.14%
G 135 of 498 ~ 27.11%
B 188 of 498 ~ 37.75%

%35.14
%27.11
%37.75

CMYK color model

#AF87BC color CMYK value is (7,28,0,26).

  • cyan value is 6.91%
  • magenta value is 28.19%
  • yellow value is 0.00%
  • key color value is 26.27%
CMYK:
(7,28,0,26)
C7M28Y0K26 
(7%,28%,0%,26%)
(0.07/0.28/0.00/0.26)	

CMYK percentages

%6.91
%28.19
%0
%26.27

Codes

Color #AF87BC in popluar color models

AF87BC
RGB175135188
HSL285°28.34%63.33%
HSB/HSV285°28.19%73.73%
CMYK6.91%28.19%0.00%
26.27%

Color #AF87BC in popluar number systems.

HEXAF87BC
Decimal175135188
Binary101011111000011110111100
Octal257207274

Shades and tints

Shades of #AF87BC

#AF87BC
(175,135,188)
#A07BAB
(160,123,171)
#916F9A
(145,111,154)
#826389
(130,99,137)
#735778
(115,87,120)
#644B67
(100,75,103)
#553F56
(85,63,86)
#463345
(70,51,69)
#372734
(55,39,52)
#281B23
(40,27,35)
#190F12
(25,15,18)
#000000
(0,0,0)

Tints of #AF87BC

#AF87BC
(175,135,188)
#B691C2
(182,145,194)
#BD9BC8
(189,155,200)
#C4A5CE
(196,165,206)
#CBAFD4
(203,175,212)
#D2B9DA
(210,185,218)
#D9C3E0
(217,195,224)
#E0CDE6
(224,205,230)
#E7D7EC
(231,215,236)
#EEE1F2
(238,225,242)
#F5EBF8
(245,235,248)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AF87BC color. Also use rgb(175,135,188) instead hex code.

Text Font Color

.myTextColor { color: #AF87BC; }

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

This text font color is #AF87BC.


Background Color

.myBgColor { background-color: #AF87BC; }

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

This div background color is #AF87BC.


Border color

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

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

This div border color is #AF87BC.


Opacity

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

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

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

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

This text has shadow with #AF87BC color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AF87BC on black background.


Color preview on white background

This text has color #AF87BC on white background.



Black color preview on #AF87BC background

This text has black color on #AF87BC background.


White color preview on #AF87BC background

This text has white color on #AF87BC background.