COLOR #9D7996

HEX: #9D7996
RGB: (157,121,150)

Color info

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

RGB color model

#9D7996 color RGB value is (157,121,150).

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

RGB channels and saturation

R 157 of 255 = 62%
G 121 of 255 = 47%
B 150 of 255 = 59%

157
121
150

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

Portions of RGB colors in percentages

R + G + B =
157 + 121 + 150 = 428 (100%)
R 157 of 428 ~ 36.68%
G 121 of 428 ~ 28.27%
B 150 of 428 ~ 35.05%

%36.68
%28.27
%35.05

CMYK color model

#9D7996 color CMYK value is (0,23,4,38).

  • cyan value is 0.00%
  • magenta value is 22.93%
  • yellow value is 4.46%
  • key color value is 38.43%
CMYK:
(0,23,4,38)
C0M23Y4K38 
(0%,23%,4%,38%)
(0.00/0.23/0.04/0.38)	

CMYK percentages

%0
%22.93
%4.46
%38.43

Codes

Color #9D7996 in popluar color models

9D7996
RGB157121150
HSL312°15.52%54.51%
HSB/HSV312°22.93%61.57%
CMYK0.00%22.93%4.46%
38.43%

Color #9D7996 in popluar number systems.

HEX9D7996
Decimal157121150
Binary10011101111100110010110
Octal235171226

Shades and tints

Shades of #9D7996

#9D7996
(157,121,150)
#8F6E89
(143,110,137)
#81637C
(129,99,124)
#73586F
(115,88,111)
#654D62
(101,77,98)
#574255
(87,66,85)
#493748
(73,55,72)
#3B2C3B
(59,44,59)
#2D212E
(45,33,46)
#1F1621
(31,22,33)
#110B14
(17,11,20)
#000000
(0,0,0)

Tints of #9D7996

#9D7996
(157,121,150)
#A5859F
(165,133,159)
#AD91A8
(173,145,168)
#B59DB1
(181,157,177)
#BDA9BA
(189,169,186)
#C5B5C3
(197,181,195)
#CDC1CC
(205,193,204)
#D5CDD5
(213,205,213)
#DDD9DE
(221,217,222)
#E5E5E7
(229,229,231)
#EDF1F0
(237,241,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #9D7996; }

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

This text font color is #9D7996.


Background Color

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

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

This div background color is #9D7996.


Border color

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

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

This div border color is #9D7996.


Opacity

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

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

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

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

This text has shadow with #9D7996 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D7996 on black background.


Color preview on white background

This text has color #9D7996 on white background.



Black color preview on #9D7996 background

This text has black color on #9D7996 background.


White color preview on #9D7996 background

This text has white color on #9D7996 background.