COLOR #8A4A8E

HEX: #8A4A8E
RGB: (138,74,142)

Color info

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

RGB color model

#8A4A8E color RGB value is (138,74,142).

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

RGB channels and saturation

R 138 of 255 = 54%
G 74 of 255 = 29%
B 142 of 255 = 56%

138
74
142

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

Portions of RGB colors in percentages

R + G + B =
138 + 74 + 142 = 354 (100%)
R 138 of 354 ~ 38.98%
G 74 of 354 ~ 20.9%
B 142 of 354 ~ 40.11%

%38.98
%20.9
%40.11

CMYK color model

#8A4A8E color CMYK value is (3,48,0,44).

  • cyan value is 2.82%
  • magenta value is 47.89%
  • yellow value is 0.00%
  • key color value is 44.31%
CMYK:
(3,48,0,44)
C3M48Y0K44 
(3%,48%,0%,44%)
(0.03/0.48/0.00/0.44)	

CMYK percentages

%2.82
%47.89
%0
%44.31

Codes

Color #8A4A8E in popluar color models

8A4A8E
RGB13874142
HSL296°31.48%42.35%
HSB/HSV296°47.89%55.69%
CMYK2.82%47.89%0.00%
44.31%

Color #8A4A8E in popluar number systems.

HEX8A4A8E
Decimal13874142
Binary10001010100101010001110
Octal212112216

Shades and tints

Shades of #8A4A8E

#8A4A8E
(138,74,142)
#7E4482
(126,68,130)
#723E76
(114,62,118)
#66386A
(102,56,106)
#5A325E
(90,50,94)
#4E2C52
(78,44,82)
#422646
(66,38,70)
#36203A
(54,32,58)
#2A1A2E
(42,26,46)
#1E1422
(30,20,34)
#120E16
(18,14,22)
#000000
(0,0,0)

Tints of #8A4A8E

#8A4A8E
(138,74,142)
#945A98
(148,90,152)
#9E6AA2
(158,106,162)
#A87AAC
(168,122,172)
#B28AB6
(178,138,182)
#BC9AC0
(188,154,192)
#C6AACA
(198,170,202)
#D0BAD4
(208,186,212)
#DACADE
(218,202,222)
#E4DAE8
(228,218,232)
#EEEAF2
(238,234,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A4A8E; }

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

This text font color is #8A4A8E.


Background Color

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

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

This div background color is #8A4A8E.


Border color

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

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

This div border color is #8A4A8E.


Opacity

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

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

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

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

This text has shadow with #8A4A8E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A4A8E on black background.


Color preview on white background

This text has color #8A4A8E on white background.



Black color preview on #8A4A8E background

This text has black color on #8A4A8E background.


White color preview on #8A4A8E background

This text has white color on #8A4A8E background.