COLOR #8B3158

HEX: #8B3158
RGB: (139,49,88)

Color info

#8B3158 contains mainly red and blue colors. Web safe color of #8B3158 is #993366 (or #936).

RGB color model

#8B3158 color RGB value is (139,49,88).

  • red value is 139;
  • green value is 49;
  • blue value is 88.
RGB:
(139,49,88)
(55%,19%,35%)

RGB channels and saturation

R 139 of 255 = 55%
G 49 of 255 = 19%
B 88 of 255 = 35%

139
49
88

R + G + B ~ 36%. #8B3158 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
139 + 49 + 88 = 276 (100%)
R 139 of 276 ~ 50.36%
G 49 of 276 ~ 17.75%
B 88 of 276 ~ 31.88%

%50.36
%17.75
%31.88

CMYK color model

#8B3158 color CMYK value is (0,65,37,45).

  • cyan value is 0.00%
  • magenta value is 64.75%
  • yellow value is 36.69%
  • key color value is 45.49%
CMYK:
(0,65,37,45)
C0M65Y37K45 
(0%,65%,37%,45%)
(0.00/0.65/0.37/0.45)	

CMYK percentages

%0
%64.75
%36.69
%45.49

Codes

Color #8B3158 in popluar color models

8B3158
RGB1394988
HSL334°47.87%36.86%
HSB/HSV334°64.75%54.51%
CMYK0.00%64.75%36.69%
45.49%

Color #8B3158 in popluar number systems.

HEX8B3158
Decimal1394988
Binary100010111100011011000
Octal21361130

Shades and tints

Shades of #8B3158

#8B3158
(139,49,88)
#7F2D50
(127,45,80)
#732948
(115,41,72)
#672540
(103,37,64)
#5B2138
(91,33,56)
#4F1D30
(79,29,48)
#431928
(67,25,40)
#371520
(55,21,32)
#2B1118
(43,17,24)
#1F0D10
(31,13,16)
#130908
(19,9,8)
#000000
(0,0,0)

Tints of #8B3158

#8B3158
(139,49,88)
#954367
(149,67,103)
#9F5576
(159,85,118)
#A96785
(169,103,133)
#B37994
(179,121,148)
#BD8BA3
(189,139,163)
#C79DB2
(199,157,178)
#D1AFC1
(209,175,193)
#DBC1D0
(219,193,208)
#E5D3DF
(229,211,223)
#EFE5EE
(239,229,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8B3158; }

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

This text font color is #8B3158.


Background Color

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

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

This div background color is #8B3158.


Border color

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

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

This div border color is #8B3158.


Opacity

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

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

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

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

This text has shadow with #8B3158 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8B3158 on black background.


Color preview on white background

This text has color #8B3158 on white background.



Black color preview on #8B3158 background

This text has black color on #8B3158 background.


White color preview on #8B3158 background

This text has white color on #8B3158 background.