COLOR #8A7B9F

HEX: #8A7B9F
RGB: (138,123,159)

Color info

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

RGB color model

#8A7B9F color RGB value is (138,123,159).

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

RGB channels and saturation

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

138
123
159

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

Portions of RGB colors in percentages

R + G + B =
138 + 123 + 159 = 420 (100%)
R 138 of 420 ~ 32.86%
G 123 of 420 ~ 29.29%
B 159 of 420 ~ 37.86%

%32.86
%29.29
%37.86

CMYK color model

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

  • cyan value is 13.21%
  • magenta value is 22.64%
  • 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
%22.64
%0
%37.65

Codes

Color #8A7B9F in popluar color models

8A7B9F
RGB138123159
HSL265°15.79%55.29%
HSB/HSV265°22.64%62.35%
CMYK13.21%22.64%0.00%
37.65%

Color #8A7B9F in popluar number systems.

HEX8A7B9F
Decimal138123159
Binary10001010111101110011111
Octal212173237

Shades and tints

Shades of #8A7B9F

#8A7B9F
(138,123,159)
#7E7091
(126,112,145)
#726583
(114,101,131)
#665A75
(102,90,117)
#5A4F67
(90,79,103)
#4E4459
(78,68,89)
#42394B
(66,57,75)
#362E3D
(54,46,61)
#2A232F
(42,35,47)
#1E1821
(30,24,33)
#120D13
(18,13,19)
#000000
(0,0,0)

Tints of #8A7B9F

#8A7B9F
(138,123,159)
#9487A7
(148,135,167)
#9E93AF
(158,147,175)
#A89FB7
(168,159,183)
#B2ABBF
(178,171,191)
#BCB7C7
(188,183,199)
#C6C3CF
(198,195,207)
#D0CFD7
(208,207,215)
#DADBDF
(218,219,223)
#E4E7E7
(228,231,231)
#EEF3EF
(238,243,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A7B9F; }

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

This text font color is #8A7B9F.


Background Color

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

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

This div background color is #8A7B9F.


Border color

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

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

This div border color is #8A7B9F.


Opacity

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

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

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

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

This text has shadow with #8A7B9F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A7B9F on black background.


Color preview on white background

This text has color #8A7B9F on white background.



Black color preview on #8A7B9F background

This text has black color on #8A7B9F background.


White color preview on #8A7B9F background

This text has white color on #8A7B9F background.