COLOR #8A7B8C

HEX: #8A7B8C
RGB: (138,123,140)

Color info

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

RGB color model

#8A7B8C color RGB value is (138,123,140).

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

RGB channels and saturation

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

138
123
140

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

Portions of RGB colors in percentages

R + G + B =
138 + 123 + 140 = 401 (100%)
R 138 of 401 ~ 34.41%
G 123 of 401 ~ 30.67%
B 140 of 401 ~ 34.91%

%34.41
%30.67
%34.91

CMYK color model

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

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

CMYK percentages

%1.43
%12.14
%0
%45.1

Codes

Color #8A7B8C in popluar color models

8A7B8C
RGB138123140
HSL293°6.88%51.57%
HSB/HSV293°12.14%54.90%
CMYK1.43%12.14%0.00%
45.10%

Color #8A7B8C in popluar number systems.

HEX8A7B8C
Decimal138123140
Binary10001010111101110001100
Octal212173214

Shades and tints

Shades of #8A7B8C

#8A7B8C
(138,123,140)
#7E7080
(126,112,128)
#726574
(114,101,116)
#665A68
(102,90,104)
#5A4F5C
(90,79,92)
#4E4450
(78,68,80)
#423944
(66,57,68)
#362E38
(54,46,56)
#2A232C
(42,35,44)
#1E1820
(30,24,32)
#120D14
(18,13,20)
#000000
(0,0,0)

Tints of #8A7B8C

#8A7B8C
(138,123,140)
#948796
(148,135,150)
#9E93A0
(158,147,160)
#A89FAA
(168,159,170)
#B2ABB4
(178,171,180)
#BCB7BE
(188,183,190)
#C6C3C8
(198,195,200)
#D0CFD2
(208,207,210)
#DADBDC
(218,219,220)
#E4E7E6
(228,231,230)
#EEF3F0
(238,243,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A7B8C; }

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

This text font color is #8A7B8C.


Background Color

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

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

This div background color is #8A7B8C.


Border color

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

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

This div border color is #8A7B8C.


Opacity

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

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

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

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

This text has shadow with #8A7B8C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A7B8C on black background.


Color preview on white background

This text has color #8A7B8C on white background.



Black color preview on #8A7B8C background

This text has black color on #8A7B8C background.


White color preview on #8A7B8C background

This text has white color on #8A7B8C background.