COLOR #8B46A6

HEX: #8B46A6
RGB: (139,70,166)

Color info

#8B46A6 contains mainly red and blue colors. Web safe color of #8B46A6 is #993399 (or #939).

RGB color model

#8B46A6 color RGB value is (139,70,166).

  • red value is 139;
  • green value is 70;
  • blue value is 166.
RGB:
(139,70,166)
(55%,27%,65%)

RGB channels and saturation

R 139 of 255 = 55%
G 70 of 255 = 27%
B 166 of 255 = 65%

139
70
166

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

Portions of RGB colors in percentages

R + G + B =
139 + 70 + 166 = 375 (100%)
R 139 of 375 ~ 37.07%
G 70 of 375 ~ 18.67%
B 166 of 375 ~ 44.27%

%37.07
%18.67
%44.27

CMYK color model

#8B46A6 color CMYK value is (16,58,0,35).

  • cyan value is 16.27%
  • magenta value is 57.83%
  • yellow value is 0.00%
  • key color value is 34.90%
CMYK:
(16,58,0,35)
C16M58Y0K35 
(16%,58%,0%,35%)
(0.16/0.58/0.00/0.35)	

CMYK percentages

%16.27
%57.83
%0
%34.9

Codes

Color #8B46A6 in popluar color models

8B46A6
RGB13970166
HSL283°40.68%46.27%
HSB/HSV283°57.83%65.10%
CMYK16.27%57.83%0.00%
34.90%

Color #8B46A6 in popluar number systems.

HEX8B46A6
Decimal13970166
Binary10001011100011010100110
Octal213106246

Shades and tints

Shades of #8B46A6

#8B46A6
(139,70,166)
#7F4097
(127,64,151)
#733A88
(115,58,136)
#673479
(103,52,121)
#5B2E6A
(91,46,106)
#4F285B
(79,40,91)
#43224C
(67,34,76)
#371C3D
(55,28,61)
#2B162E
(43,22,46)
#1F101F
(31,16,31)
#130A10
(19,10,16)
#000000
(0,0,0)

Tints of #8B46A6

#8B46A6
(139,70,166)
#9556AE
(149,86,174)
#9F66B6
(159,102,182)
#A976BE
(169,118,190)
#B386C6
(179,134,198)
#BD96CE
(189,150,206)
#C7A6D6
(199,166,214)
#D1B6DE
(209,182,222)
#DBC6E6
(219,198,230)
#E5D6EE
(229,214,238)
#EFE6F6
(239,230,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8B46A6 color. Also use rgb(139,70,166) instead hex code.

Text Font Color

.myTextColor { color: #8B46A6; }

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

This text font color is #8B46A6.


Background Color

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

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

This div background color is #8B46A6.


Border color

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

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

This div border color is #8B46A6.


Opacity

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

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

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

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

This text has shadow with #8B46A6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8B46A6 on black background.


Color preview on white background

This text has color #8B46A6 on white background.



Black color preview on #8B46A6 background

This text has black color on #8B46A6 background.


White color preview on #8B46A6 background

This text has white color on #8B46A6 background.