COLOR #8A7A9F

HEX: #8A7A9F
RGB: (138,122,159)

Color info

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

RGB color model

#8A7A9F color RGB value is (138,122,159).

  • red value is 138;
  • green value is 122;
  • blue value is 159.
RGB:
(138,122,159)
(54%,48%,62%)

RGB channels and saturation

R 138 of 255 = 54%
G 122 of 255 = 48%
B 159 of 255 = 62%

138
122
159

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

Portions of RGB colors in percentages

R + G + B =
138 + 122 + 159 = 419 (100%)
R 138 of 419 ~ 32.94%
G 122 of 419 ~ 29.12%
B 159 of 419 ~ 37.95%

%32.94
%29.12
%37.95

CMYK color model

#8A7A9F color CMYK value is (13,23,0,38).

  • cyan value is 13.21%
  • magenta value is 23.27%
  • yellow value is 0.00%
  • key color value is 37.65%
CMYK:
(13,23,0,38)
C13M23Y0K38 
(13%,23%,0%,38%)
(0.13/0.23/0.00/0.38)	

CMYK percentages

%13.21
%23.27
%0
%37.65

Codes

Color #8A7A9F in popluar color models

8A7A9F
RGB138122159
HSL266°16.16%55.10%
HSB/HSV266°23.27%62.35%
CMYK13.21%23.27%0.00%
37.65%

Color #8A7A9F in popluar number systems.

HEX8A7A9F
Decimal138122159
Binary10001010111101010011111
Octal212172237

Shades and tints

Shades of #8A7A9F

#8A7A9F
(138,122,159)
#7E6F91
(126,111,145)
#726483
(114,100,131)
#665975
(102,89,117)
#5A4E67
(90,78,103)
#4E4359
(78,67,89)
#42384B
(66,56,75)
#362D3D
(54,45,61)
#2A222F
(42,34,47)
#1E1721
(30,23,33)
#120C13
(18,12,19)
#000000
(0,0,0)

Tints of #8A7A9F

#8A7A9F
(138,122,159)
#9486A7
(148,134,167)
#9E92AF
(158,146,175)
#A89EB7
(168,158,183)
#B2AABF
(178,170,191)
#BCB6C7
(188,182,199)
#C6C2CF
(198,194,207)
#D0CED7
(208,206,215)
#DADADF
(218,218,223)
#E4E6E7
(228,230,231)
#EEF2EF
(238,242,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A7A9F color. Also use rgb(138,122,159) instead hex code.

Text Font Color

.myTextColor { color: #8A7A9F; }

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

This text font color is #8A7A9F.


Background Color

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

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

This div background color is #8A7A9F.


Border color

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

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

This div border color is #8A7A9F.


Opacity

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

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

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

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

This text has shadow with #8A7A9F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A7A9F on black background.


Color preview on white background

This text has color #8A7A9F on white background.



Black color preview on #8A7A9F background

This text has black color on #8A7A9F background.


White color preview on #8A7A9F background

This text has white color on #8A7A9F background.