COLOR #A6789E

HEX: #A6789E RGB: (166,120,158)

Color info

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

RGB color model

#A6789E color RGB value is (166,120,158).

RGB: (166,120,158) (65%, 47%, 62%)

RGB channels and saturation

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

166
120
158

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

Portions of RGB colors in percentages

R + G + B = 166 + 120 + 158 = 444 (100%)
R 166 of 444 ~ 37.39%
G 120 of 444 ~ 27.03%
B 158 of 444 ~ 35.59'%

%37.39
%27.03
%35.59

CMYK color model

#A6789E color CMYK value is (0,28,5,35).

  • cyan value is 0.00%
  • magenta value is 27.71%
  • yellow value is 4.82%
  • key color value is 34.90%

CMYK: (0,28,5,35)
C0M28Y5K35 (0%, 28%, 5%, 35%)
(0.00 / 0.28 / 0.05 / 0.35)

CMYK percentages

%0
%27.71
%4.82
%34.9

Codes

Color #A6789E in popluar color models

A6 78 9E
RGB 166 120 158
HSL 310° 20.54% 56.08%
HSB/HSV 310° 27.71% 65.10%
CMYK 0.00% 27.71% 4.82%
34.90%

Color #A6789E in popluar number systems.

HEX A6 78 9E
Decimal 166 120 158
Binary 10100110 1111000 10011110
Octal 246 170 236

Shades and tints

Shades of #A6789E

#A6789E
(166,120,158)
#976E90
(151,110,144)
#886482
(136,100,130)
#795A74
(121,90,116)
#6A5066
(106,80,102)
#5B4658
(91,70,88)
#4C3C4A
(76,60,74)
#3D323C
(61,50,60)
#2E282E
(46,40,46)
#1F1E20
(31,30,32)
#101412
(16,20,18)
#000000
(0,0,0)

Tints of #A6789E

#A6789E
(166,120,158)
#AE84A6
(174,132,166)
#B690AE
(182,144,174)
#BE9CB6
(190,156,182)
#C6A8BE
(198,168,190)
#CEB4C6
(206,180,198)
#D6C0CE
(214,192,206)
#DECCD6
(222,204,214)
#E6D8DE
(230,216,222)
#EEE4E6
(238,228,230)
#F6F0EE
(246,240,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A6789E; }

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

This text font color is #A6789E.

Background Color

.myBgColor { background-color: #A6789E; }

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

This div background color is #A6789E.

Border color

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

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

This div border color is #A6789E.

Opacity

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

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

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

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

This text has shadow with #A6789E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #A6789E.

Preview

Color preview on black background

This text has color #A6789E on black background.


Color preview on white background

This text has color #A6789E on white background.


Black color preview on #A6789E background

This text has black color on #A6789E background.


White color preview on #A6789E background

This text has white color on #A6789E background.


Related colors

Complementary color

Complementary color for #hex is #598761.


I love getcolorcode.com

Triadic colors

1 #9EA678 and #789EA6 with #A6789E are triadic colors.

2 #9E78A6 and #78A69E with #A6789E are triadic colors.