COLOR #AF4C7B

HEX: #AF4C7B
RGB: (175,76,123)

Color info

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

RGB color model

#AF4C7B color RGB value is (175,76,123).

  • red value is 175;
  • green value is 76;
  • blue value is 123.
RGB:
(175,76,123)
(69%,30%,48%)

RGB channels and saturation

R 175 of 255 = 69%
G 76 of 255 = 30%
B 123 of 255 = 48%

175
76
123

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

Portions of RGB colors in percentages

R + G + B =
175 + 76 + 123 = 374 (100%)
R 175 of 374 ~ 46.79%
G 76 of 374 ~ 20.32%
B 123 of 374 ~ 32.89%

%46.79
%20.32
%32.89

CMYK color model

#AF4C7B color CMYK value is (0,57,30,31).

  • cyan value is 0.00%
  • magenta value is 56.57%
  • yellow value is 29.71%
  • key color value is 31.37%
CMYK:
(0,57,30,31)
C0M57Y30K31 
(0%,57%,30%,31%)
(0.00/0.57/0.30/0.31)	

CMYK percentages

%0
%56.57
%29.71
%31.37

Codes

Color #AF4C7B in popluar color models

AF4C7B
RGB17576123
HSL332°39.44%49.22%
HSB/HSV332°56.57%68.63%
CMYK0.00%56.57%29.71%
31.37%

Color #AF4C7B in popluar number systems.

HEXAF4C7B
Decimal17576123
Binary1010111110011001111011
Octal257114173

Shades and tints

Shades of #AF4C7B

#AF4C7B
(175,76,123)
#A04670
(160,70,112)
#914065
(145,64,101)
#823A5A
(130,58,90)
#73344F
(115,52,79)
#642E44
(100,46,68)
#552839
(85,40,57)
#46222E
(70,34,46)
#371C23
(55,28,35)
#281618
(40,22,24)
#19100D
(25,16,13)
#000000
(0,0,0)

Tints of #AF4C7B

#AF4C7B
(175,76,123)
#B65C87
(182,92,135)
#BD6C93
(189,108,147)
#C47C9F
(196,124,159)
#CB8CAB
(203,140,171)
#D29CB7
(210,156,183)
#D9ACC3
(217,172,195)
#E0BCCF
(224,188,207)
#E7CCDB
(231,204,219)
#EEDCE7
(238,220,231)
#F5ECF3
(245,236,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AF4C7B color. Also use rgb(175,76,123) instead hex code.

Text Font Color

.myTextColor { color: #AF4C7B; }

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

This text font color is #AF4C7B.


Background Color

.myBgColor { background-color: #AF4C7B; }

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

This div background color is #AF4C7B.


Border color

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

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

This div border color is #AF4C7B.


Opacity

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

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

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

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

This text has shadow with #AF4C7B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AF4C7B on black background.


Color preview on white background

This text has color #AF4C7B on white background.



Black color preview on #AF4C7B background

This text has black color on #AF4C7B background.


White color preview on #AF4C7B background

This text has white color on #AF4C7B background.