COLOR #AF5FA7

HEX: #AF5FA7
RGB: (175,95,167)

Color info

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

RGB color model

#AF5FA7 color RGB value is (175,95,167).

  • red value is 175;
  • green value is 95;
  • blue value is 167.
RGB:
(175,95,167)
(69%,37%,65%)

RGB channels and saturation

R 175 of 255 = 69%
G 95 of 255 = 37%
B 167 of 255 = 65%

175
95
167

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

Portions of RGB colors in percentages

R + G + B =
175 + 95 + 167 = 437 (100%)
R 175 of 437 ~ 40.05%
G 95 of 437 ~ 21.74%
B 167 of 437 ~ 38.22%

%40.05
%21.74
%38.22

CMYK color model

#AF5FA7 color CMYK value is (0,46,5,31).

  • cyan value is 0.00%
  • magenta value is 45.71%
  • yellow value is 4.57%
  • key color value is 31.37%
CMYK:
(0,46,5,31)
C0M46Y5K31 
(0%,46%,5%,31%)
(0.00/0.46/0.05/0.31)	

CMYK percentages

%0
%45.71
%4.57
%31.37

Codes

Color #AF5FA7 in popluar color models

AF5FA7
RGB17595167
HSL306°33.33%52.94%
HSB/HSV306°45.71%68.63%
CMYK0.00%45.71%4.57%
31.37%

Color #AF5FA7 in popluar number systems.

HEXAF5FA7
Decimal17595167
Binary10101111101111110100111
Octal257137247

Shades and tints

Shades of #AF5FA7

#AF5FA7
(175,95,167)
#A05798
(160,87,152)
#914F89
(145,79,137)
#82477A
(130,71,122)
#733F6B
(115,63,107)
#64375C
(100,55,92)
#552F4D
(85,47,77)
#46273E
(70,39,62)
#371F2F
(55,31,47)
#281720
(40,23,32)
#190F11
(25,15,17)
#000000
(0,0,0)

Tints of #AF5FA7

#AF5FA7
(175,95,167)
#B66DAF
(182,109,175)
#BD7BB7
(189,123,183)
#C489BF
(196,137,191)
#CB97C7
(203,151,199)
#D2A5CF
(210,165,207)
#D9B3D7
(217,179,215)
#E0C1DF
(224,193,223)
#E7CFE7
(231,207,231)
#EEDDEF
(238,221,239)
#F5EBF7
(245,235,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AF5FA7 color. Also use rgb(175,95,167) instead hex code.

Text Font Color

.myTextColor { color: #AF5FA7; }

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

This text font color is #AF5FA7.


Background Color

.myBgColor { background-color: #AF5FA7; }

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

This div background color is #AF5FA7.


Border color

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

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

This div border color is #AF5FA7.


Opacity

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

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

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

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

This text has shadow with #AF5FA7 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AF5FA7 on black background.


Color preview on white background

This text has color #AF5FA7 on white background.



Black color preview on #AF5FA7 background

This text has black color on #AF5FA7 background.


White color preview on #AF5FA7 background

This text has white color on #AF5FA7 background.