COLOR #8A6A8E

HEX: #8A6A8E
RGB: (138,106,142)

Color info

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

RGB color model

#8A6A8E color RGB value is (138,106,142).

  • red value is 138;
  • green value is 106;
  • blue value is 142.
RGB:
(138,106,142)
(54%,42%,56%)

RGB channels and saturation

R 138 of 255 = 54%
G 106 of 255 = 42%
B 142 of 255 = 56%

138
106
142

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

Portions of RGB colors in percentages

R + G + B =
138 + 106 + 142 = 386 (100%)
R 138 of 386 ~ 35.75%
G 106 of 386 ~ 27.46%
B 142 of 386 ~ 36.79%

%35.75
%27.46
%36.79

CMYK color model

#8A6A8E color CMYK value is (3,25,0,44).

  • cyan value is 2.82%
  • magenta value is 25.35%
  • yellow value is 0.00%
  • key color value is 44.31%
CMYK:
(3,25,0,44)
C3M25Y0K44 
(3%,25%,0%,44%)
(0.03/0.25/0.00/0.44)	

CMYK percentages

%2.82
%25.35
%0
%44.31

Codes

Color #8A6A8E in popluar color models

8A6A8E
RGB138106142
HSL293°14.52%48.63%
HSB/HSV293°25.35%55.69%
CMYK2.82%25.35%0.00%
44.31%

Color #8A6A8E in popluar number systems.

HEX8A6A8E
Decimal138106142
Binary10001010110101010001110
Octal212152216

Shades and tints

Shades of #8A6A8E

#8A6A8E
(138,106,142)
#7E6182
(126,97,130)
#725876
(114,88,118)
#664F6A
(102,79,106)
#5A465E
(90,70,94)
#4E3D52
(78,61,82)
#423446
(66,52,70)
#362B3A
(54,43,58)
#2A222E
(42,34,46)
#1E1922
(30,25,34)
#121016
(18,16,22)
#000000
(0,0,0)

Tints of #8A6A8E

#8A6A8E
(138,106,142)
#947798
(148,119,152)
#9E84A2
(158,132,162)
#A891AC
(168,145,172)
#B29EB6
(178,158,182)
#BCABC0
(188,171,192)
#C6B8CA
(198,184,202)
#D0C5D4
(208,197,212)
#DAD2DE
(218,210,222)
#E4DFE8
(228,223,232)
#EEECF2
(238,236,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A6A8E color. Also use rgb(138,106,142) instead hex code.

Text Font Color

.myTextColor { color: #8A6A8E; }

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

This text font color is #8A6A8E.


Background Color

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

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

This div background color is #8A6A8E.


Border color

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

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

This div border color is #8A6A8E.


Opacity

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

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

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

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

This text has shadow with #8A6A8E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A6A8E on black background.


Color preview on white background

This text has color #8A6A8E on white background.



Black color preview on #8A6A8E background

This text has black color on #8A6A8E background.


White color preview on #8A6A8E background

This text has white color on #8A6A8E background.