COLOR #A5798A

HEX: #A5798A
RGB: (165,121,138)

Color info

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

RGB color model

#A5798A color RGB value is (165,121,138).

  • red value is 165;
  • green value is 121;
  • blue value is 138.
RGB:
(165,121,138)
(65%,47%,54%)

RGB channels and saturation

R 165 of 255 = 65%
G 121 of 255 = 47%
B 138 of 255 = 54%

165
121
138

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

Portions of RGB colors in percentages

R + G + B =
165 + 121 + 138 = 424 (100%)
R 165 of 424 ~ 38.92%
G 121 of 424 ~ 28.54%
B 138 of 424 ~ 32.55%

%38.92
%28.54
%32.55

CMYK color model

#A5798A color CMYK value is (0,27,16,35).

  • cyan value is 0.00%
  • magenta value is 26.67%
  • yellow value is 16.36%
  • key color value is 35.29%
CMYK:
(0,27,16,35)
C0M27Y16K35 
(0%,27%,16%,35%)
(0.00/0.27/0.16/0.35)	

CMYK percentages

%0
%26.67
%16.36
%35.29

Codes

Color #A5798A in popluar color models

A5798A
RGB165121138
HSL337°19.64%56.08%
HSB/HSV337°26.67%64.71%
CMYK0.00%26.67%16.36%
35.29%

Color #A5798A in popluar number systems.

HEXA5798A
Decimal165121138
Binary10100101111100110001010
Octal245171212

Shades and tints

Shades of #A5798A

#A5798A
(165,121,138)
#966E7E
(150,110,126)
#876372
(135,99,114)
#785866
(120,88,102)
#694D5A
(105,77,90)
#5A424E
(90,66,78)
#4B3742
(75,55,66)
#3C2C36
(60,44,54)
#2D212A
(45,33,42)
#1E161E
(30,22,30)
#0F0B12
(15,11,18)
#000000
(0,0,0)

Tints of #A5798A

#A5798A
(165,121,138)
#AD8594
(173,133,148)
#B5919E
(181,145,158)
#BD9DA8
(189,157,168)
#C5A9B2
(197,169,178)
#CDB5BC
(205,181,188)
#D5C1C6
(213,193,198)
#DDCDD0
(221,205,208)
#E5D9DA
(229,217,218)
#EDE5E4
(237,229,228)
#F5F1EE
(245,241,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A5798A; }

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

This text font color is #A5798A.


Background Color

.myBgColor { background-color: #A5798A; }

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

This div background color is #A5798A.


Border color

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

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

This div border color is #A5798A.


Opacity

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

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

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

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

This text has shadow with #A5798A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A5798A on black background.


Color preview on white background

This text has color #A5798A on white background.



Black color preview on #A5798A background

This text has black color on #A5798A background.


White color preview on #A5798A background

This text has white color on #A5798A background.