COLOR #9D7F98

HEX: #9D7F98
RGB: (157,127,152)

Color info

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

RGB color model

#9D7F98 color RGB value is (157,127,152).

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

RGB channels and saturation

R 157 of 255 = 62%
G 127 of 255 = 50%
B 152 of 255 = 60%

157
127
152

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

Portions of RGB colors in percentages

R + G + B =
157 + 127 + 152 = 436 (100%)
R 157 of 436 ~ 36.01%
G 127 of 436 ~ 29.13%
B 152 of 436 ~ 34.86%

%36.01
%29.13
%34.86

CMYK color model

#9D7F98 color CMYK value is (0,19,3,38).

  • cyan value is 0.00%
  • magenta value is 19.11%
  • yellow value is 3.18%
  • key color value is 38.43%
CMYK:
(0,19,3,38)
C0M19Y3K38 
(0%,19%,3%,38%)
(0.00/0.19/0.03/0.38)	

CMYK percentages

%0
%19.11
%3.18
%38.43

Codes

Color #9D7F98 in popluar color models

9D7F98
RGB157127152
HSL310°13.27%55.69%
HSB/HSV310°19.11%61.57%
CMYK0.00%19.11%3.18%
38.43%

Color #9D7F98 in popluar number systems.

HEX9D7F98
Decimal157127152
Binary10011101111111110011000
Octal235177230

Shades and tints

Shades of #9D7F98

#9D7F98
(157,127,152)
#8F748B
(143,116,139)
#81697E
(129,105,126)
#735E71
(115,94,113)
#655364
(101,83,100)
#574857
(87,72,87)
#493D4A
(73,61,74)
#3B323D
(59,50,61)
#2D2730
(45,39,48)
#1F1C23
(31,28,35)
#111116
(17,17,22)
#000000
(0,0,0)

Tints of #9D7F98

#9D7F98
(157,127,152)
#A58AA1
(165,138,161)
#AD95AA
(173,149,170)
#B5A0B3
(181,160,179)
#BDABBC
(189,171,188)
#C5B6C5
(197,182,197)
#CDC1CE
(205,193,206)
#D5CCD7
(213,204,215)
#DDD7E0
(221,215,224)
#E5E2E9
(229,226,233)
#EDEDF2
(237,237,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #9D7F98; }

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

This text font color is #9D7F98.


Background Color

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

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

This div background color is #9D7F98.


Border color

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

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

This div border color is #9D7F98.


Opacity

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

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

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

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

This text has shadow with #9D7F98 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D7F98 on black background.


Color preview on white background

This text has color #9D7F98 on white background.



Black color preview on #9D7F98 background

This text has black color on #9D7F98 background.


White color preview on #9D7F98 background

This text has white color on #9D7F98 background.