COLOR #AF507E

HEX: #AF507E
RGB: (175,80,126)

Color info

#AF507E contains mainly red and blue colors. Web safe color of #AF507E is #996666 (or #966).

RGB color model

#AF507E color RGB value is (175,80,126).

  • red value is 175;
  • green value is 80;
  • blue value is 126.
RGB:
(175,80,126)
(69%,31%,49%)

RGB channels and saturation

R 175 of 255 = 69%
G 80 of 255 = 31%
B 126 of 255 = 49%

175
80
126

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

Portions of RGB colors in percentages

R + G + B =
175 + 80 + 126 = 381 (100%)
R 175 of 381 ~ 45.93%
G 80 of 381 ~ 21%
B 126 of 381 ~ 33.07%

%45.93
%21
%33.07

CMYK color model

#AF507E color CMYK value is (0,54,28,31).

  • cyan value is 0.00%
  • magenta value is 54.29%
  • yellow value is 28.00%
  • key color value is 31.37%
CMYK:
(0,54,28,31)
C0M54Y28K31 
(0%,54%,28%,31%)
(0.00/0.54/0.28/0.31)	

CMYK percentages

%0
%54.29
%28
%31.37

Codes

Color #AF507E in popluar color models

AF507E
RGB17580126
HSL331°37.25%50.00%
HSB/HSV331°54.29%68.63%
CMYK0.00%54.29%28.00%
31.37%

Color #AF507E in popluar number systems.

HEXAF507E
Decimal17580126
Binary1010111110100001111110
Octal257120176

Shades and tints

Shades of #AF507E

#AF507E
(175,80,126)
#A04973
(160,73,115)
#914268
(145,66,104)
#823B5D
(130,59,93)
#733452
(115,52,82)
#642D47
(100,45,71)
#55263C
(85,38,60)
#461F31
(70,31,49)
#371826
(55,24,38)
#28111B
(40,17,27)
#190A10
(25,10,16)
#000000
(0,0,0)

Tints of #AF507E

#AF507E
(175,80,126)
#B65F89
(182,95,137)
#BD6E94
(189,110,148)
#C47D9F
(196,125,159)
#CB8CAA
(203,140,170)
#D29BB5
(210,155,181)
#D9AAC0
(217,170,192)
#E0B9CB
(224,185,203)
#E7C8D6
(231,200,214)
#EED7E1
(238,215,225)
#F5E6EC
(245,230,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AF507E; }

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

This text font color is #AF507E.


Background Color

.myBgColor { background-color: #AF507E; }

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

This div background color is #AF507E.


Border color

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

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

This div border color is #AF507E.


Opacity

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

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

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

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

This text has shadow with #AF507E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AF507E on black background.


Color preview on white background

This text has color #AF507E on white background.



Black color preview on #AF507E background

This text has black color on #AF507E background.


White color preview on #AF507E background

This text has white color on #AF507E background.