COLOR #8F5170

HEX: #8F5170
RGB: (143,81,112)

Color info

#8F5170 contains mainly red and blue colors. Web safe color of #8F5170 is #996666 (or #966).

RGB color model

#8F5170 color RGB value is (143,81,112).

  • red value is 143;
  • green value is 81;
  • blue value is 112.
RGB:
(143,81,112)
(56%,32%,44%)

RGB channels and saturation

R 143 of 255 = 56%
G 81 of 255 = 32%
B 112 of 255 = 44%

143
81
112

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

Portions of RGB colors in percentages

R + G + B =
143 + 81 + 112 = 336 (100%)
R 143 of 336 ~ 42.56%
G 81 of 336 ~ 24.11%
B 112 of 336 ~ 33.33%

%42.56
%24.11
%33.33

CMYK color model

#8F5170 color CMYK value is (0,43,22,44).

  • cyan value is 0.00%
  • magenta value is 43.36%
  • yellow value is 21.68%
  • key color value is 43.92%
CMYK:
(0,43,22,44)
C0M43Y22K44 
(0%,43%,22%,44%)
(0.00/0.43/0.22/0.44)	

CMYK percentages

%0
%43.36
%21.68
%43.92

Codes

Color #8F5170 in popluar color models

8F5170
RGB14381112
HSL330°27.68%43.92%
HSB/HSV330°43.36%56.08%
CMYK0.00%43.36%21.68%
43.92%

Color #8F5170 in popluar number systems.

HEX8F5170
Decimal14381112
Binary1000111110100011110000
Octal217121160

Shades and tints

Shades of #8F5170

#8F5170
(143,81,112)
#824A66
(130,74,102)
#75435C
(117,67,92)
#683C52
(104,60,82)
#5B3548
(91,53,72)
#4E2E3E
(78,46,62)
#412734
(65,39,52)
#34202A
(52,32,42)
#271920
(39,25,32)
#1A1216
(26,18,22)
#0D0B0C
(13,11,12)
#000000
(0,0,0)

Tints of #8F5170

#8F5170
(143,81,112)
#99607D
(153,96,125)
#A36F8A
(163,111,138)
#AD7E97
(173,126,151)
#B78DA4
(183,141,164)
#C19CB1
(193,156,177)
#CBABBE
(203,171,190)
#D5BACB
(213,186,203)
#DFC9D8
(223,201,216)
#E9D8E5
(233,216,229)
#F3E7F2
(243,231,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8F5170 color. Also use rgb(143,81,112) instead hex code.

Text Font Color

.myTextColor { color: #8F5170; }

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

This text font color is #8F5170.


Background Color

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

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

This div background color is #8F5170.


Border color

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

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

This div border color is #8F5170.


Opacity

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

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

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

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

This text has shadow with #8F5170 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8F5170 on black background.


Color preview on white background

This text has color #8F5170 on white background.



Black color preview on #8F5170 background

This text has black color on #8F5170 background.


White color preview on #8F5170 background

This text has white color on #8F5170 background.