COLOR #A6787C

HEX: #A6787C
RGB: (166,120,124)

Color info

#A6787C contains red, green and blue colors in about the same proportion. Web safe color of #A6787C is #996666 (or #966).

RGB color model

#A6787C color RGB value is (166,120,124).

  • red value is 166;
  • green value is 120;
  • blue value is 124.
RGB:
(166,120,124)
(65%,47%,49%)

RGB channels and saturation

R 166 of 255 = 65%
G 120 of 255 = 47%
B 124 of 255 = 49%

166
120
124

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

Portions of RGB colors in percentages

R + G + B =
166 + 120 + 124 = 410 (100%)
R 166 of 410 ~ 40.49%
G 120 of 410 ~ 29.27%
B 124 of 410 ~ 30.24%

%40.49
%29.27
%30.24

CMYK color model

#A6787C color CMYK value is (0,28,25,35).

  • cyan value is 0.00%
  • magenta value is 27.71%
  • yellow value is 25.30%
  • key color value is 34.90%
CMYK:
(0,28,25,35)
C0M28Y25K35 
(0%,28%,25%,35%)
(0.00/0.28/0.25/0.35)	

CMYK percentages

%0
%27.71
%25.3
%34.9

Codes

Color #A6787C in popluar color models

A6787C
RGB166120124
HSL355°20.54%56.08%
HSB/HSV355°27.71%65.10%
CMYK0.00%27.71%25.30%
34.90%

Color #A6787C in popluar number systems.

HEXA6787C
Decimal166120124
Binary1010011011110001111100
Octal246170174

Shades and tints

Shades of #A6787C

#A6787C
(166,120,124)
#976E71
(151,110,113)
#886466
(136,100,102)
#795A5B
(121,90,91)
#6A5050
(106,80,80)
#5B4645
(91,70,69)
#4C3C3A
(76,60,58)
#3D322F
(61,50,47)
#2E2824
(46,40,36)
#1F1E19
(31,30,25)
#10140E
(16,20,14)
#000000
(0,0,0)

Tints of #A6787C

#A6787C
(166,120,124)
#AE8487
(174,132,135)
#B69092
(182,144,146)
#BE9C9D
(190,156,157)
#C6A8A8
(198,168,168)
#CEB4B3
(206,180,179)
#D6C0BE
(214,192,190)
#DECCC9
(222,204,201)
#E6D8D4
(230,216,212)
#EEE4DF
(238,228,223)
#F6F0EA
(246,240,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A6787C; }

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

This text font color is #A6787C.


Background Color

.myBgColor { background-color: #A6787C; }

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

This div background color is #A6787C.


Border color

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

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

This div border color is #A6787C.


Opacity

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

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

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

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

This text has shadow with #A6787C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A6787C on black background.


Color preview on white background

This text has color #A6787C on white background.



Black color preview on #A6787C background

This text has black color on #A6787C background.


White color preview on #A6787C background

This text has white color on #A6787C background.