COLOR #8A48B1

HEX: #8A48B1
RGB: (138,72,177)

Color info

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

RGB color model

#8A48B1 color RGB value is (138,72,177).

  • red value is 138;
  • green value is 72;
  • blue value is 177.
RGB:
(138,72,177)
(54%,28%,69%)

RGB channels and saturation

R 138 of 255 = 54%
G 72 of 255 = 28%
B 177 of 255 = 69%

138
72
177

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

Portions of RGB colors in percentages

R + G + B =
138 + 72 + 177 = 387 (100%)
R 138 of 387 ~ 35.66%
G 72 of 387 ~ 18.6%
B 177 of 387 ~ 45.74%

%35.66
%18.6
%45.74

CMYK color model

#8A48B1 color CMYK value is (22,59,0,31).

  • cyan value is 22.03%
  • magenta value is 59.32%
  • yellow value is 0.00%
  • key color value is 30.59%
CMYK:
(22,59,0,31)
C22M59Y0K31 
(22%,59%,0%,31%)
(0.22/0.59/0.00/0.31)	

CMYK percentages

%22.03
%59.32
%0
%30.59

Codes

Color #8A48B1 in popluar color models

8A48B1
RGB13872177
HSL278°42.17%48.82%
HSB/HSV278°59.32%69.41%
CMYK22.03%59.32%0.00%
30.59%

Color #8A48B1 in popluar number systems.

HEX8A48B1
Decimal13872177
Binary10001010100100010110001
Octal212110261

Shades and tints

Shades of #8A48B1

#8A48B1
(138,72,177)
#7E42A1
(126,66,161)
#723C91
(114,60,145)
#663681
(102,54,129)
#5A3071
(90,48,113)
#4E2A61
(78,42,97)
#422451
(66,36,81)
#361E41
(54,30,65)
#2A1831
(42,24,49)
#1E1221
(30,18,33)
#120C11
(18,12,17)
#000000
(0,0,0)

Tints of #8A48B1

#8A48B1
(138,72,177)
#9458B8
(148,88,184)
#9E68BF
(158,104,191)
#A878C6
(168,120,198)
#B288CD
(178,136,205)
#BC98D4
(188,152,212)
#C6A8DB
(198,168,219)
#D0B8E2
(208,184,226)
#DAC8E9
(218,200,233)
#E4D8F0
(228,216,240)
#EEE8F7
(238,232,247)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A48B1; }

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

This text font color is #8A48B1.


Background Color

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

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

This div background color is #8A48B1.


Border color

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

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

This div border color is #8A48B1.


Opacity

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

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

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

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

This text has shadow with #8A48B1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A48B1 on black background.


Color preview on white background

This text has color #8A48B1 on white background.



Black color preview on #8A48B1 background

This text has black color on #8A48B1 background.


White color preview on #8A48B1 background

This text has white color on #8A48B1 background.