COLOR #9F798E

HEX: #9F798E
RGB: (159,121,142)

Color info

#9F798E contains red, green and blue colors in about the same proportion. Web safe color of #9F798E is #996699 (or #969).

RGB color model

#9F798E color RGB value is (159,121,142).

  • red value is 159;
  • green value is 121;
  • blue value is 142.
RGB:
(159,121,142)
(62%,47%,56%)

RGB channels and saturation

R 159 of 255 = 62%
G 121 of 255 = 47%
B 142 of 255 = 56%

159
121
142

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

Portions of RGB colors in percentages

R + G + B =
159 + 121 + 142 = 422 (100%)
R 159 of 422 ~ 37.68%
G 121 of 422 ~ 28.67%
B 142 of 422 ~ 33.65%

%37.68
%28.67
%33.65

CMYK color model

#9F798E color CMYK value is (0,24,11,38).

  • cyan value is 0.00%
  • magenta value is 23.90%
  • yellow value is 10.69%
  • key color value is 37.65%
CMYK:
(0,24,11,38)
C0M24Y11K38 
(0%,24%,11%,38%)
(0.00/0.24/0.11/0.38)	

CMYK percentages

%0
%23.9
%10.69
%37.65

Codes

Color #9F798E in popluar color models

9F798E
RGB159121142
HSL327°16.52%54.90%
HSB/HSV327°23.90%62.35%
CMYK0.00%23.90%10.69%
37.65%

Color #9F798E in popluar number systems.

HEX9F798E
Decimal159121142
Binary10011111111100110001110
Octal237171216

Shades and tints

Shades of #9F798E

#9F798E
(159,121,142)
#916E82
(145,110,130)
#836376
(131,99,118)
#75586A
(117,88,106)
#674D5E
(103,77,94)
#594252
(89,66,82)
#4B3746
(75,55,70)
#3D2C3A
(61,44,58)
#2F212E
(47,33,46)
#211622
(33,22,34)
#130B16
(19,11,22)
#000000
(0,0,0)

Tints of #9F798E

#9F798E
(159,121,142)
#A78598
(167,133,152)
#AF91A2
(175,145,162)
#B79DAC
(183,157,172)
#BFA9B6
(191,169,182)
#C7B5C0
(199,181,192)
#CFC1CA
(207,193,202)
#D7CDD4
(215,205,212)
#DFD9DE
(223,217,222)
#E7E5E8
(231,229,232)
#EFF1F2
(239,241,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9F798E color. Also use rgb(159,121,142) instead hex code.

Text Font Color

.myTextColor { color: #9F798E; }

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

This text font color is #9F798E.


Background Color

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

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

This div background color is #9F798E.


Border color

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

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

This div border color is #9F798E.


Opacity

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

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

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

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

This text has shadow with #9F798E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9F798E on black background.


Color preview on white background

This text has color #9F798E on white background.



Black color preview on #9F798E background

This text has black color on #9F798E background.


White color preview on #9F798E background

This text has white color on #9F798E background.