COLOR #A6798E

HEX: #A6798E
RGB: (166,121,142)

Color info

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

RGB color model

#A6798E color RGB value is (166,121,142).

  • red value is 166;
  • green value is 121;
  • blue value is 142.
RGB:
(166,121,142)
(65%,47%,56%)

RGB channels and saturation

R 166 of 255 = 65%
G 121 of 255 = 47%
B 142 of 255 = 56%

166
121
142

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

Portions of RGB colors in percentages

R + G + B =
166 + 121 + 142 = 429 (100%)
R 166 of 429 ~ 38.69%
G 121 of 429 ~ 28.21%
B 142 of 429 ~ 33.1%

%38.69
%28.21
%33.1

CMYK color model

#A6798E color CMYK value is (0,27,14,35).

  • cyan value is 0.00%
  • magenta value is 27.11%
  • yellow value is 14.46%
  • key color value is 34.90%
CMYK:
(0,27,14,35)
C0M27Y14K35 
(0%,27%,14%,35%)
(0.00/0.27/0.14/0.35)	

CMYK percentages

%0
%27.11
%14.46
%34.9

Codes

Color #A6798E in popluar color models

A6798E
RGB166121142
HSL332°20.18%56.27%
HSB/HSV332°27.11%65.10%
CMYK0.00%27.11%14.46%
34.90%

Color #A6798E in popluar number systems.

HEXA6798E
Decimal166121142
Binary10100110111100110001110
Octal246171216

Shades and tints

Shades of #A6798E

#A6798E
(166,121,142)
#976E82
(151,110,130)
#886376
(136,99,118)
#79586A
(121,88,106)
#6A4D5E
(106,77,94)
#5B4252
(91,66,82)
#4C3746
(76,55,70)
#3D2C3A
(61,44,58)
#2E212E
(46,33,46)
#1F1622
(31,22,34)
#100B16
(16,11,22)
#000000
(0,0,0)

Tints of #A6798E

#A6798E
(166,121,142)
#AE8598
(174,133,152)
#B691A2
(182,145,162)
#BE9DAC
(190,157,172)
#C6A9B6
(198,169,182)
#CEB5C0
(206,181,192)
#D6C1CA
(214,193,202)
#DECDD4
(222,205,212)
#E6D9DE
(230,217,222)
#EEE5E8
(238,229,232)
#F6F1F2
(246,241,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A6798E color. Also use rgb(166,121,142) instead hex code.

Text Font Color

.myTextColor { color: #A6798E; }

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

This text font color is #A6798E.


Background Color

.myBgColor { background-color: #A6798E; }

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

This div background color is #A6798E.


Border color

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

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

This div border color is #A6798E.


Opacity

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

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

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

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

This text has shadow with #A6798E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A6798E on black background.


Color preview on white background

This text has color #A6798E on white background.



Black color preview on #A6798E background

This text has black color on #A6798E background.


White color preview on #A6798E background

This text has white color on #A6798E background.