COLOR #AB28A8

HEX: #AB28A8
RGB: (171,40,168)

Color info

#AB28A8 contains mainly red and blue colors. Web safe color of #AB28A8 is #993399 (or #939).

RGB color model

#AB28A8 color RGB value is (171,40,168).

  • red value is 171;
  • green value is 40;
  • blue value is 168.
RGB:
(171,40,168)
(67%,16%,66%)

RGB channels and saturation

R 171 of 255 = 67%
G 40 of 255 = 16%
B 168 of 255 = 66%

171
40
168

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

Portions of RGB colors in percentages

R + G + B =
171 + 40 + 168 = 379 (100%)
R 171 of 379 ~ 45.12%
G 40 of 379 ~ 10.55%
B 168 of 379 ~ 44.33%

%45.12
%10.55
%44.33

CMYK color model

#AB28A8 color CMYK value is (0,77,2,33).

  • cyan value is 0.00%
  • magenta value is 76.61%
  • yellow value is 1.75%
  • key color value is 32.94%
CMYK:
(0,77,2,33)
C0M77Y2K33 
(0%,77%,2%,33%)
(0.00/0.77/0.02/0.33)	

CMYK percentages

%0
%76.61
%1.75
%32.94

Codes

Color #AB28A8 in popluar color models

AB28A8
RGB17140168
HSL301°62.09%41.37%
HSB/HSV301°76.61%67.06%
CMYK0.00%76.61%1.75%
32.94%

Color #AB28A8 in popluar number systems.

HEXAB28A8
Decimal17140168
Binary1010101110100010101000
Octal25350250

Shades and tints

Shades of #AB28A8

#AB28A8
(171,40,168)
#9C2599
(156,37,153)
#8D228A
(141,34,138)
#7E1F7B
(126,31,123)
#6F1C6C
(111,28,108)
#60195D
(96,25,93)
#51164E
(81,22,78)
#42133F
(66,19,63)
#331030
(51,16,48)
#240D21
(36,13,33)
#150A12
(21,10,18)
#000000
(0,0,0)

Tints of #AB28A8

#AB28A8
(171,40,168)
#B23BAF
(178,59,175)
#B94EB6
(185,78,182)
#C061BD
(192,97,189)
#C774C4
(199,116,196)
#CE87CB
(206,135,203)
#D59AD2
(213,154,210)
#DCADD9
(220,173,217)
#E3C0E0
(227,192,224)
#EAD3E7
(234,211,231)
#F1E6EE
(241,230,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AB28A8 color. Also use rgb(171,40,168) instead hex code.

Text Font Color

.myTextColor { color: #AB28A8; }

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

This text font color is #AB28A8.


Background Color

.myBgColor { background-color: #AB28A8; }

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

This div background color is #AB28A8.


Border color

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

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

This div border color is #AB28A8.


Opacity

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

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

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

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

This text has shadow with #AB28A8 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AB28A8 on black background.


Color preview on white background

This text has color #AB28A8 on white background.



Black color preview on #AB28A8 background

This text has black color on #AB28A8 background.


White color preview on #AB28A8 background

This text has white color on #AB28A8 background.