COLOR #AC798B

HEX: #AC798B
RGB: (172,121,139)

Color info

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

RGB color model

#AC798B color RGB value is (172,121,139).

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

RGB channels and saturation

R 172 of 255 = 67%
G 121 of 255 = 47%
B 139 of 255 = 55%

172
121
139

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

Portions of RGB colors in percentages

R + G + B =
172 + 121 + 139 = 432 (100%)
R 172 of 432 ~ 39.81%
G 121 of 432 ~ 28.01%
B 139 of 432 ~ 32.18%

%39.81
%28.01
%32.18

CMYK color model

#AC798B color CMYK value is (0,30,19,33).

  • cyan value is 0.00%
  • magenta value is 29.65%
  • yellow value is 19.19%
  • key color value is 32.55%
CMYK:
(0,30,19,33)
C0M30Y19K33 
(0%,30%,19%,33%)
(0.00/0.30/0.19/0.33)	

CMYK percentages

%0
%29.65
%19.19
%32.55

Codes

Color #AC798B in popluar color models

AC798B
RGB172121139
HSL339°23.50%57.45%
HSB/HSV339°29.65%67.45%
CMYK0.00%29.65%19.19%
32.55%

Color #AC798B in popluar number systems.

HEXAC798B
Decimal172121139
Binary10101100111100110001011
Octal254171213

Shades and tints

Shades of #AC798B

#AC798B
(172,121,139)
#9D6E7F
(157,110,127)
#8E6373
(142,99,115)
#7F5867
(127,88,103)
#704D5B
(112,77,91)
#61424F
(97,66,79)
#523743
(82,55,67)
#432C37
(67,44,55)
#34212B
(52,33,43)
#25161F
(37,22,31)
#160B13
(22,11,19)
#000000
(0,0,0)

Tints of #AC798B

#AC798B
(172,121,139)
#B38595
(179,133,149)
#BA919F
(186,145,159)
#C19DA9
(193,157,169)
#C8A9B3
(200,169,179)
#CFB5BD
(207,181,189)
#D6C1C7
(214,193,199)
#DDCDD1
(221,205,209)
#E4D9DB
(228,217,219)
#EBE5E5
(235,229,229)
#F2F1EF
(242,241,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AC798B; }

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

This text font color is #AC798B.


Background Color

.myBgColor { background-color: #AC798B; }

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

This div background color is #AC798B.


Border color

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

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

This div border color is #AC798B.


Opacity

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

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

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

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

This text has shadow with #AC798B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AC798B on black background.


Color preview on white background

This text has color #AC798B on white background.



Black color preview on #AC798B background

This text has black color on #AC798B background.


White color preview on #AC798B background

This text has white color on #AC798B background.