COLOR #A6787B

HEX: #A6787B
RGB: (166,120,123)

Color info

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

RGB color model

#A6787B color RGB value is (166,120,123).

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

RGB channels and saturation

R 166 of 255 = 65%
G 120 of 255 = 47%
B 123 of 255 = 48%

166
120
123

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

Portions of RGB colors in percentages

R + G + B =
166 + 120 + 123 = 409 (100%)
R 166 of 409 ~ 40.59%
G 120 of 409 ~ 29.34%
B 123 of 409 ~ 30.07%

%40.59
%29.34
%30.07

CMYK color model

#A6787B color CMYK value is (0,28,26,35).

  • cyan value is 0.00%
  • magenta value is 27.71%
  • yellow value is 25.90%
  • key color value is 34.90%
CMYK:
(0,28,26,35)
C0M28Y26K35 
(0%,28%,26%,35%)
(0.00/0.28/0.26/0.35)	

CMYK percentages

%0
%27.71
%25.9
%34.9

Codes

Color #A6787B in popluar color models

A6787B
RGB166120123
HSL356°20.54%56.08%
HSB/HSV356°27.71%65.10%
CMYK0.00%27.71%25.90%
34.90%

Color #A6787B in popluar number systems.

HEXA6787B
Decimal166120123
Binary1010011011110001111011
Octal246170173

Shades and tints

Shades of #A6787B

#A6787B
(166,120,123)
#976E70
(151,110,112)
#886465
(136,100,101)
#795A5A
(121,90,90)
#6A504F
(106,80,79)
#5B4644
(91,70,68)
#4C3C39
(76,60,57)
#3D322E
(61,50,46)
#2E2823
(46,40,35)
#1F1E18
(31,30,24)
#10140D
(16,20,13)
#000000
(0,0,0)

Tints of #A6787B

#A6787B
(166,120,123)
#AE8487
(174,132,135)
#B69093
(182,144,147)
#BE9C9F
(190,156,159)
#C6A8AB
(198,168,171)
#CEB4B7
(206,180,183)
#D6C0C3
(214,192,195)
#DECCCF
(222,204,207)
#E6D8DB
(230,216,219)
#EEE4E7
(238,228,231)
#F6F0F3
(246,240,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A6787B; }

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

This text font color is #A6787B.


Background Color

.myBgColor { background-color: #A6787B; }

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

This div background color is #A6787B.


Border color

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

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

This div border color is #A6787B.


Opacity

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

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

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

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

This text has shadow with #A6787B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A6787B on black background.


Color preview on white background

This text has color #A6787B on white background.



Black color preview on #A6787B background

This text has black color on #A6787B background.


White color preview on #A6787B background

This text has white color on #A6787B background.