COLOR #AF18B7

HEX: #AF18B7
RGB: (175,24,183)

Color info

#AF18B7 contains mainly red and blue colors. Web safe color of #AF18B7 is #9900CC (or #90C).

RGB color model

#AF18B7 color RGB value is (175,24,183).

  • red value is 175;
  • green value is 24;
  • blue value is 183.
RGB:
(175,24,183)
(69%,9%,72%)

RGB channels and saturation

R 175 of 255 = 69%
G 24 of 255 = 9%
B 183 of 255 = 72%

175
24
183

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

Portions of RGB colors in percentages

R + G + B =
175 + 24 + 183 = 382 (100%)
R 175 of 382 ~ 45.81%
G 24 of 382 ~ 6.28%
B 183 of 382 ~ 47.91%

%45.81
%47.91

CMYK color model

#AF18B7 color CMYK value is (4,87,0,28).

  • cyan value is 4.37%
  • magenta value is 86.89%
  • yellow value is 0.00%
  • key color value is 28.24%
CMYK:
(4,87,0,28)
C4M87Y0K28 
(4%,87%,0%,28%)
(0.04/0.87/0.00/0.28)	

CMYK percentages

%4.37
%86.89
%0
%28.24

Codes

Color #AF18B7 in popluar color models

AF18B7
RGB17524183
HSL297°76.81%40.59%
HSB/HSV297°86.89%71.76%
CMYK4.37%86.89%0.00%
28.24%

Color #AF18B7 in popluar number systems.

HEXAF18B7
Decimal17524183
Binary101011111100010110111
Octal25730267

Shades and tints

Shades of #AF18B7

#AF18B7
(175,24,183)
#A016A7
(160,22,167)
#911497
(145,20,151)
#821287
(130,18,135)
#731077
(115,16,119)
#640E67
(100,14,103)
#550C57
(85,12,87)
#460A47
(70,10,71)
#370837
(55,8,55)
#280627
(40,6,39)
#190417
(25,4,23)
#000000
(0,0,0)

Tints of #AF18B7

#AF18B7
(175,24,183)
#B62DBD
(182,45,189)
#BD42C3
(189,66,195)
#C457C9
(196,87,201)
#CB6CCF
(203,108,207)
#D281D5
(210,129,213)
#D996DB
(217,150,219)
#E0ABE1
(224,171,225)
#E7C0E7
(231,192,231)
#EED5ED
(238,213,237)
#F5EAF3
(245,234,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AF18B7 color. Also use rgb(175,24,183) instead hex code.

Text Font Color

.myTextColor { color: #AF18B7; }

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

This text font color is #AF18B7.


Background Color

.myBgColor { background-color: #AF18B7; }

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

This div background color is #AF18B7.


Border color

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

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

This div border color is #AF18B7.


Opacity

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

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

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

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

This text has shadow with #AF18B7 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AF18B7 on black background.


Color preview on white background

This text has color #AF18B7 on white background.



Black color preview on #AF18B7 background

This text has black color on #AF18B7 background.


White color preview on #AF18B7 background

This text has white color on #AF18B7 background.