COLOR #8A5156

HEX: #8A5156
RGB: (138,81,86)

Color info

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

RGB color model

#8A5156 color RGB value is (138,81,86).

  • red value is 138;
  • green value is 81;
  • blue value is 86.
RGB:
(138,81,86)
(54%,32%,34%)

RGB channels and saturation

R 138 of 255 = 54%
G 81 of 255 = 32%
B 86 of 255 = 34%

138
81
86

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

Portions of RGB colors in percentages

R + G + B =
138 + 81 + 86 = 305 (100%)
R 138 of 305 ~ 45.25%
G 81 of 305 ~ 26.56%
B 86 of 305 ~ 28.2%

%45.25
%26.56
%28.2

CMYK color model

#8A5156 color CMYK value is (0,41,38,46).

  • cyan value is 0.00%
  • magenta value is 41.30%
  • yellow value is 37.68%
  • key color value is 45.88%
CMYK:
(0,41,38,46)
C0M41Y38K46 
(0%,41%,38%,46%)
(0.00/0.41/0.38/0.46)	

CMYK percentages

%0
%41.3
%37.68
%45.88

Codes

Color #8A5156 in popluar color models

8A5156
RGB1388186
HSL355°26.03%42.94%
HSB/HSV355°41.30%54.12%
CMYK0.00%41.30%37.68%
45.88%

Color #8A5156 in popluar number systems.

HEX8A5156
Decimal1388186
Binary1000101010100011010110
Octal212121126

Shades and tints

Shades of #8A5156

#8A5156
(138,81,86)
#7E4A4F
(126,74,79)
#724348
(114,67,72)
#663C41
(102,60,65)
#5A353A
(90,53,58)
#4E2E33
(78,46,51)
#42272C
(66,39,44)
#362025
(54,32,37)
#2A191E
(42,25,30)
#1E1217
(30,18,23)
#120B10
(18,11,16)
#000000
(0,0,0)

Tints of #8A5156

#8A5156
(138,81,86)
#946065
(148,96,101)
#9E6F74
(158,111,116)
#A87E83
(168,126,131)
#B28D92
(178,141,146)
#BC9CA1
(188,156,161)
#C6ABB0
(198,171,176)
#D0BABF
(208,186,191)
#DAC9CE
(218,201,206)
#E4D8DD
(228,216,221)
#EEE7EC
(238,231,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A5156 color. Also use rgb(138,81,86) instead hex code.

Text Font Color

.myTextColor { color: #8A5156; }

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

This text font color is #8A5156.


Background Color

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

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

This div background color is #8A5156.


Border color

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

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

This div border color is #8A5156.


Opacity

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

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

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

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

This text has shadow with #8A5156 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A5156 on black background.


Color preview on white background

This text has color #8A5156 on white background.



Black color preview on #8A5156 background

This text has black color on #8A5156 background.


White color preview on #8A5156 background

This text has white color on #8A5156 background.