COLOR #8A5C8B

HEX: #8A5C8B
RGB: (138,92,139)

Color info

#8A5C8B contains red, green and blue colors in about the same proportion. Web safe color of #8A5C8B is #996699 (or #969).

RGB color model

#8A5C8B color RGB value is (138,92,139).

  • red value is 138;
  • green value is 92;
  • blue value is 139.
RGB:
(138,92,139)
(54%,36%,55%)

RGB channels and saturation

R 138 of 255 = 54%
G 92 of 255 = 36%
B 139 of 255 = 55%

138
92
139

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

Portions of RGB colors in percentages

R + G + B =
138 + 92 + 139 = 369 (100%)
R 138 of 369 ~ 37.4%
G 92 of 369 ~ 24.93%
B 139 of 369 ~ 37.67%

%37.4
%24.93
%37.67

CMYK color model

#8A5C8B color CMYK value is (1,34,0,45).

  • cyan value is 0.72%
  • magenta value is 33.81%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK:
(1,34,0,45)
C1M34Y0K45 
(1%,34%,0%,45%)
(0.01/0.34/0.00/0.45)	

CMYK percentages

%0.72
%33.81
%0
%45.49

Codes

Color #8A5C8B in popluar color models

8A5C8B
RGB13892139
HSL299°20.35%45.29%
HSB/HSV299°33.81%54.51%
CMYK0.72%33.81%0.00%
45.49%

Color #8A5C8B in popluar number systems.

HEX8A5C8B
Decimal13892139
Binary10001010101110010001011
Octal212134213

Shades and tints

Shades of #8A5C8B

#8A5C8B
(138,92,139)
#7E547F
(126,84,127)
#724C73
(114,76,115)
#664467
(102,68,103)
#5A3C5B
(90,60,91)
#4E344F
(78,52,79)
#422C43
(66,44,67)
#362437
(54,36,55)
#2A1C2B
(42,28,43)
#1E141F
(30,20,31)
#120C13
(18,12,19)
#000000
(0,0,0)

Tints of #8A5C8B

#8A5C8B
(138,92,139)
#946A95
(148,106,149)
#9E789F
(158,120,159)
#A886A9
(168,134,169)
#B294B3
(178,148,179)
#BCA2BD
(188,162,189)
#C6B0C7
(198,176,199)
#D0BED1
(208,190,209)
#DACCDB
(218,204,219)
#E4DAE5
(228,218,229)
#EEE8EF
(238,232,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A5C8B color. Also use rgb(138,92,139) instead hex code.

Text Font Color

.myTextColor { color: #8A5C8B; }

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

This text font color is #8A5C8B.


Background Color

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

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

This div background color is #8A5C8B.


Border color

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

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

This div border color is #8A5C8B.


Opacity

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

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

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

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

This text has shadow with #8A5C8B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A5C8B on black background.


Color preview on white background

This text has color #8A5C8B on white background.



Black color preview on #8A5C8B background

This text has black color on #8A5C8B background.


White color preview on #8A5C8B background

This text has white color on #8A5C8B background.