COLOR #8A5179

HEX: #8A5179 RGB: (138,81,121)

Color info

#8A5179 contains red, green and blue colors in about the same proportion. Web safe color of #8A5179 is #996666 (or #966).

RGB color model

#8A5179 color RGB value is (138,81,121).

RGB: (138,81,121) (54%, 32%, 47%)

RGB channels and saturation

R 138 of 255 = 54%
G 81 of 255 = 32%
B 121 of 255 = 47%

138
81
121

R + G + B ~ 44%. #8A5179 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 138 + 81 + 121 = 340 (100%)
R 138 of 340 ~ 40.59%
G 81 of 340 ~ 23.82%
B 121 of 340 ~ 35.59'%

%40.59
%23.82
%35.59

CMYK color model

#8A5179 color CMYK value is (0,41,12,46).

  • cyan value is 0.00%
  • magenta value is 41.30%
  • yellow value is 12.32%
  • key color value is 45.88%

CMYK: (0,41,12,46)
C0M41Y12K46 (0%, 41%, 12%, 46%)
(0.00 / 0.41 / 0.12 / 0.46)

CMYK percentages

%0
%41.3
%12.32
%45.88

Codes

Color #8A5179 in popluar color models

8A 51 79
RGB 138 81 121
HSL 318° 26.03% 42.94%
HSB/HSV 318° 41.30% 54.12%
CMYK 0.00% 41.30% 12.32%
45.88%

Color #8A5179 in popluar number systems.

HEX 8A 51 79
Decimal 138 81 121
Binary 10001010 1010001 1111001
Octal 212 121 171

Shades and tints

Shades of #8A5179

#8A5179
(138,81,121)
#7E4A6E
(126,74,110)
#724363
(114,67,99)
#663C58
(102,60,88)
#5A354D
(90,53,77)
#4E2E42
(78,46,66)
#422737
(66,39,55)
#36202C
(54,32,44)
#2A1921
(42,25,33)
#1E1216
(30,18,22)
#120B0B
(18,11,11)
#000000
(0,0,0)

Tints of #8A5179

#8A5179
(138,81,121)
#946085
(148,96,133)
#9E6F91
(158,111,145)
#A87E9D
(168,126,157)
#B28DA9
(178,141,169)
#BC9CB5
(188,156,181)
#C6ABC1
(198,171,193)
#D0BACD
(208,186,205)
#DAC9D9
(218,201,217)
#E4D8E5
(228,216,229)
#EEE7F1
(238,231,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A5179 color. Also use rgb(138,81,121) instead hex code.

Text Font Color

.myTextColor { color: #8A5179; }

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

This text font color is #8A5179.

Background Color

.myBgColor { background-color: #8A5179; }

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

This div background color is #8A5179.

Border color

.myBorderColor { border: 1px solid #8A5179; }

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

This div border color is #8A5179.

Opacity

.myOpacity80 { color: #8A5179; opacity: 0.8; }

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

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

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

This text has shadow with #8A5179 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #8A5179.

Preview

Color preview on black background

This text has color #8A5179 on black background.


Color preview on white background

This text has color #8A5179 on white background.


Black color preview on #8A5179 background

This text has black color on #8A5179 background.


White color preview on #8A5179 background

This text has white color on #8A5179 background.


Related colors

Complementary color

Complementary color for #hex is #75AE86.


I love getcolorcode.com

Triadic colors

1 #798A51 and #51798A with #8A5179 are triadic colors.

2 #79518A and #518A79 with #8A5179 are triadic colors.