COLOR #8A7F8B

HEX: #8A7F8B
RGB: (138,127,139)

Color info

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

RGB color model

#8A7F8B color RGB value is (138,127,139).

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

RGB channels and saturation

R 138 of 255 = 54%
G 127 of 255 = 50%
B 139 of 255 = 55%

138
127
139

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

Portions of RGB colors in percentages

R + G + B =
138 + 127 + 139 = 404 (100%)
R 138 of 404 ~ 34.16%
G 127 of 404 ~ 31.44%
B 139 of 404 ~ 34.41%

%34.16
%31.44
%34.41

CMYK color model

#8A7F8B color CMYK value is (1,9,0,45).

  • cyan value is 0.72%
  • magenta value is 8.63%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK: (1,9,0,45) C1M9Y0K45 (1%,9%,0%,45%) (0.01/0.09/0.00/0.45)

CMYK percentages

%0.72
%8.63
%0
%45.49

Codes

Color #8A7F8B in popluar color models

8A7F8B
RGB138127139
HSL295°4.92%52.16%
HSB/HSV295°8.63%54.51%
CMYK0.72%8.63%0.00%
45.49%

Color #8A7F8B in popluar number systems.

HEX8A7F8B
Decimal138127139
Binary10001010111111110001011
Octal212177213

Shades and tints

Shades of #8A7F8B

#8A7F8B
(138,127,139)
#7E747F
(126,116,127)
#726973
(114,105,115)
#665E67
(102,94,103)
#5A535B
(90,83,91)
#4E484F
(78,72,79)
#423D43
(66,61,67)
#363237
(54,50,55)
#2A272B
(42,39,43)
#1E1C1F
(30,28,31)
#121113
(18,17,19)
#000000
(0,0,0)

Tints of #8A7F8B

#8A7F8B
(138,127,139)
#948A95
(148,138,149)
#9E959F
(158,149,159)
#A8A0A9
(168,160,169)
#B2ABB3
(178,171,179)
#BCB6BD
(188,182,189)
#C6C1C7
(198,193,199)
#D0CCD1
(208,204,209)
#DAD7DB
(218,215,219)
#E4E2E5
(228,226,229)
#EEEDEF
(238,237,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A7F8B; }

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

This text font color is #8A7F8B.


Background Color

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

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

This div background color is #8A7F8B.


Border color

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

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

This div border color is #8A7F8B.


Opacity

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

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

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

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

This text has shadow with #8A7F8B color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #8A7F8B on black background.


Color preview on white background

This text has color #8A7F8B on white background.



Black color preview on #8A7F8B background

This text has black color on #8A7F8B background.


White color preview on #8A7F8B background

This text has white color on #8A7F8B background.