COLOR #8A7A8C

HEX: #8A7A8C
RGB: (138,122,140)

Color info

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

RGB color model

#8A7A8C color RGB value is (138,122,140).

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

RGB channels and saturation

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

138
122
140

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

Portions of RGB colors in percentages

R + G + B =
138 + 122 + 140 = 400 (100%)
R 138 of 400 ~ 34.5%
G 122 of 400 ~ 30.5%
B 140 of 400 ~ 35%

%34.5
%30.5
%35

CMYK color model

#8A7A8C color CMYK value is (1,13,0,45).

  • cyan value is 1.43%
  • magenta value is 12.86%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(1,13,0,45)
C1M13Y0K45 
(1%,13%,0%,45%)
(0.01/0.13/0.00/0.45)	

CMYK percentages

%1.43
%12.86
%0
%45.1

Codes

Color #8A7A8C in popluar color models

8A7A8C
RGB138122140
HSL293°7.26%51.37%
HSB/HSV293°12.86%54.90%
CMYK1.43%12.86%0.00%
45.10%

Color #8A7A8C in popluar number systems.

HEX8A7A8C
Decimal138122140
Binary10001010111101010001100
Octal212172214

Shades and tints

Shades of #8A7A8C

#8A7A8C
(138,122,140)
#7E6F80
(126,111,128)
#726474
(114,100,116)
#665968
(102,89,104)
#5A4E5C
(90,78,92)
#4E4350
(78,67,80)
#423844
(66,56,68)
#362D38
(54,45,56)
#2A222C
(42,34,44)
#1E1720
(30,23,32)
#120C14
(18,12,20)
#000000
(0,0,0)

Tints of #8A7A8C

#8A7A8C
(138,122,140)
#948696
(148,134,150)
#9E92A0
(158,146,160)
#A89EAA
(168,158,170)
#B2AAB4
(178,170,180)
#BCB6BE
(188,182,190)
#C6C2C8
(198,194,200)
#D0CED2
(208,206,210)
#DADADC
(218,218,220)
#E4E6E6
(228,230,230)
#EEF2F0
(238,242,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A7A8C; }

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

This text font color is #8A7A8C.


Background Color

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

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

This div background color is #8A7A8C.


Border color

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

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

This div border color is #8A7A8C.


Opacity

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

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

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

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

This text has shadow with #8A7A8C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A7A8C on black background.


Color preview on white background

This text has color #8A7A8C on white background.



Black color preview on #8A7A8C background

This text has black color on #8A7A8C background.


White color preview on #8A7A8C background

This text has white color on #8A7A8C background.