Color #8B008B

HEX: #8B008B
RGB: (139,0,139)

Views — 159
Like — 0

Color info

Color name is DarkMagenta. #8B008B contains only red and blue colors. Web safe color of #8B008B is #990099 (or #909).


RGB color model

#8B008B color RGB value is (139,0,139).

  • red value is 139;
  • green value is 0;
  • blue value is 139.
RGB:
(139,0,139)
(55%,0%,55%)

RGB channels and saturation

R 139 of 255 = 55%
G 0 of 255 = 0%
B 139 of 255 = 55%

139
0
139

R + G + B ~ 37%. #8B008B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
139 + 0 + 139 = 278 (100%)

R 139 of 278 ~ 50%
G 0 of 278 ~ 0%
B 139 of 278 ~ 50%

%50
%50

CMYK color model

#8B008B color CMYK value is (0,100,0,45).

  • cyan value is 0.00%
  • magenta value is 100.00%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK:
(0,100,0,45)
C0M100Y0K45 
(0%,100%,0%,45%)
(0.00/1.00/0.00/0.45)	

CMYK percentages

%0
%100
%0
%45.49

Codes

Color #8B008B in popluar color models

8B008B
RGB1390139
HSL300°100.00%27.25%
HSB/HSV300°100.00%54.51%
CMYK0.00%100.00%0.00%
45.49%

Color #8B008B in popluar number systems.

HEX8B008B
Decimal1390139
Binary10001011010001011
Octal2130213

Shades and tints

Shades of #8B008B

#8B008B
(139,0,139)
#7F007F
(127,0,127)
#730073
(115,0,115)
#670067
(103,0,103)
#5B005B
(91,0,91)
#4F004F
(79,0,79)
#430043
(67,0,67)
#370037
(55,0,55)
#2B002B
(43,0,43)
#1F001F
(31,0,31)
#130013
(19,0,19)
#000000
(0,0,0)

Tints of #8B008B

#8B008B
(139,0,139)
#951795
(149,23,149)
#9F2E9F
(159,46,159)
#A945A9
(169,69,169)
#B35CB3
(179,92,179)
#BD73BD
(189,115,189)
#C78AC7
(199,138,199)
#D1A1D1
(209,161,209)
#DBB8DB
(219,184,219)
#E5CFE5
(229,207,229)
#EFE6EF
(239,230,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8B008B; }

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

This text font color is #8B008B.


Background Color

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

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

This div background color is #8B008B.


Border color

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

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

This div border color is #8B008B.


Opacity

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

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

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

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

This text has shadow with #8B008B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8B008B on black background.


Color preview on white background

This text has color #8B008B on white background.



Black color preview on #8B008B background

This text has black color on #8B008B background.


White color preview on #8B008B background

This text has white color on #8B008B background.