COLOR #AF317E

HEX: #AF317E RGB: (175,49,126)

Color info

#AF317E contains mainly red and blue colors. Web safe color of #AF317E is #993366 (or #936).

RGB color model

#AF317E color RGB value is (175,49,126).

RGB: (175,49,126) (69%, 19%, 49%)

RGB channels and saturation

R 175 of 255 = 69%
G 49 of 255 = 19%
B 126 of 255 = 49%

175
49
126

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

Portions of RGB colors in percentages

R + G + B = 175 + 49 + 126 = 350 (100%)
R 175 of 350 ~ 50%
G 49 of 350 ~ 14%
B 126 of 350 ~ 36'%

%50
%14
%36

CMYK color model

#AF317E color CMYK value is (0,72,28,31).

  • cyan value is 0.00%
  • magenta value is 72.00%
  • yellow value is 28.00%
  • key color value is 31.37%

CMYK: (0,72,28,31)
C0M72Y28K31 (0%, 72%, 28%, 31%)
(0.00 / 0.72 / 0.28 / 0.31)

CMYK percentages

%0
%72
%28
%31.37

Codes

Color #AF317E in popluar color models

AF 31 7E
RGB 175 49 126
HSL 323° 56.25% 43.92%
HSB/HSV 323° 72.00% 68.63%
CMYK 0.00% 72.00% 28.00%
31.37%

Color #AF317E in popluar number systems.

HEX AF 31 7E
Decimal 175 49 126
Binary 10101111 110001 1111110
Octal 257 61 176

Shades and tints

Shades of #AF317E

#AF317E
(175,49,126)
#A02D73
(160,45,115)
#912968
(145,41,104)
#82255D
(130,37,93)
#732152
(115,33,82)
#641D47
(100,29,71)
#55193C
(85,25,60)
#461531
(70,21,49)
#371126
(55,17,38)
#280D1B
(40,13,27)
#190910
(25,9,16)
#000000
(0,0,0)

Tints of #AF317E

#AF317E
(175,49,126)
#B64389
(182,67,137)
#BD5594
(189,85,148)
#C4679F
(196,103,159)
#CB79AA
(203,121,170)
#D28BB5
(210,139,181)
#D99DC0
(217,157,192)
#E0AFCB
(224,175,203)
#E7C1D6
(231,193,214)
#EED3E1
(238,211,225)
#F5E5EC
(245,229,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AF317E color. Also use rgb(175,49,126) instead hex code.

Text Font Color

.myTextColor { color: #AF317E; }

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

This text font color is #AF317E.

Background Color

.myBgColor { background-color: #AF317E; }

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

This div background color is #AF317E.

Border color

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

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

This div border color is #AF317E.

Opacity

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

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

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

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

This text has shadow with #AF317E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #AF317E.

Preview

Color preview on black background

This text has color #AF317E on black background.


Color preview on white background

This text has color #AF317E on white background.


Black color preview on #AF317E background

This text has black color on #AF317E background.


White color preview on #AF317E background

This text has white color on #AF317E background.


Related colors

Complementary color

Complementary color for #hex is #50CE81.


I love getcolorcode.com

Triadic colors

1 #7EAF31 and #317EAF with #AF317E are triadic colors.

2 #7E31AF and #31AF7E with #AF317E are triadic colors.