COLOR #AB5198

HEX: #AB5198 RGB: (171,81,152)

Color info

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

RGB color model

#AB5198 color RGB value is (171,81,152).

RGB: (171,81,152) (67%, 32%, 60%)

RGB channels and saturation

R 171 of 255 = 67%
G 81 of 255 = 32%
B 152 of 255 = 60%

171
81
152

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

Portions of RGB colors in percentages

R + G + B = 171 + 81 + 152 = 404 (100%)
R 171 of 404 ~ 42.33%
G 81 of 404 ~ 20.05%
B 152 of 404 ~ 37.62'%

%42.33
%20.05
%37.62

CMYK color model

#AB5198 color CMYK value is (0,53,11,33).

  • cyan value is 0.00%
  • magenta value is 52.63%
  • yellow value is 11.11%
  • key color value is 32.94%

CMYK: (0,53,11,33)
C0M53Y11K33 (0%, 53%, 11%, 33%)
(0.00 / 0.53 / 0.11 / 0.33)

CMYK percentages

%0
%52.63
%11.11
%32.94

Codes

Color #AB5198 in popluar color models

AB 51 98
RGB 171 81 152
HSL 313° 35.71% 49.41%
HSB/HSV 313° 52.63% 67.06%
CMYK 0.00% 52.63% 11.11%
32.94%

Color #AB5198 in popluar number systems.

HEX AB 51 98
Decimal 171 81 152
Binary 10101011 1010001 10011000
Octal 253 121 230

Shades and tints

Shades of #AB5198

#AB5198
(171,81,152)
#9C4A8B
(156,74,139)
#8D437E
(141,67,126)
#7E3C71
(126,60,113)
#6F3564
(111,53,100)
#602E57
(96,46,87)
#51274A
(81,39,74)
#42203D
(66,32,61)
#331930
(51,25,48)
#241223
(36,18,35)
#150B16
(21,11,22)
#000000
(0,0,0)

Tints of #AB5198

#AB5198
(171,81,152)
#B260A1
(178,96,161)
#B96FAA
(185,111,170)
#C07EB3
(192,126,179)
#C78DBC
(199,141,188)
#CE9CC5
(206,156,197)
#D5ABCE
(213,171,206)
#DCBAD7
(220,186,215)
#E3C9E0
(227,201,224)
#EAD8E9
(234,216,233)
#F1E7F2
(241,231,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AB5198; }

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

This text font color is #AB5198.

Background Color

.myBgColor { background-color: #AB5198; }

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

This div background color is #AB5198.

Border color

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

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

This div border color is #AB5198.

Opacity

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

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

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

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

This text has shadow with #AB5198 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #AB5198.

Preview

Color preview on black background

This text has color #AB5198 on black background.


Color preview on white background

This text has color #AB5198 on white background.


Black color preview on #AB5198 background

This text has black color on #AB5198 background.


White color preview on #AB5198 background

This text has white color on #AB5198 background.


Related colors

Complementary color

Complementary color for #hex is #54AE67.


I love getcolorcode.com

Triadic colors

1 #98AB51 and #5198AB with #AB5198 are triadic colors.

2 #9851AB and #51AB98 with #AB5198 are triadic colors.