COLOR #AF528A

HEX: #AF528A
RGB: (175,82,138)

Color info

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

RGB color model

#AF528A color RGB value is (175,82,138).

  • red value is 175;
  • green value is 82;
  • blue value is 138.
RGB:
(175,82,138)
(69%,32%,54%)

RGB channels and saturation

R 175 of 255 = 69%
G 82 of 255 = 32%
B 138 of 255 = 54%

175
82
138

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

Portions of RGB colors in percentages

R + G + B =
175 + 82 + 138 = 395 (100%)
R 175 of 395 ~ 44.3%
G 82 of 395 ~ 20.76%
B 138 of 395 ~ 34.94%

%44.3
%20.76
%34.94

CMYK color model

#AF528A color CMYK value is (0,53,21,31).

  • cyan value is 0.00%
  • magenta value is 53.14%
  • yellow value is 21.14%
  • key color value is 31.37%
CMYK:
(0,53,21,31)
C0M53Y21K31 
(0%,53%,21%,31%)
(0.00/0.53/0.21/0.31)	

CMYK percentages

%0
%53.14
%21.14
%31.37

Codes

Color #AF528A in popluar color models

AF528A
RGB17582138
HSL324°36.76%50.39%
HSB/HSV324°53.14%68.63%
CMYK0.00%53.14%21.14%
31.37%

Color #AF528A in popluar number systems.

HEXAF528A
Decimal17582138
Binary10101111101001010001010
Octal257122212

Shades and tints

Shades of #AF528A

#AF528A
(175,82,138)
#A04B7E
(160,75,126)
#914472
(145,68,114)
#823D66
(130,61,102)
#73365A
(115,54,90)
#642F4E
(100,47,78)
#552842
(85,40,66)
#462136
(70,33,54)
#371A2A
(55,26,42)
#28131E
(40,19,30)
#190C12
(25,12,18)
#000000
(0,0,0)

Tints of #AF528A

#AF528A
(175,82,138)
#B66194
(182,97,148)
#BD709E
(189,112,158)
#C47FA8
(196,127,168)
#CB8EB2
(203,142,178)
#D29DBC
(210,157,188)
#D9ACC6
(217,172,198)
#E0BBD0
(224,187,208)
#E7CADA
(231,202,218)
#EED9E4
(238,217,228)
#F5E8EE
(245,232,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AF528A color. Also use rgb(175,82,138) instead hex code.

Text Font Color

.myTextColor { color: #AF528A; }

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

This text font color is #AF528A.


Background Color

.myBgColor { background-color: #AF528A; }

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

This div background color is #AF528A.


Border color

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

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

This div border color is #AF528A.


Opacity

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

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

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

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

This text has shadow with #AF528A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AF528A on black background.


Color preview on white background

This text has color #AF528A on white background.



Black color preview on #AF528A background

This text has black color on #AF528A background.


White color preview on #AF528A background

This text has white color on #AF528A background.