COLOR #AB797E

HEX: #AB797E RGB: (171,121,126)

Color info

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

RGB color model

#AB797E color RGB value is (171,121,126).

RGB: (171,121,126) (67%, 47%, 49%)

RGB channels and saturation

R 171 of 255 = 67%
G 121 of 255 = 47%
B 126 of 255 = 49%

171
121
126

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

Portions of RGB colors in percentages

R + G + B = 171 + 121 + 126 = 418 (100%)
R 171 of 418 ~ 40.91%
G 121 of 418 ~ 28.95%
B 126 of 418 ~ 30.14'%

%40.91
%28.95
%30.14

CMYK color model

#AB797E color CMYK value is (0,29,26,33).

  • cyan value is 0.00%
  • magenta value is 29.24%
  • yellow value is 26.32%
  • key color value is 32.94%

CMYK: (0,29,26,33)
C0M29Y26K33 (0%, 29%, 26%, 33%)
(0.00 / 0.29 / 0.26 / 0.33)

CMYK percentages

%0
%29.24
%26.32
%32.94

Codes

Color #AB797E in popluar color models

AB 79 7E
RGB 171 121 126
HSL 354° 22.94% 57.25%
HSB/HSV 354° 29.24% 67.06%
CMYK 0.00% 29.24% 26.32%
32.94%

Color #AB797E in popluar number systems.

HEX AB 79 7E
Decimal 171 121 126
Binary 10101011 1111001 1111110
Octal 253 171 176

Shades and tints

Shades of #AB797E

#AB797E
(171,121,126)
#9C6E73
(156,110,115)
#8D6368
(141,99,104)
#7E585D
(126,88,93)
#6F4D52
(111,77,82)
#604247
(96,66,71)
#51373C
(81,55,60)
#422C31
(66,44,49)
#332126
(51,33,38)
#24161B
(36,22,27)
#150B10
(21,11,16)
#000000
(0,0,0)

Tints of #AB797E

#AB797E
(171,121,126)
#B28589
(178,133,137)
#B99194
(185,145,148)
#C09D9F
(192,157,159)
#C7A9AA
(199,169,170)
#CEB5B5
(206,181,181)
#D5C1C0
(213,193,192)
#DCCDCB
(220,205,203)
#E3D9D6
(227,217,214)
#EAE5E1
(234,229,225)
#F1F1EC
(241,241,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AB797E color. Also use rgb(171,121,126) instead hex code.

Text Font Color

.myTextColor { color: #AB797E; }

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

This text font color is #AB797E.

Background Color

.myBgColor { background-color: #AB797E; }

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

This div background color is #AB797E.

Border color

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

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

This div border color is #AB797E.

Opacity

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

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

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

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

This text has shadow with #AB797E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #AB797E.

Preview

Color preview on black background

This text has color #AB797E on black background.


Color preview on white background

This text has color #AB797E on white background.


Black color preview on #AB797E background

This text has black color on #AB797E background.


White color preview on #AB797E background

This text has white color on #AB797E background.


Related colors

Complementary color

Complementary color for #hex is #548681.


I love getcolorcode.com

Triadic colors

1 #7EAB79 and #797EAB with #AB797E are triadic colors.

2 #7E79AB and #79AB7E with #AB797E are triadic colors.