COLOR #9D5942

HEX: #9D5942
RGB: (157,89,66)

Color info

#9D5942 contains mainly red color. Web safe color of #9D5942 is #996633 (or #963).

RGB color model

#9D5942 color RGB value is (157,89,66).

  • red value is 157;
  • green value is 89;
  • blue value is 66.
RGB:
(157,89,66)
(62%,35%,26%)

RGB channels and saturation

R 157 of 255 = 62%
G 89 of 255 = 35%
B 66 of 255 = 26%

157
89
66

R + G + B ~ 41%. #9D5942 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
157 + 89 + 66 = 312 (100%)
R 157 of 312 ~ 50.32%
G 89 of 312 ~ 28.53%
B 66 of 312 ~ 21.15%

%50.32
%28.53
%21.15

CMYK color model

#9D5942 color CMYK value is (0,43,58,38).

  • cyan value is 0.00%
  • magenta value is 43.31%
  • yellow value is 57.96%
  • key color value is 38.43%
CMYK:
(0,43,58,38)
C0M43Y58K38 
(0%,43%,58%,38%)
(0.00/0.43/0.58/0.38)	

CMYK percentages

%0
%43.31
%57.96
%38.43

Codes

Color #9D5942 in popluar color models

9D5942
RGB1578966
HSL15°40.81%43.73%
HSB/HSV15°57.96%61.57%
CMYK0.00%43.31%57.96%
38.43%

Color #9D5942 in popluar number systems.

HEX9D5942
Decimal1578966
Binary1001110110110011000010
Octal235131102

Shades and tints

Shades of #9D5942

#9D5942
(157,89,66)
#8F513C
(143,81,60)
#814936
(129,73,54)
#734130
(115,65,48)
#65392A
(101,57,42)
#573124
(87,49,36)
#49291E
(73,41,30)
#3B2118
(59,33,24)
#2D1912
(45,25,18)
#1F110C
(31,17,12)
#110906
(17,9,6)
#000000
(0,0,0)

Tints of #9D5942

#9D5942
(157,89,66)
#A56853
(165,104,83)
#AD7764
(173,119,100)
#B58675
(181,134,117)
#BD9586
(189,149,134)
#C5A497
(197,164,151)
#CDB3A8
(205,179,168)
#D5C2B9
(213,194,185)
#DDD1CA
(221,209,202)
#E5E0DB
(229,224,219)
#EDEFEC
(237,239,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D5942 color. Also use rgb(157,89,66) instead hex code.

Text Font Color

.myTextColor { color: #9D5942; }

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

This text font color is #9D5942.


Background Color

.myBgColor { background-color: #9D5942; }

<div style="background-color:#9D5942">Inner text</div>

This div background color is #9D5942.


Border color

.myBorderColor { border: 1px solid #9D5942; }

<div style="border:3px solid #9D5942">Div</div>

This div border color is #9D5942.


Opacity

.myOpacity80 { color: #9D5942; opacity: 0.8; }

<p style="color:#9D5942;opacity:0.8;">80%</p>

Text with #9D5942 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 #9D5942;}

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

This text has shadow with #9D5942 color.

.textShadow {text-shadow: 3px 3px 1px #9D5942, 3px 3px 1px red;}

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

This text has shadow with #9D5942 primary color and red secondary color.


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

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

This text has shadow with #9D5942 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D5942 on black background.


Color preview on white background

This text has color #9D5942 on white background.



Black color preview on #9D5942 background

This text has black color on #9D5942 background.


White color preview on #9D5942 background

This text has white color on #9D5942 background.