COLOR #A5798C

HEX: #A5798C RGB: (165,121,140)

Color info

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

RGB color model

#A5798C color RGB value is (165,121,140).

RGB: (165,121,140) (65%, 47%, 55%)

RGB channels and saturation

R 165 of 255 = 65%
G 121 of 255 = 47%
B 140 of 255 = 55%

165
121
140

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

Portions of RGB colors in percentages

R + G + B = 165 + 121 + 140 = 426 (100%)
R 165 of 426 ~ 38.73%
G 121 of 426 ~ 28.4%
B 140 of 426 ~ 32.86'%

%38.73
%28.4
%32.86

CMYK color model

#A5798C color CMYK value is (0,27,15,35).

  • cyan value is 0.00%
  • magenta value is 26.67%
  • yellow value is 15.15%
  • key color value is 35.29%

CMYK: (0,27,15,35)
C0M27Y15K35 (0%, 27%, 15%, 35%)
(0.00 / 0.27 / 0.15 / 0.35)

CMYK percentages

%0
%26.67
%15.15
%35.29

Codes

Color #A5798C in popluar color models

A5 79 8C
RGB 165 121 140
HSL 334° 19.64% 56.08%
HSB/HSV 334° 26.67% 64.71%
CMYK 0.00% 26.67% 15.15%
35.29%

Color #A5798C in popluar number systems.

HEX A5 79 8C
Decimal 165 121 140
Binary 10100101 1111001 10001100
Octal 245 171 214

Shades and tints

Shades of #A5798C

#A5798C
(165,121,140)
#966E80
(150,110,128)
#876374
(135,99,116)
#785868
(120,88,104)
#694D5C
(105,77,92)
#5A4250
(90,66,80)
#4B3744
(75,55,68)
#3C2C38
(60,44,56)
#2D212C
(45,33,44)
#1E1620
(30,22,32)
#0F0B14
(15,11,20)
#000000
(0,0,0)

Tints of #A5798C

#A5798C
(165,121,140)
#AD8596
(173,133,150)
#B591A0
(181,145,160)
#BD9DAA
(189,157,170)
#C5A9B4
(197,169,180)
#CDB5BE
(205,181,190)
#D5C1C8
(213,193,200)
#DDCDD2
(221,205,210)
#E5D9DC
(229,217,220)
#EDE5E6
(237,229,230)
#F5F1F0
(245,241,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A5798C color. Also use rgb(165,121,140) instead hex code.

Text Font Color

.myTextColor { color: #A5798C; }

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

This text font color is #A5798C.

Background Color

.myBgColor { background-color: #A5798C; }

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

This div background color is #A5798C.

Border color

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

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

This div border color is #A5798C.

Opacity

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

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

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

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

This text has shadow with #A5798C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #A5798C.

Preview

Color preview on black background

This text has color #A5798C on black background.


Color preview on white background

This text has color #A5798C on white background.


Black color preview on #A5798C background

This text has black color on #A5798C background.


White color preview on #A5798C background

This text has white color on #A5798C background.


Related colors

Complementary color

Complementary color for #hex is #5A8673.


I love getcolorcode.com

Triadic colors

1 #8CA579 and #798CA5 with #A5798C are triadic colors.

2 #8C79A5 and #79A58C with #A5798C are triadic colors.