COLOR #A5789E

HEX: #A5789E
RGB: (165,120,158)

Color info

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

RGB color model

#A5789E color RGB value is (165,120,158).

  • red value is 165;
  • green value is 120;
  • blue value is 158.
RGB:
(165,120,158)
(65%,47%,62%)

RGB channels and saturation

R 165 of 255 = 65%
G 120 of 255 = 47%
B 158 of 255 = 62%

165
120
158

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

Portions of RGB colors in percentages

R + G + B =
165 + 120 + 158 = 443 (100%)
R 165 of 443 ~ 37.25%
G 120 of 443 ~ 27.09%
B 158 of 443 ~ 35.67%

%37.25
%27.09
%35.67

CMYK color model

#A5789E color CMYK value is (0,27,4,35).

  • cyan value is 0.00%
  • magenta value is 27.27%
  • yellow value is 4.24%
  • key color value is 35.29%
CMYK:
(0,27,4,35)
C0M27Y4K35 
(0%,27%,4%,35%)
(0.00/0.27/0.04/0.35)	

CMYK percentages

%0
%27.27
%4.24
%35.29

Codes

Color #A5789E in popluar color models

A5789E
RGB165120158
HSL309°20.00%55.88%
HSB/HSV309°27.27%64.71%
CMYK0.00%27.27%4.24%
35.29%

Color #A5789E in popluar number systems.

HEXA5789E
Decimal165120158
Binary10100101111100010011110
Octal245170236

Shades and tints

Shades of #A5789E

#A5789E
(165,120,158)
#966E90
(150,110,144)
#876482
(135,100,130)
#785A74
(120,90,116)
#695066
(105,80,102)
#5A4658
(90,70,88)
#4B3C4A
(75,60,74)
#3C323C
(60,50,60)
#2D282E
(45,40,46)
#1E1E20
(30,30,32)
#0F1412
(15,20,18)
#000000
(0,0,0)

Tints of #A5789E

#A5789E
(165,120,158)
#AD84A6
(173,132,166)
#B590AE
(181,144,174)
#BD9CB6
(189,156,182)
#C5A8BE
(197,168,190)
#CDB4C6
(205,180,198)
#D5C0CE
(213,192,206)
#DDCCD6
(221,204,214)
#E5D8DE
(229,216,222)
#EDE4E6
(237,228,230)
#F5F0EE
(245,240,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A5789E color. Also use rgb(165,120,158) instead hex code.

Text Font Color

.myTextColor { color: #A5789E; }

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

This text font color is #A5789E.


Background Color

.myBgColor { background-color: #A5789E; }

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

This div background color is #A5789E.


Border color

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

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

This div border color is #A5789E.


Opacity

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

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

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

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

This text has shadow with #A5789E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A5789E on black background.


Color preview on white background

This text has color #A5789E on white background.



Black color preview on #A5789E background

This text has black color on #A5789E background.


White color preview on #A5789E background

This text has white color on #A5789E background.