COLOR #8F5A7E

HEX: #8F5A7E
RGB: (143,90,126)

Color info

#8F5A7E contains red, green and blue colors in about the same proportion. Web safe color of #8F5A7E is #996666 (or #966).

RGB color model

#8F5A7E color RGB value is (143,90,126).

  • red value is 143;
  • green value is 90;
  • blue value is 126.
RGB:
(143,90,126)
(56%,35%,49%)

RGB channels and saturation

R 143 of 255 = 56%
G 90 of 255 = 35%
B 126 of 255 = 49%

143
90
126

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

Portions of RGB colors in percentages

R + G + B =
143 + 90 + 126 = 359 (100%)
R 143 of 359 ~ 39.83%
G 90 of 359 ~ 25.07%
B 126 of 359 ~ 35.1%

%39.83
%25.07
%35.1

CMYK color model

#8F5A7E color CMYK value is (0,37,12,44).

  • cyan value is 0.00%
  • magenta value is 37.06%
  • yellow value is 11.89%
  • key color value is 43.92%
CMYK:
(0,37,12,44)
C0M37Y12K44 
(0%,37%,12%,44%)
(0.00/0.37/0.12/0.44)	

CMYK percentages

%0
%37.06
%11.89
%43.92

Codes

Color #8F5A7E in popluar color models

8F5A7E
RGB14390126
HSL319°22.75%45.69%
HSB/HSV319°37.06%56.08%
CMYK0.00%37.06%11.89%
43.92%

Color #8F5A7E in popluar number systems.

HEX8F5A7E
Decimal14390126
Binary1000111110110101111110
Octal217132176

Shades and tints

Shades of #8F5A7E

#8F5A7E
(143,90,126)
#825273
(130,82,115)
#754A68
(117,74,104)
#68425D
(104,66,93)
#5B3A52
(91,58,82)
#4E3247
(78,50,71)
#412A3C
(65,42,60)
#342231
(52,34,49)
#271A26
(39,26,38)
#1A121B
(26,18,27)
#0D0A10
(13,10,16)
#000000
(0,0,0)

Tints of #8F5A7E

#8F5A7E
(143,90,126)
#996989
(153,105,137)
#A37894
(163,120,148)
#AD879F
(173,135,159)
#B796AA
(183,150,170)
#C1A5B5
(193,165,181)
#CBB4C0
(203,180,192)
#D5C3CB
(213,195,203)
#DFD2D6
(223,210,214)
#E9E1E1
(233,225,225)
#F3F0EC
(243,240,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8F5A7E color. Also use rgb(143,90,126) instead hex code.

Text Font Color

.myTextColor { color: #8F5A7E; }

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

This text font color is #8F5A7E.


Background Color

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

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

This div background color is #8F5A7E.


Border color

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

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

This div border color is #8F5A7E.


Opacity

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

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

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

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

This text has shadow with #8F5A7E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8F5A7E on black background.


Color preview on white background

This text has color #8F5A7E on white background.



Black color preview on #8F5A7E background

This text has black color on #8F5A7E background.


White color preview on #8F5A7E background

This text has white color on #8F5A7E background.