COLOR #8A7E8F

HEX: #8A7E8F
RGB: (138,126,143)

Color info

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

RGB color model

#8A7E8F color RGB value is (138,126,143).

  • red value is 138;
  • green value is 126;
  • blue value is 143.
RGB:
(138,126,143)
(54%,49%,56%)

RGB channels and saturation

R 138 of 255 = 54%
G 126 of 255 = 49%
B 143 of 255 = 56%

138
126
143

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

Portions of RGB colors in percentages

R + G + B =
138 + 126 + 143 = 407 (100%)
R 138 of 407 ~ 33.91%
G 126 of 407 ~ 30.96%
B 143 of 407 ~ 35.14%

%33.91
%30.96
%35.14

CMYK color model

#8A7E8F color CMYK value is (3,12,0,44).

  • cyan value is 3.50%
  • magenta value is 11.89%
  • yellow value is 0.00%
  • key color value is 43.92%
CMYK:
(3,12,0,44)
C3M12Y0K44 
(3%,12%,0%,44%)
(0.03/0.12/0.00/0.44)	

CMYK percentages

%3.5
%11.89
%0
%43.92

Codes

Color #8A7E8F in popluar color models

8A7E8F
RGB138126143
HSL282°7.05%52.75%
HSB/HSV282°11.89%56.08%
CMYK3.50%11.89%0.00%
43.92%

Color #8A7E8F in popluar number systems.

HEX8A7E8F
Decimal138126143
Binary10001010111111010001111
Octal212176217

Shades and tints

Shades of #8A7E8F

#8A7E8F
(138,126,143)
#7E7382
(126,115,130)
#726875
(114,104,117)
#665D68
(102,93,104)
#5A525B
(90,82,91)
#4E474E
(78,71,78)
#423C41
(66,60,65)
#363134
(54,49,52)
#2A2627
(42,38,39)
#1E1B1A
(30,27,26)
#12100D
(18,16,13)
#000000
(0,0,0)

Tints of #8A7E8F

#8A7E8F
(138,126,143)
#948999
(148,137,153)
#9E94A3
(158,148,163)
#A89FAD
(168,159,173)
#B2AAB7
(178,170,183)
#BCB5C1
(188,181,193)
#C6C0CB
(198,192,203)
#D0CBD5
(208,203,213)
#DAD6DF
(218,214,223)
#E4E1E9
(228,225,233)
#EEECF3
(238,236,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A7E8F color. Also use rgb(138,126,143) instead hex code.

Text Font Color

.myTextColor { color: #8A7E8F; }

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

This text font color is #8A7E8F.


Background Color

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

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

This div background color is #8A7E8F.


Border color

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

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

This div border color is #8A7E8F.


Opacity

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

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

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

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

This text has shadow with #8A7E8F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A7E8F on black background.


Color preview on white background

This text has color #8A7E8F on white background.



Black color preview on #8A7E8F background

This text has black color on #8A7E8F background.


White color preview on #8A7E8F background

This text has white color on #8A7E8F background.