COLOR #AB42C1

HEX: #AB42C1
RGB: (171,66,193)

Color info

#AB42C1 contains mainly red and blue colors. Web safe color of #AB42C1 is #9933CC (or #93C).

RGB color model

#AB42C1 color RGB value is (171,66,193).

  • red value is 171;
  • green value is 66;
  • blue value is 193.
RGB:
(171,66,193)
(67%,26%,76%)

RGB channels and saturation

R 171 of 255 = 67%
G 66 of 255 = 26%
B 193 of 255 = 76%

171
66
193

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

Portions of RGB colors in percentages

R + G + B =
171 + 66 + 193 = 430 (100%)
R 171 of 430 ~ 39.77%
G 66 of 430 ~ 15.35%
B 193 of 430 ~ 44.88%

%39.77
%15.35
%44.88

CMYK color model

#AB42C1 color CMYK value is (11,66,0,24).

  • cyan value is 11.40%
  • magenta value is 65.80%
  • yellow value is 0.00%
  • key color value is 24.31%
CMYK:
(11,66,0,24)
C11M66Y0K24 
(11%,66%,0%,24%)
(0.11/0.66/0.00/0.24)	

CMYK percentages

%11.4
%65.8
%0
%24.31

Codes

Color #AB42C1 in popluar color models

AB42C1
RGB17166193
HSL290°50.60%50.78%
HSB/HSV290°65.80%75.69%
CMYK11.40%65.80%0.00%
24.31%

Color #AB42C1 in popluar number systems.

HEXAB42C1
Decimal17166193
Binary10101011100001011000001
Octal253102301

Shades and tints

Shades of #AB42C1

#AB42C1
(171,66,193)
#9C3CB0
(156,60,176)
#8D369F
(141,54,159)
#7E308E
(126,48,142)
#6F2A7D
(111,42,125)
#60246C
(96,36,108)
#511E5B
(81,30,91)
#42184A
(66,24,74)
#331239
(51,18,57)
#240C28
(36,12,40)
#150617
(21,6,23)
#000000
(0,0,0)

Tints of #AB42C1

#AB42C1
(171,66,193)
#B253C6
(178,83,198)
#B964CB
(185,100,203)
#C075D0
(192,117,208)
#C786D5
(199,134,213)
#CE97DA
(206,151,218)
#D5A8DF
(213,168,223)
#DCB9E4
(220,185,228)
#E3CAE9
(227,202,233)
#EADBEE
(234,219,238)
#F1ECF3
(241,236,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AB42C1 color. Also use rgb(171,66,193) instead hex code.

Text Font Color

.myTextColor { color: #AB42C1; }

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

This text font color is #AB42C1.


Background Color

.myBgColor { background-color: #AB42C1; }

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

This div background color is #AB42C1.


Border color

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

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

This div border color is #AB42C1.


Opacity

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

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

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

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

This text has shadow with #AB42C1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AB42C1 on black background.


Color preview on white background

This text has color #AB42C1 on white background.



Black color preview on #AB42C1 background

This text has black color on #AB42C1 background.


White color preview on #AB42C1 background

This text has white color on #AB42C1 background.