COLOR #AF6FA6

HEX: #AF6FA6
RGB: (175,111,166)

Color info

#AF6FA6 contains mainly red and blue colors. Web safe color of #AF6FA6 is #996699 (or #969).

RGB color model

#AF6FA6 color RGB value is (175,111,166).

  • red value is 175;
  • green value is 111;
  • blue value is 166.
RGB:
(175,111,166)
(69%,44%,65%)

RGB channels and saturation

R 175 of 255 = 69%
G 111 of 255 = 44%
B 166 of 255 = 65%

175
111
166

R + G + B ~ 59%. #AF6FA6 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
175 + 111 + 166 = 452 (100%)
R 175 of 452 ~ 38.72%
G 111 of 452 ~ 24.56%
B 166 of 452 ~ 36.73%

%38.72
%24.56
%36.73

CMYK color model

#AF6FA6 color CMYK value is (0,37,5,31).

  • cyan value is 0.00%
  • magenta value is 36.57%
  • yellow value is 5.14%
  • key color value is 31.37%
CMYK:
(0,37,5,31)
C0M37Y5K31 
(0%,37%,5%,31%)
(0.00/0.37/0.05/0.31)	

CMYK percentages

%0
%36.57
%5.14
%31.37

Codes

Color #AF6FA6 in popluar color models

AF6FA6
RGB175111166
HSL308°28.57%56.08%
HSB/HSV308°36.57%68.63%
CMYK0.00%36.57%5.14%
31.37%

Color #AF6FA6 in popluar number systems.

HEXAF6FA6
Decimal175111166
Binary10101111110111110100110
Octal257157246

Shades and tints

Shades of #AF6FA6

#AF6FA6
(175,111,166)
#A06597
(160,101,151)
#915B88
(145,91,136)
#825179
(130,81,121)
#73476A
(115,71,106)
#643D5B
(100,61,91)
#55334C
(85,51,76)
#46293D
(70,41,61)
#371F2E
(55,31,46)
#28151F
(40,21,31)
#190B10
(25,11,16)
#000000
(0,0,0)

Tints of #AF6FA6

#AF6FA6
(175,111,166)
#B67CAE
(182,124,174)
#BD89B6
(189,137,182)
#C496BE
(196,150,190)
#CBA3C6
(203,163,198)
#D2B0CE
(210,176,206)
#D9BDD6
(217,189,214)
#E0CADE
(224,202,222)
#E7D7E6
(231,215,230)
#EEE4EE
(238,228,238)
#F5F1F6
(245,241,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AF6FA6 color. Also use rgb(175,111,166) instead hex code.

Text Font Color

.myTextColor { color: #AF6FA6; }

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

This text font color is #AF6FA6.


Background Color

.myBgColor { background-color: #AF6FA6; }

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

This div background color is #AF6FA6.


Border color

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

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

This div border color is #AF6FA6.


Opacity

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

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

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

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

This text has shadow with #AF6FA6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AF6FA6 on black background.


Color preview on white background

This text has color #AF6FA6 on white background.



Black color preview on #AF6FA6 background

This text has black color on #AF6FA6 background.


White color preview on #AF6FA6 background

This text has white color on #AF6FA6 background.