COLOR #9D7998

HEX: #9D7998
RGB: (157,121,152)

Color info

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

RGB color model

#9D7998 color RGB value is (157,121,152).

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

RGB channels and saturation

R 157 of 255 = 62%
G 121 of 255 = 47%
B 152 of 255 = 60%

157
121
152

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

Portions of RGB colors in percentages

R + G + B =
157 + 121 + 152 = 430 (100%)
R 157 of 430 ~ 36.51%
G 121 of 430 ~ 28.14%
B 152 of 430 ~ 35.35%

%36.51
%28.14
%35.35

CMYK color model

#9D7998 color CMYK value is (0,23,3,38).

  • cyan value is 0.00%
  • magenta value is 22.93%
  • yellow value is 3.18%
  • key color value is 38.43%
CMYK:
(0,23,3,38)
C0M23Y3K38 
(0%,23%,3%,38%)
(0.00/0.23/0.03/0.38)	

CMYK percentages

%0
%22.93
%3.18
%38.43

Codes

Color #9D7998 in popluar color models

9D7998
RGB157121152
HSL308°15.52%54.51%
HSB/HSV308°22.93%61.57%
CMYK0.00%22.93%3.18%
38.43%

Color #9D7998 in popluar number systems.

HEX9D7998
Decimal157121152
Binary10011101111100110011000
Octal235171230

Shades and tints

Shades of #9D7998

#9D7998
(157,121,152)
#8F6E8B
(143,110,139)
#81637E
(129,99,126)
#735871
(115,88,113)
#654D64
(101,77,100)
#574257
(87,66,87)
#49374A
(73,55,74)
#3B2C3D
(59,44,61)
#2D2130
(45,33,48)
#1F1623
(31,22,35)
#110B16
(17,11,22)
#000000
(0,0,0)

Tints of #9D7998

#9D7998
(157,121,152)
#A585A1
(165,133,161)
#AD91AA
(173,145,170)
#B59DB3
(181,157,179)
#BDA9BC
(189,169,188)
#C5B5C5
(197,181,197)
#CDC1CE
(205,193,206)
#D5CDD7
(213,205,215)
#DDD9E0
(221,217,224)
#E5E5E9
(229,229,233)
#EDF1F2
(237,241,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #9D7998; }

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

This text font color is #9D7998.


Background Color

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

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

This div background color is #9D7998.


Border color

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

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

This div border color is #9D7998.


Opacity

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

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

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

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

This text has shadow with #9D7998 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D7998 on black background.


Color preview on white background

This text has color #9D7998 on white background.



Black color preview on #9D7998 background

This text has black color on #9D7998 background.


White color preview on #9D7998 background

This text has white color on #9D7998 background.