COLOR #9D799C

HEX: #9D799C
RGB: (157,121,156)

Color info

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

RGB color model

#9D799C color RGB value is (157,121,156).

  • red value is 157;
  • green value is 121;
  • blue value is 156.
RGB:
(157,121,156)
(62%,47%,61%)

RGB channels and saturation

R 157 of 255 = 62%
G 121 of 255 = 47%
B 156 of 255 = 61%

157
121
156

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

Portions of RGB colors in percentages

R + G + B =
157 + 121 + 156 = 434 (100%)
R 157 of 434 ~ 36.18%
G 121 of 434 ~ 27.88%
B 156 of 434 ~ 35.94%

%36.18
%27.88
%35.94

CMYK color model

#9D799C color CMYK value is (0,23,1,38).

  • cyan value is 0.00%
  • magenta value is 22.93%
  • yellow value is 0.64%
  • key color value is 38.43%
CMYK:
(0,23,1,38)
C0M23Y1K38 
(0%,23%,1%,38%)
(0.00/0.23/0.01/0.38)	

CMYK percentages

%0
%22.93
%0.64
%38.43

Codes

Color #9D799C in popluar color models

9D799C
RGB157121156
HSL302°15.52%54.51%
HSB/HSV302°22.93%61.57%
CMYK0.00%22.93%0.64%
38.43%

Color #9D799C in popluar number systems.

HEX9D799C
Decimal157121156
Binary10011101111100110011100
Octal235171234

Shades and tints

Shades of #9D799C

#9D799C
(157,121,156)
#8F6E8E
(143,110,142)
#816380
(129,99,128)
#735872
(115,88,114)
#654D64
(101,77,100)
#574256
(87,66,86)
#493748
(73,55,72)
#3B2C3A
(59,44,58)
#2D212C
(45,33,44)
#1F161E
(31,22,30)
#110B10
(17,11,16)
#000000
(0,0,0)

Tints of #9D799C

#9D799C
(157,121,156)
#A585A5
(165,133,165)
#AD91AE
(173,145,174)
#B59DB7
(181,157,183)
#BDA9C0
(189,169,192)
#C5B5C9
(197,181,201)
#CDC1D2
(205,193,210)
#D5CDDB
(213,205,219)
#DDD9E4
(221,217,228)
#E5E5ED
(229,229,237)
#EDF1F6
(237,241,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D799C color. Also use rgb(157,121,156) instead hex code.

Text Font Color

.myTextColor { color: #9D799C; }

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

This text font color is #9D799C.


Background Color

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

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

This div background color is #9D799C.


Border color

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

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

This div border color is #9D799C.


Opacity

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

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

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

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

This text has shadow with #9D799C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D799C on black background.


Color preview on white background

This text has color #9D799C on white background.



Black color preview on #9D799C background

This text has black color on #9D799C background.


White color preview on #9D799C background

This text has white color on #9D799C background.