COLOR #8A5B7F

HEX: #8A5B7F
RGB: (138,91,127)

Color info

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

RGB color model

#8A5B7F color RGB value is (138,91,127).

  • red value is 138;
  • green value is 91;
  • blue value is 127.
RGB:
(138,91,127)
(54%,36%,50%)

RGB channels and saturation

R 138 of 255 = 54%
G 91 of 255 = 36%
B 127 of 255 = 50%

138
91
127

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

Portions of RGB colors in percentages

R + G + B =
138 + 91 + 127 = 356 (100%)
R 138 of 356 ~ 38.76%
G 91 of 356 ~ 25.56%
B 127 of 356 ~ 35.67%

%38.76
%25.56
%35.67

CMYK color model

#8A5B7F color CMYK value is (0,34,8,46).

  • cyan value is 0.00%
  • magenta value is 34.06%
  • yellow value is 7.97%
  • key color value is 45.88%
CMYK:
(0,34,8,46)
C0M34Y8K46 
(0%,34%,8%,46%)
(0.00/0.34/0.08/0.46)	

CMYK percentages

%0
%34.06
%7.97
%45.88

Codes

Color #8A5B7F in popluar color models

8A5B7F
RGB13891127
HSL314°20.52%44.90%
HSB/HSV314°34.06%54.12%
CMYK0.00%34.06%7.97%
45.88%

Color #8A5B7F in popluar number systems.

HEX8A5B7F
Decimal13891127
Binary1000101010110111111111
Octal212133177

Shades and tints

Shades of #8A5B7F

#8A5B7F
(138,91,127)
#7E5374
(126,83,116)
#724B69
(114,75,105)
#66435E
(102,67,94)
#5A3B53
(90,59,83)
#4E3348
(78,51,72)
#422B3D
(66,43,61)
#362332
(54,35,50)
#2A1B27
(42,27,39)
#1E131C
(30,19,28)
#120B11
(18,11,17)
#000000
(0,0,0)

Tints of #8A5B7F

#8A5B7F
(138,91,127)
#94698A
(148,105,138)
#9E7795
(158,119,149)
#A885A0
(168,133,160)
#B293AB
(178,147,171)
#BCA1B6
(188,161,182)
#C6AFC1
(198,175,193)
#D0BDCC
(208,189,204)
#DACBD7
(218,203,215)
#E4D9E2
(228,217,226)
#EEE7ED
(238,231,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A5B7F color. Also use rgb(138,91,127) instead hex code.

Text Font Color

.myTextColor { color: #8A5B7F; }

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

This text font color is #8A5B7F.


Background Color

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

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

This div background color is #8A5B7F.


Border color

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

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

This div border color is #8A5B7F.


Opacity

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

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

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

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

This text has shadow with #8A5B7F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A5B7F on black background.


Color preview on white background

This text has color #8A5B7F on white background.



Black color preview on #8A5B7F background

This text has black color on #8A5B7F background.


White color preview on #8A5B7F background

This text has white color on #8A5B7F background.