COLOR #A8798F

HEX: #A8798F RGB: (168,121,143)

Color info

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

RGB color model

#A8798F color RGB value is (168,121,143).

RGB: (168,121,143) (66%, 47%, 56%)

RGB channels and saturation

R 168 of 255 = 66%
G 121 of 255 = 47%
B 143 of 255 = 56%

168
121
143

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

Portions of RGB colors in percentages

R + G + B = 168 + 121 + 143 = 432 (100%)
R 168 of 432 ~ 38.89%
G 121 of 432 ~ 28.01%
B 143 of 432 ~ 33.1'%

%38.89
%28.01
%33.1

CMYK color model

#A8798F color CMYK value is (0,28,15,34).

  • cyan value is 0.00%
  • magenta value is 27.98%
  • yellow value is 14.88%
  • key color value is 34.12%

CMYK: (0,28,15,34)
C0M28Y15K34 (0%, 28%, 15%, 34%)
(0.00 / 0.28 / 0.15 / 0.34)

CMYK percentages

%0
%27.98
%14.88
%34.12

Codes

Color #A8798F in popluar color models

A8 79 8F
RGB 168 121 143
HSL 332° 21.27% 56.67%
HSB/HSV 332° 27.98% 65.88%
CMYK 0.00% 27.98% 14.88%
34.12%

Color #A8798F in popluar number systems.

HEX A8 79 8F
Decimal 168 121 143
Binary 10101000 1111001 10001111
Octal 250 171 217

Shades and tints

Shades of #A8798F

#A8798F
(168,121,143)
#996E82
(153,110,130)
#8A6375
(138,99,117)
#7B5868
(123,88,104)
#6C4D5B
(108,77,91)
#5D424E
(93,66,78)
#4E3741
(78,55,65)
#3F2C34
(63,44,52)
#302127
(48,33,39)
#21161A
(33,22,26)
#120B0D
(18,11,13)
#000000
(0,0,0)

Tints of #A8798F

#A8798F
(168,121,143)
#AF8599
(175,133,153)
#B691A3
(182,145,163)
#BD9DAD
(189,157,173)
#C4A9B7
(196,169,183)
#CBB5C1
(203,181,193)
#D2C1CB
(210,193,203)
#D9CDD5
(217,205,213)
#E0D9DF
(224,217,223)
#E7E5E9
(231,229,233)
#EEF1F3
(238,241,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A8798F color. Also use rgb(168,121,143) instead hex code.

Text Font Color

.myTextColor { color: #A8798F; }

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

This text font color is #A8798F.

Background Color

.myBgColor { background-color: #A8798F; }

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

This div background color is #A8798F.

Border color

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

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

This div border color is #A8798F.

Opacity

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

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

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

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

This text has shadow with #A8798F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #A8798F.

Preview

Color preview on black background

This text has color #A8798F on black background.


Color preview on white background

This text has color #A8798F on white background.


Black color preview on #A8798F background

This text has black color on #A8798F background.


White color preview on #A8798F background

This text has white color on #A8798F background.


Related colors

Complementary color

Complementary color for #hex is #578670.


I love getcolorcode.com

Triadic colors

1 #8FA879 and #798FA8 with #A8798F are triadic colors.

2 #8F79A8 and #79A88F with #A8798F are triadic colors.