COLOR #8A6A9B

HEX: #8A6A9B
RGB: (138,106,155)

Color info

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

RGB color model

#8A6A9B color RGB value is (138,106,155).

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

RGB channels and saturation

R 138 of 255 = 54%
G 106 of 255 = 42%
B 155 of 255 = 61%

138
106
155

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

Portions of RGB colors in percentages

R + G + B =
138 + 106 + 155 = 399 (100%)
R 138 of 399 ~ 34.59%
G 106 of 399 ~ 26.57%
B 155 of 399 ~ 38.85%

%34.59
%26.57
%38.85

CMYK color model

#8A6A9B color CMYK value is (11,32,0,39).

  • cyan value is 10.97%
  • magenta value is 31.61%
  • yellow value is 0.00%
  • key color value is 39.22%
CMYK:
(11,32,0,39)
C11M32Y0K39 
(11%,32%,0%,39%)
(0.11/0.32/0.00/0.39)	

CMYK percentages

%10.97
%31.61
%0
%39.22

Codes

Color #8A6A9B in popluar color models

8A6A9B
RGB138106155
HSL279°19.68%51.18%
HSB/HSV279°31.61%60.78%
CMYK10.97%31.61%0.00%
39.22%

Color #8A6A9B in popluar number systems.

HEX8A6A9B
Decimal138106155
Binary10001010110101010011011
Octal212152233

Shades and tints

Shades of #8A6A9B

#8A6A9B
(138,106,155)
#7E618D
(126,97,141)
#72587F
(114,88,127)
#664F71
(102,79,113)
#5A4663
(90,70,99)
#4E3D55
(78,61,85)
#423447
(66,52,71)
#362B39
(54,43,57)
#2A222B
(42,34,43)
#1E191D
(30,25,29)
#12100F
(18,16,15)
#000000
(0,0,0)

Tints of #8A6A9B

#8A6A9B
(138,106,155)
#9477A4
(148,119,164)
#9E84AD
(158,132,173)
#A891B6
(168,145,182)
#B29EBF
(178,158,191)
#BCABC8
(188,171,200)
#C6B8D1
(198,184,209)
#D0C5DA
(208,197,218)
#DAD2E3
(218,210,227)
#E4DFEC
(228,223,236)
#EEECF5
(238,236,245)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A6A9B; }

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

This text font color is #8A6A9B.


Background Color

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

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

This div background color is #8A6A9B.


Border color

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

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

This div border color is #8A6A9B.


Opacity

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

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

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

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

This text has shadow with #8A6A9B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A6A9B on black background.


Color preview on white background

This text has color #8A6A9B on white background.



Black color preview on #8A6A9B background

This text has black color on #8A6A9B background.


White color preview on #8A6A9B background

This text has white color on #8A6A9B background.