COLOR #9D7DC6

HEX: #9D7DC6
RGB: (157,125,198)

Color info

#9D7DC6 contains mainly red and blue colors. Web safe color of #9D7DC6 is #9966CC (or #96C).

RGB color model

#9D7DC6 color RGB value is (157,125,198).

  • red value is 157;
  • green value is 125;
  • blue value is 198.
RGB:
(157,125,198)
(62%,49%,78%)

RGB channels and saturation

R 157 of 255 = 62%
G 125 of 255 = 49%
B 198 of 255 = 78%

157
125
198

R + G + B ~ 63%. #9D7DC6 is quite light color.

Portions of RGB colors in percentages

R + G + B =
157 + 125 + 198 = 480 (100%)
R 157 of 480 ~ 32.71%
G 125 of 480 ~ 26.04%
B 198 of 480 ~ 41.25%

%32.71
%26.04
%41.25

CMYK color model

#9D7DC6 color CMYK value is (21,37,0,22).

  • cyan value is 20.71%
  • magenta value is 36.87%
  • yellow value is 0.00%
  • key color value is 22.35%
CMYK:
(21,37,0,22)
C21M37Y0K22 
(21%,37%,0%,22%)
(0.21/0.37/0.00/0.22)	

CMYK percentages

%20.71
%36.87
%0
%22.35

Codes

Color #9D7DC6 in popluar color models

9D7DC6
RGB157125198
HSL266°39.04%63.33%
HSB/HSV266°36.87%77.65%
CMYK20.71%36.87%0.00%
22.35%

Color #9D7DC6 in popluar number systems.

HEX9D7DC6
Decimal157125198
Binary10011101111110111000110
Octal235175306

Shades and tints

Shades of #9D7DC6

#9D7DC6
(157,125,198)
#8F72B4
(143,114,180)
#8167A2
(129,103,162)
#735C90
(115,92,144)
#65517E
(101,81,126)
#57466C
(87,70,108)
#493B5A
(73,59,90)
#3B3048
(59,48,72)
#2D2536
(45,37,54)
#1F1A24
(31,26,36)
#110F12
(17,15,18)
#000000
(0,0,0)

Tints of #9D7DC6

#9D7DC6
(157,125,198)
#A588CB
(165,136,203)
#AD93D0
(173,147,208)
#B59ED5
(181,158,213)
#BDA9DA
(189,169,218)
#C5B4DF
(197,180,223)
#CDBFE4
(205,191,228)
#D5CAE9
(213,202,233)
#DDD5EE
(221,213,238)
#E5E0F3
(229,224,243)
#EDEBF8
(237,235,248)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D7DC6 color. Also use rgb(157,125,198) instead hex code.

Text Font Color

.myTextColor { color: #9D7DC6; }

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

This text font color is #9D7DC6.


Background Color

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

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

This div background color is #9D7DC6.


Border color

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

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

This div border color is #9D7DC6.


Opacity

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

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

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

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

This text has shadow with #9D7DC6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D7DC6 on black background.


Color preview on white background

This text has color #9D7DC6 on white background.



Black color preview on #9D7DC6 background

This text has black color on #9D7DC6 background.


White color preview on #9D7DC6 background

This text has white color on #9D7DC6 background.