COLOR #8A7A9E

HEX: #8A7A9E
RGB: (138,122,158)

Color info

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

RGB color model

#8A7A9E color RGB value is (138,122,158).

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

RGB channels and saturation

R 138 of 255 = 54%
G 122 of 255 = 48%
B 158 of 255 = 62%

138
122
158

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

Portions of RGB colors in percentages

R + G + B =
138 + 122 + 158 = 418 (100%)
R 138 of 418 ~ 33.01%
G 122 of 418 ~ 29.19%
B 158 of 418 ~ 37.8%

%33.01
%29.19
%37.8

CMYK color model

#8A7A9E color CMYK value is (13,23,0,38).

  • cyan value is 12.66%
  • magenta value is 22.78%
  • yellow value is 0.00%
  • key color value is 38.04%
CMYK:
(13,23,0,38)
C13M23Y0K38 
(13%,23%,0%,38%)
(0.13/0.23/0.00/0.38)	

CMYK percentages

%12.66
%22.78
%0
%38.04

Codes

Color #8A7A9E in popluar color models

8A7A9E
RGB138122158
HSL267°15.65%54.90%
HSB/HSV267°22.78%61.96%
CMYK12.66%22.78%0.00%
38.04%

Color #8A7A9E in popluar number systems.

HEX8A7A9E
Decimal138122158
Binary10001010111101010011110
Octal212172236

Shades and tints

Shades of #8A7A9E

#8A7A9E
(138,122,158)
#7E6F90
(126,111,144)
#726482
(114,100,130)
#665974
(102,89,116)
#5A4E66
(90,78,102)
#4E4358
(78,67,88)
#42384A
(66,56,74)
#362D3C
(54,45,60)
#2A222E
(42,34,46)
#1E1720
(30,23,32)
#120C12
(18,12,18)
#000000
(0,0,0)

Tints of #8A7A9E

#8A7A9E
(138,122,158)
#9486A6
(148,134,166)
#9E92AE
(158,146,174)
#A89EB6
(168,158,182)
#B2AABE
(178,170,190)
#BCB6C6
(188,182,198)
#C6C2CE
(198,194,206)
#D0CED6
(208,206,214)
#DADADE
(218,218,222)
#E4E6E6
(228,230,230)
#EEF2EE
(238,242,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A7A9E; }

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

This text font color is #8A7A9E.


Background Color

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

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

This div background color is #8A7A9E.


Border color

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

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

This div border color is #8A7A9E.


Opacity

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

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

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

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

This text has shadow with #8A7A9E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A7A9E on black background.


Color preview on white background

This text has color #8A7A9E on white background.



Black color preview on #8A7A9E background

This text has black color on #8A7A9E background.


White color preview on #8A7A9E background

This text has white color on #8A7A9E background.