COLOR #AB789D

HEX: #AB789D
RGB: (171,120,157)

Color info

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

RGB color model

#AB789D color RGB value is (171,120,157).

  • red value is 171;
  • green value is 120;
  • blue value is 157.
RGB:
(171,120,157)
(67%,47%,62%)

RGB channels and saturation

R 171 of 255 = 67%
G 120 of 255 = 47%
B 157 of 255 = 62%

171
120
157

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

Portions of RGB colors in percentages

R + G + B =
171 + 120 + 157 = 448 (100%)
R 171 of 448 ~ 38.17%
G 120 of 448 ~ 26.79%
B 157 of 448 ~ 35.04%

%38.17
%26.79
%35.04

CMYK color model

#AB789D color CMYK value is (0,30,8,33).

  • cyan value is 0.00%
  • magenta value is 29.82%
  • yellow value is 8.19%
  • key color value is 32.94%
CMYK:
(0,30,8,33)
C0M30Y8K33 
(0%,30%,8%,33%)
(0.00/0.30/0.08/0.33)	

CMYK percentages

%0
%29.82
%8.19
%32.94

Codes

Color #AB789D in popluar color models

AB789D
RGB171120157
HSL316°23.29%57.06%
HSB/HSV316°29.82%67.06%
CMYK0.00%29.82%8.19%
32.94%

Color #AB789D in popluar number systems.

HEXAB789D
Decimal171120157
Binary10101011111100010011101
Octal253170235

Shades and tints

Shades of #AB789D

#AB789D
(171,120,157)
#9C6E8F
(156,110,143)
#8D6481
(141,100,129)
#7E5A73
(126,90,115)
#6F5065
(111,80,101)
#604657
(96,70,87)
#513C49
(81,60,73)
#42323B
(66,50,59)
#33282D
(51,40,45)
#241E1F
(36,30,31)
#151411
(21,20,17)
#000000
(0,0,0)

Tints of #AB789D

#AB789D
(171,120,157)
#B284A5
(178,132,165)
#B990AD
(185,144,173)
#C09CB5
(192,156,181)
#C7A8BD
(199,168,189)
#CEB4C5
(206,180,197)
#D5C0CD
(213,192,205)
#DCCCD5
(220,204,213)
#E3D8DD
(227,216,221)
#EAE4E5
(234,228,229)
#F1F0ED
(241,240,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AB789D color. Also use rgb(171,120,157) instead hex code.

Text Font Color

.myTextColor { color: #AB789D; }

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

This text font color is #AB789D.


Background Color

.myBgColor { background-color: #AB789D; }

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

This div background color is #AB789D.


Border color

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

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

This div border color is #AB789D.


Opacity

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

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

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

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

This text has shadow with #AB789D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AB789D on black background.


Color preview on white background

This text has color #AB789D on white background.



Black color preview on #AB789D background

This text has black color on #AB789D background.


White color preview on #AB789D background

This text has white color on #AB789D background.