COLOR #8A5742

HEX: #8A5742
RGB: (138,87,66)

Color info

#8A5742 contains mainly red and green colors. Web safe color of #8A5742 is #996633 (or #963).

RGB color model

#8A5742 color RGB value is (138,87,66).

  • red value is 138;
  • green value is 87;
  • blue value is 66.
RGB:
(138,87,66)
(54%,34%,26%)

RGB channels and saturation

R 138 of 255 = 54%
G 87 of 255 = 34%
B 66 of 255 = 26%

138
87
66

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

Portions of RGB colors in percentages

R + G + B =
138 + 87 + 66 = 291 (100%)
R 138 of 291 ~ 47.42%
G 87 of 291 ~ 29.9%
B 66 of 291 ~ 22.68%

%47.42
%29.9
%22.68

CMYK color model

#8A5742 color CMYK value is (0,37,52,46).

  • cyan value is 0.00%
  • magenta value is 36.96%
  • yellow value is 52.17%
  • key color value is 45.88%
CMYK:
(0,37,52,46)
C0M37Y52K46 
(0%,37%,52%,46%)
(0.00/0.37/0.52/0.46)	

CMYK percentages

%0
%36.96
%52.17
%45.88

Codes

Color #8A5742 in popluar color models

8A5742
RGB1388766
HSL18°35.29%40.00%
HSB/HSV18°52.17%54.12%
CMYK0.00%36.96%52.17%
45.88%

Color #8A5742 in popluar number systems.

HEX8A5742
Decimal1388766
Binary1000101010101111000010
Octal212127102

Shades and tints

Shades of #8A5742

#8A5742
(138,87,66)
#7E503C
(126,80,60)
#724936
(114,73,54)
#664230
(102,66,48)
#5A3B2A
(90,59,42)
#4E3424
(78,52,36)
#422D1E
(66,45,30)
#362618
(54,38,24)
#2A1F12
(42,31,18)
#1E180C
(30,24,12)
#121106
(18,17,6)
#000000
(0,0,0)

Tints of #8A5742

#8A5742
(138,87,66)
#946653
(148,102,83)
#9E7564
(158,117,100)
#A88475
(168,132,117)
#B29386
(178,147,134)
#BCA297
(188,162,151)
#C6B1A8
(198,177,168)
#D0C0B9
(208,192,185)
#DACFCA
(218,207,202)
#E4DEDB
(228,222,219)
#EEEDEC
(238,237,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A5742 color. Also use rgb(138,87,66) instead hex code.

Text Font Color

.myTextColor { color: #8A5742; }

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

This text font color is #8A5742.


Background Color

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

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

This div background color is #8A5742.


Border color

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

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

This div border color is #8A5742.


Opacity

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

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

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

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

This text has shadow with #8A5742 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A5742 on black background.


Color preview on white background

This text has color #8A5742 on white background.



Black color preview on #8A5742 background

This text has black color on #8A5742 background.


White color preview on #8A5742 background

This text has white color on #8A5742 background.