COLOR #AF798B

HEX: #AF798B
RGB: (175,121,139)

Color info

#AF798B contains red, green and blue colors in about the same proportion. Web safe color of #AF798B is #996699 (or #969).

RGB color model

#AF798B color RGB value is (175,121,139).

  • red value is 175;
  • green value is 121;
  • blue value is 139.
RGB:
(175,121,139)
(69%,47%,55%)

RGB channels and saturation

R 175 of 255 = 69%
G 121 of 255 = 47%
B 139 of 255 = 55%

175
121
139

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

Portions of RGB colors in percentages

R + G + B =
175 + 121 + 139 = 435 (100%)
R 175 of 435 ~ 40.23%
G 121 of 435 ~ 27.82%
B 139 of 435 ~ 31.95%

%40.23
%27.82
%31.95

CMYK color model

#AF798B color CMYK value is (0,31,21,31).

  • cyan value is 0.00%
  • magenta value is 30.86%
  • yellow value is 20.57%
  • key color value is 31.37%
CMYK:
(0,31,21,31)
C0M31Y21K31 
(0%,31%,21%,31%)
(0.00/0.31/0.21/0.31)	

CMYK percentages

%0
%30.86
%20.57
%31.37

Codes

Color #AF798B in popluar color models

AF798B
RGB175121139
HSL340°25.23%58.04%
HSB/HSV340°30.86%68.63%
CMYK0.00%30.86%20.57%
31.37%

Color #AF798B in popluar number systems.

HEXAF798B
Decimal175121139
Binary10101111111100110001011
Octal257171213

Shades and tints

Shades of #AF798B

#AF798B
(175,121,139)
#A06E7F
(160,110,127)
#916373
(145,99,115)
#825867
(130,88,103)
#734D5B
(115,77,91)
#64424F
(100,66,79)
#553743
(85,55,67)
#462C37
(70,44,55)
#37212B
(55,33,43)
#28161F
(40,22,31)
#190B13
(25,11,19)
#000000
(0,0,0)

Tints of #AF798B

#AF798B
(175,121,139)
#B68595
(182,133,149)
#BD919F
(189,145,159)
#C49DA9
(196,157,169)
#CBA9B3
(203,169,179)
#D2B5BD
(210,181,189)
#D9C1C7
(217,193,199)
#E0CDD1
(224,205,209)
#E7D9DB
(231,217,219)
#EEE5E5
(238,229,229)
#F5F1EF
(245,241,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AF798B color. Also use rgb(175,121,139) instead hex code.

Text Font Color

.myTextColor { color: #AF798B; }

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

This text font color is #AF798B.


Background Color

.myBgColor { background-color: #AF798B; }

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

This div background color is #AF798B.


Border color

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

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

This div border color is #AF798B.


Opacity

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

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

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

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

This text has shadow with #AF798B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AF798B on black background.


Color preview on white background

This text has color #AF798B on white background.



Black color preview on #AF798B background

This text has black color on #AF798B background.


White color preview on #AF798B background

This text has white color on #AF798B background.