COLOR #8A6F8A

HEX: #8A6F8A
RGB: (138,111,138)

Color info

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

RGB color model

#8A6F8A color RGB value is (138,111,138).

  • red value is 138;
  • green value is 111;
  • blue value is 138.
RGB:
(138,111,138)
(54%,44%,54%)

RGB channels and saturation

R 138 of 255 = 54%
G 111 of 255 = 44%
B 138 of 255 = 54%

138
111
138

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

Portions of RGB colors in percentages

R + G + B =
138 + 111 + 138 = 387 (100%)
R 138 of 387 ~ 35.66%
G 111 of 387 ~ 28.68%
B 138 of 387 ~ 35.66%

%35.66
%28.68
%35.66

CMYK color model

#8A6F8A color CMYK value is (0,20,0,46).

  • cyan value is 0.00%
  • magenta value is 19.57%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(0,20,0,46)
C0M20Y0K46 
(0%,20%,0%,46%)
(0.00/0.20/0.00/0.46)	

CMYK percentages

%0
%19.57
%0
%45.88

Codes

Color #8A6F8A in popluar color models

8A6F8A
RGB138111138
HSL300°10.84%48.82%
HSB/HSV300°19.57%54.12%
CMYK0.00%19.57%0.00%
45.88%

Color #8A6F8A in popluar number systems.

HEX8A6F8A
Decimal138111138
Binary10001010110111110001010
Octal212157212

Shades and tints

Shades of #8A6F8A

#8A6F8A
(138,111,138)
#7E657E
(126,101,126)
#725B72
(114,91,114)
#665166
(102,81,102)
#5A475A
(90,71,90)
#4E3D4E
(78,61,78)
#423342
(66,51,66)
#362936
(54,41,54)
#2A1F2A
(42,31,42)
#1E151E
(30,21,30)
#120B12
(18,11,18)
#000000
(0,0,0)

Tints of #8A6F8A

#8A6F8A
(138,111,138)
#947C94
(148,124,148)
#9E899E
(158,137,158)
#A896A8
(168,150,168)
#B2A3B2
(178,163,178)
#BCB0BC
(188,176,188)
#C6BDC6
(198,189,198)
#D0CAD0
(208,202,208)
#DAD7DA
(218,215,218)
#E4E4E4
(228,228,228)
#EEF1EE
(238,241,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A6F8A; }

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

This text font color is #8A6F8A.


Background Color

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

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

This div background color is #8A6F8A.


Border color

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

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

This div border color is #8A6F8A.


Opacity

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

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

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

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

This text has shadow with #8A6F8A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A6F8A on black background.


Color preview on white background

This text has color #8A6F8A on white background.



Black color preview on #8A6F8A background

This text has black color on #8A6F8A background.


White color preview on #8A6F8A background

This text has white color on #8A6F8A background.