COLOR #AF027F

HEX: #AF027F RGB: (175,2,127)

Color info

#AF027F contains mainly red and blue colors. Web safe color of #AF027F is #990066 (or #906).

RGB color model

#AF027F color RGB value is (175,2,127).

RGB: (175,2,127) (69%, 1%, 50%)

RGB channels and saturation

R 175 of 255 = 69%
G 2 of 255 = 1%
B 127 of 255 = 50%

175
2
127

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

Portions of RGB colors in percentages

R + G + B = 175 + 2 + 127 = 304 (100%)
R 175 of 304 ~ 57.57%
G 2 of 304 ~ 0.66%
B 127 of 304 ~ 41.78'%

%57.57
%41.78

CMYK color model

#AF027F color CMYK value is (0,99,27,31).

  • cyan value is 0.00%
  • magenta value is 98.86%
  • yellow value is 27.43%
  • key color value is 31.37%

CMYK: (0,99,27,31)
C0M99Y27K31 (0%, 99%, 27%, 31%)
(0.00 / 0.99 / 0.27 / 0.31)

CMYK percentages

%0
%98.86
%27.43
%31.37

Codes

Color #AF027F in popluar color models

AF 02 7F
RGB 175 2 127
HSL 317° 97.74% 34.71%
HSB/HSV 317° 98.86% 68.63%
CMYK 0.00% 98.86% 27.43%
31.37%

Color #AF027F in popluar number systems.

HEX AF 02 7F
Decimal 175 2 127
Binary 10101111 10 1111111
Octal 257 2 177

Shades and tints

Shades of #AF027F

#AF027F
(175,2,127)
#A00274
(160,2,116)
#910269
(145,2,105)
#82025E
(130,2,94)
#730253
(115,2,83)
#640248
(100,2,72)
#55023D
(85,2,61)
#460232
(70,2,50)
#370227
(55,2,39)
#28021C
(40,2,28)
#190211
(25,2,17)
#000000
(0,0,0)

Tints of #AF027F

#AF027F
(175,2,127)
#B6198A
(182,25,138)
#BD3095
(189,48,149)
#C447A0
(196,71,160)
#CB5EAB
(203,94,171)
#D275B6
(210,117,182)
#D98CC1
(217,140,193)
#E0A3CC
(224,163,204)
#E7BAD7
(231,186,215)
#EED1E2
(238,209,226)
#F5E8ED
(245,232,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AF027F color. Also use rgb(175,2,127) instead hex code.

Text Font Color

.myTextColor { color: #AF027F; }

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

This text font color is #AF027F.

Background Color

.myBgColor { background-color: #AF027F; }

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

This div background color is #AF027F.

Border color

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

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

This div border color is #AF027F.

Opacity

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

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

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

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

This text has shadow with #AF027F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #AF027F.

Preview

Color preview on black background

This text has color #AF027F on black background.


Color preview on white background

This text has color #AF027F on white background.


Black color preview on #AF027F background

This text has black color on #AF027F background.


White color preview on #AF027F background

This text has white color on #AF027F background.


Related colors

Complementary color

Complementary color for #hex is #50FD80.


I love getcolorcode.com

Triadic colors

1 #7FAF02 and #027FAF with #AF027F are triadic colors.

2 #7F02AF and #02AF7F with #AF027F are triadic colors.