COLOR #8B157F

HEX: #8B157F
RGB: (139,21,127)

Color info

#8B157F contains mainly red and blue colors. Web safe color of #8B157F is #990066 (or #906).

RGB color model

#8B157F color RGB value is (139,21,127).

  • red value is 139;
  • green value is 21;
  • blue value is 127.
RGB:
(139,21,127)
(55%,8%,50%)

RGB channels and saturation

R 139 of 255 = 55%
G 21 of 255 = 8%
B 127 of 255 = 50%

139
21
127

R + G + B ~ 38%. #8B157F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
139 + 21 + 127 = 287 (100%)
R 139 of 287 ~ 48.43%
G 21 of 287 ~ 7.32%
B 127 of 287 ~ 44.25%

%48.43
%44.25

CMYK color model

#8B157F color CMYK value is (0,85,9,45).

  • cyan value is 0.00%
  • magenta value is 84.89%
  • yellow value is 8.63%
  • key color value is 45.49%
CMYK:
(0,85,9,45)
C0M85Y9K45 
(0%,85%,9%,45%)
(0.00/0.85/0.09/0.45)	

CMYK percentages

%0
%84.89
%8.63
%45.49

Codes

Color #8B157F in popluar color models

8B157F
RGB13921127
HSL306°73.75%31.37%
HSB/HSV306°84.89%54.51%
CMYK0.00%84.89%8.63%
45.49%

Color #8B157F in popluar number systems.

HEX8B157F
Decimal13921127
Binary10001011101011111111
Octal21325177

Shades and tints

Shades of #8B157F

#8B157F
(139,21,127)
#7F1474
(127,20,116)
#731369
(115,19,105)
#67125E
(103,18,94)
#5B1153
(91,17,83)
#4F1048
(79,16,72)
#430F3D
(67,15,61)
#370E32
(55,14,50)
#2B0D27
(43,13,39)
#1F0C1C
(31,12,28)
#130B11
(19,11,17)
#000000
(0,0,0)

Tints of #8B157F

#8B157F
(139,21,127)
#952A8A
(149,42,138)
#9F3F95
(159,63,149)
#A954A0
(169,84,160)
#B369AB
(179,105,171)
#BD7EB6
(189,126,182)
#C793C1
(199,147,193)
#D1A8CC
(209,168,204)
#DBBDD7
(219,189,215)
#E5D2E2
(229,210,226)
#EFE7ED
(239,231,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8B157F; }

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

This text font color is #8B157F.


Background Color

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

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

This div background color is #8B157F.


Border color

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

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

This div border color is #8B157F.


Opacity

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

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

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

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

This text has shadow with #8B157F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8B157F on black background.


Color preview on white background

This text has color #8B157F on white background.



Black color preview on #8B157F background

This text has black color on #8B157F background.


White color preview on #8B157F background

This text has white color on #8B157F background.