COLOR #A2798A

HEX: #A2798A RGB: (162,121,138)

Color info

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

RGB color model

#A2798A color RGB value is (162,121,138).

RGB: (162,121,138) (64%, 47%, 54%)

RGB channels and saturation

R 162 of 255 = 64%
G 121 of 255 = 47%
B 138 of 255 = 54%

162
121
138

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

Portions of RGB colors in percentages

R + G + B = 162 + 121 + 138 = 421 (100%)
R 162 of 421 ~ 38.48%
G 121 of 421 ~ 28.74%
B 138 of 421 ~ 32.78'%

%38.48
%28.74
%32.78

CMYK color model

#A2798A color CMYK value is (0,25,15,36).

  • cyan value is 0.00%
  • magenta value is 25.31%
  • yellow value is 14.81%
  • key color value is 36.47%

CMYK: (0,25,15,36)
C0M25Y15K36 (0%, 25%, 15%, 36%)
(0.00 / 0.25 / 0.15 / 0.36)

CMYK percentages

%0
%25.31
%14.81
%36.47

Codes

Color #A2798A in popluar color models

A2 79 8A
RGB 162 121 138
HSL 335° 18.06% 55.49%
HSB/HSV 335° 25.31% 63.53%
CMYK 0.00% 25.31% 14.81%
36.47%

Color #A2798A in popluar number systems.

HEX A2 79 8A
Decimal 162 121 138
Binary 10100010 1111001 10001010
Octal 242 171 212

Shades and tints

Shades of #A2798A

#A2798A
(162,121,138)
#946E7E
(148,110,126)
#866372
(134,99,114)
#785866
(120,88,102)
#6A4D5A
(106,77,90)
#5C424E
(92,66,78)
#4E3742
(78,55,66)
#402C36
(64,44,54)
#32212A
(50,33,42)
#24161E
(36,22,30)
#160B12
(22,11,18)
#000000
(0,0,0)

Tints of #A2798A

#A2798A
(162,121,138)
#AA8594
(170,133,148)
#B2919E
(178,145,158)
#BA9DA8
(186,157,168)
#C2A9B2
(194,169,178)
#CAB5BC
(202,181,188)
#D2C1C6
(210,193,198)
#DACDD0
(218,205,208)
#E2D9DA
(226,217,218)
#EAE5E4
(234,229,228)
#F2F1EE
(242,241,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A2798A color. Also use rgb(162,121,138) instead hex code.

Text Font Color

.myTextColor { color: #A2798A; }

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

This text font color is #A2798A.

Background Color

.myBgColor { background-color: #A2798A; }

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

This div background color is #A2798A.

Border color

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

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

This div border color is #A2798A.

Opacity

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

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

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

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

This text has shadow with #A2798A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #A2798A.

Preview

Color preview on black background

This text has color #A2798A on black background.


Color preview on white background

This text has color #A2798A on white background.


Black color preview on #A2798A background

This text has black color on #A2798A background.


White color preview on #A2798A background

This text has white color on #A2798A background.


Related colors

Complementary color

Complementary color for #hex is #5D8675.


I love getcolorcode.com

Triadic colors

1 #8AA279 and #798AA2 with #A2798A are triadic colors.

2 #8A79A2 and #79A28A with #A2798A are triadic colors.