COLOR #8A5178

HEX: #8A5178 RGB: (138,81,120)

Color info

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

RGB color model

#8A5178 color RGB value is (138,81,120).

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

RGB channels and saturation

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

138
81
120

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

Portions of RGB colors in percentages

R + G + B = 138 + 81 + 120 = 339 (100%)
R 138 of 339 ~ 40.71%
G 81 of 339 ~ 23.89%
B 120 of 339 ~ 35.4'%

%40.71
%23.89
%35.4

CMYK color model

#8A5178 color CMYK value is (0,41,13,46).

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

CMYK: (0,41,13,46)
C0M41Y13K46 (0%, 41%, 13%, 46%)
(0.00 / 0.41 / 0.13 / 0.46)

CMYK percentages

%0
%41.3
%13.04
%45.88

Codes

Color #8A5178 in popluar color models

8A 51 78
RGB 138 81 120
HSL 319° 26.03% 42.94%
HSB/HSV 319° 41.30% 54.12%
CMYK 0.00% 41.30% 13.04%
45.88%

Color #8A5178 in popluar number systems.

HEX 8A 51 78
Decimal 138 81 120
Binary 10001010 1010001 1111000
Octal 212 121 170

Shades and tints

Shades of #8A5178

#8A5178
(138,81,120)
#7E4A6E
(126,74,110)
#724364
(114,67,100)
#663C5A
(102,60,90)
#5A3550
(90,53,80)
#4E2E46
(78,46,70)
#42273C
(66,39,60)
#362032
(54,32,50)
#2A1928
(42,25,40)
#1E121E
(30,18,30)
#120B14
(18,11,20)
#000000
(0,0,0)

Tints of #8A5178

#8A5178
(138,81,120)
#946084
(148,96,132)
#9E6F90
(158,111,144)
#A87E9C
(168,126,156)
#B28DA8
(178,141,168)
#BC9CB4
(188,156,180)
#C6ABC0
(198,171,192)
#D0BACC
(208,186,204)
#DAC9D8
(218,201,216)
#E4D8E4
(228,216,228)
#EEE7F0
(238,231,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A5178; }

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

This text font color is #8A5178.

Background Color

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

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

This div background color is #8A5178.

Border color

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

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

This div border color is #8A5178.

Opacity

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

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

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

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

This text has shadow with #8A5178 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #8A5178.

Preview

Color preview on black background

This text has color #8A5178 on black background.


Color preview on white background

This text has color #8A5178 on white background.


Black color preview on #8A5178 background

This text has black color on #8A5178 background.


White color preview on #8A5178 background

This text has white color on #8A5178 background.


Related colors

Complementary color

Complementary color for #hex is #75AE87.


I love getcolorcode.com

Triadic colors

1 #788A51 and #51788A with #8A5178 are triadic colors.

2 #78518A and #518A78 with #8A5178 are triadic colors.