COLOR #AB98D6

HEX: #AB98D6
RGB: (171,152,214)

Color info

#AB98D6 contains mainly red and blue colors. Web safe color of #AB98D6 is #9999CC (or #99C).

RGB color model

#AB98D6 color RGB value is (171,152,214).

  • red value is 171;
  • green value is 152;
  • blue value is 214.
RGB:
(171,152,214)
(67%,60%,84%)

RGB channels and saturation

R 171 of 255 = 67%
G 152 of 255 = 60%
B 214 of 255 = 84%

171
152
214

R + G + B ~ 70%. #AB98D6 is quite light color.

Portions of RGB colors in percentages

R + G + B =
171 + 152 + 214 = 537 (100%)
R 171 of 537 ~ 31.84%
G 152 of 537 ~ 28.31%
B 214 of 537 ~ 39.85%

%31.84
%28.31
%39.85

CMYK color model

#AB98D6 color CMYK value is (20,29,0,16).

  • cyan value is 20.09%
  • magenta value is 28.97%
  • yellow value is 0.00%
  • key color value is 16.08%
CMYK:
(20,29,0,16)
C20M29Y0K16 
(20%,29%,0%,16%)
(0.20/0.29/0.00/0.16)	

CMYK percentages

%20.09
%28.97
%0
%16.08

Codes

Color #AB98D6 in popluar color models

AB98D6
RGB171152214
HSL258°43.06%71.76%
HSB/HSV258°28.97%83.92%
CMYK20.09%28.97%0.00%
16.08%

Color #AB98D6 in popluar number systems.

HEXAB98D6
Decimal171152214
Binary101010111001100011010110
Octal253230326

Shades and tints

Shades of #AB98D6

#AB98D6
(171,152,214)
#9C8BC3
(156,139,195)
#8D7EB0
(141,126,176)
#7E719D
(126,113,157)
#6F648A
(111,100,138)
#605777
(96,87,119)
#514A64
(81,74,100)
#423D51
(66,61,81)
#33303E
(51,48,62)
#24232B
(36,35,43)
#151618
(21,22,24)
#000000
(0,0,0)

Tints of #AB98D6

#AB98D6
(171,152,214)
#B2A1D9
(178,161,217)
#B9AADC
(185,170,220)
#C0B3DF
(192,179,223)
#C7BCE2
(199,188,226)
#CEC5E5
(206,197,229)
#D5CEE8
(213,206,232)
#DCD7EB
(220,215,235)
#E3E0EE
(227,224,238)
#EAE9F1
(234,233,241)
#F1F2F4
(241,242,244)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AB98D6 color. Also use rgb(171,152,214) instead hex code.

Text Font Color

.myTextColor { color: #AB98D6; }

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

This text font color is #AB98D6.


Background Color

.myBgColor { background-color: #AB98D6; }

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

This div background color is #AB98D6.


Border color

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

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

This div border color is #AB98D6.


Opacity

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

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

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

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

This text has shadow with #AB98D6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AB98D6 on black background.


Color preview on white background

This text has color #AB98D6 on white background.



Black color preview on #AB98D6 background

This text has black color on #AB98D6 background.


White color preview on #AB98D6 background

This text has white color on #AB98D6 background.