COLOR #8A7A8B

HEX: #8A7A8B
RGB: (138,122,139)

Color info

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

RGB color model

#8A7A8B color RGB value is (138,122,139).

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

RGB channels and saturation

R 138 of 255 = 54%
G 122 of 255 = 48%
B 139 of 255 = 55%

138
122
139

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

Portions of RGB colors in percentages

R + G + B =
138 + 122 + 139 = 399 (100%)
R 138 of 399 ~ 34.59%
G 122 of 399 ~ 30.58%
B 139 of 399 ~ 34.84%

%34.59
%30.58
%34.84

CMYK color model

#8A7A8B color CMYK value is (1,12,0,45).

  • cyan value is 0.72%
  • magenta value is 12.23%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK:
(1,12,0,45)
C1M12Y0K45 
(1%,12%,0%,45%)
(0.01/0.12/0.00/0.45)	

CMYK percentages

%0.72
%12.23
%0
%45.49

Codes

Color #8A7A8B in popluar color models

8A7A8B
RGB138122139
HSL296°6.83%51.18%
HSB/HSV296°12.23%54.51%
CMYK0.72%12.23%0.00%
45.49%

Color #8A7A8B in popluar number systems.

HEX8A7A8B
Decimal138122139
Binary10001010111101010001011
Octal212172213

Shades and tints

Shades of #8A7A8B

#8A7A8B
(138,122,139)
#7E6F7F
(126,111,127)
#726473
(114,100,115)
#665967
(102,89,103)
#5A4E5B
(90,78,91)
#4E434F
(78,67,79)
#423843
(66,56,67)
#362D37
(54,45,55)
#2A222B
(42,34,43)
#1E171F
(30,23,31)
#120C13
(18,12,19)
#000000
(0,0,0)

Tints of #8A7A8B

#8A7A8B
(138,122,139)
#948695
(148,134,149)
#9E929F
(158,146,159)
#A89EA9
(168,158,169)
#B2AAB3
(178,170,179)
#BCB6BD
(188,182,189)
#C6C2C7
(198,194,199)
#D0CED1
(208,206,209)
#DADADB
(218,218,219)
#E4E6E5
(228,230,229)
#EEF2EF
(238,242,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A7A8B; }

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

This text font color is #8A7A8B.


Background Color

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

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

This div background color is #8A7A8B.


Border color

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

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

This div border color is #8A7A8B.


Opacity

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

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

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

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

This text has shadow with #8A7A8B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A7A8B on black background.


Color preview on white background

This text has color #8A7A8B on white background.



Black color preview on #8A7A8B background

This text has black color on #8A7A8B background.


White color preview on #8A7A8B background

This text has white color on #8A7A8B background.