COLOR #AB6A9B

HEX: #AB6A9B
RGB: (171,106,155)

Color info

#AB6A9B contains mainly red and blue colors. Web safe color of #AB6A9B is #996699 (or #969).

RGB color model

#AB6A9B color RGB value is (171,106,155).

  • red value is 171;
  • green value is 106;
  • blue value is 155.
RGB:
(171,106,155)
(67%,42%,61%)

RGB channels and saturation

R 171 of 255 = 67%
G 106 of 255 = 42%
B 155 of 255 = 61%

171
106
155

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

Portions of RGB colors in percentages

R + G + B =
171 + 106 + 155 = 432 (100%)
R 171 of 432 ~ 39.58%
G 106 of 432 ~ 24.54%
B 155 of 432 ~ 35.88%

%39.58
%24.54
%35.88

CMYK color model

#AB6A9B color CMYK value is (0,38,9,33).

  • cyan value is 0.00%
  • magenta value is 38.01%
  • yellow value is 9.36%
  • key color value is 32.94%
CMYK:
(0,38,9,33)
C0M38Y9K33 
(0%,38%,9%,33%)
(0.00/0.38/0.09/0.33)	

CMYK percentages

%0
%38.01
%9.36
%32.94

Codes

Color #AB6A9B in popluar color models

AB6A9B
RGB171106155
HSL315°27.90%54.31%
HSB/HSV315°38.01%67.06%
CMYK0.00%38.01%9.36%
32.94%

Color #AB6A9B in popluar number systems.

HEXAB6A9B
Decimal171106155
Binary10101011110101010011011
Octal253152233

Shades and tints

Shades of #AB6A9B

#AB6A9B
(171,106,155)
#9C618D
(156,97,141)
#8D587F
(141,88,127)
#7E4F71
(126,79,113)
#6F4663
(111,70,99)
#603D55
(96,61,85)
#513447
(81,52,71)
#422B39
(66,43,57)
#33222B
(51,34,43)
#24191D
(36,25,29)
#15100F
(21,16,15)
#000000
(0,0,0)

Tints of #AB6A9B

#AB6A9B
(171,106,155)
#B277A4
(178,119,164)
#B984AD
(185,132,173)
#C091B6
(192,145,182)
#C79EBF
(199,158,191)
#CEABC8
(206,171,200)
#D5B8D1
(213,184,209)
#DCC5DA
(220,197,218)
#E3D2E3
(227,210,227)
#EADFEC
(234,223,236)
#F1ECF5
(241,236,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AB6A9B color. Also use rgb(171,106,155) instead hex code.

Text Font Color

.myTextColor { color: #AB6A9B; }

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

This text font color is #AB6A9B.


Background Color

.myBgColor { background-color: #AB6A9B; }

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

This div background color is #AB6A9B.


Border color

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

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

This div border color is #AB6A9B.


Opacity

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

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

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

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

This text has shadow with #AB6A9B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AB6A9B on black background.


Color preview on white background

This text has color #AB6A9B on white background.



Black color preview on #AB6A9B background

This text has black color on #AB6A9B background.


White color preview on #AB6A9B background

This text has white color on #AB6A9B background.