COLOR #8A6B8E

HEX: #8A6B8E
RGB: (138,107,142)

Color info

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

RGB color model

#8A6B8E color RGB value is (138,107,142).

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

RGB channels and saturation

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

138
107
142

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

Portions of RGB colors in percentages

R + G + B =
138 + 107 + 142 = 387 (100%)
R 138 of 387 ~ 35.66%
G 107 of 387 ~ 27.65%
B 142 of 387 ~ 36.69%

%35.66
%27.65
%36.69

CMYK color model

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

  • cyan value is 2.82%
  • magenta value is 24.65%
  • 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
%24.65
%0
%44.31

Codes

Color #8A6B8E in popluar color models

8A6B8E
RGB138107142
HSL293°14.06%48.82%
HSB/HSV293°24.65%55.69%
CMYK2.82%24.65%0.00%
44.31%

Color #8A6B8E in popluar number systems.

HEX8A6B8E
Decimal138107142
Binary10001010110101110001110
Octal212153216

Shades and tints

Shades of #8A6B8E

#8A6B8E
(138,107,142)
#7E6282
(126,98,130)
#725976
(114,89,118)
#66506A
(102,80,106)
#5A475E
(90,71,94)
#4E3E52
(78,62,82)
#423546
(66,53,70)
#362C3A
(54,44,58)
#2A232E
(42,35,46)
#1E1A22
(30,26,34)
#121116
(18,17,22)
#000000
(0,0,0)

Tints of #8A6B8E

#8A6B8E
(138,107,142)
#947898
(148,120,152)
#9E85A2
(158,133,162)
#A892AC
(168,146,172)
#B29FB6
(178,159,182)
#BCACC0
(188,172,192)
#C6B9CA
(198,185,202)
#D0C6D4
(208,198,212)
#DAD3DE
(218,211,222)
#E4E0E8
(228,224,232)
#EEEDF2
(238,237,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A6B8E; }

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

This text font color is #8A6B8E.


Background Color

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

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

This div background color is #8A6B8E.


Border color

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

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

This div border color is #8A6B8E.


Opacity

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

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

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

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

This text has shadow with #8A6B8E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A6B8E on black background.


Color preview on white background

This text has color #8A6B8E on white background.



Black color preview on #8A6B8E background

This text has black color on #8A6B8E background.


White color preview on #8A6B8E background

This text has white color on #8A6B8E background.