COLOR #9D70A6

HEX: #9D70A6
RGB: (157,112,166)

Color info

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

RGB color model

#9D70A6 color RGB value is (157,112,166).

  • red value is 157;
  • green value is 112;
  • blue value is 166.
RGB:
(157,112,166)
(62%,44%,65%)

RGB channels and saturation

R 157 of 255 = 62%
G 112 of 255 = 44%
B 166 of 255 = 65%

157
112
166

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

Portions of RGB colors in percentages

R + G + B =
157 + 112 + 166 = 435 (100%)
R 157 of 435 ~ 36.09%
G 112 of 435 ~ 25.75%
B 166 of 435 ~ 38.16%

%36.09
%25.75
%38.16

CMYK color model

#9D70A6 color CMYK value is (5,33,0,35).

  • cyan value is 5.42%
  • magenta value is 32.53%
  • yellow value is 0.00%
  • key color value is 34.90%
CMYK:
(5,33,0,35)
C5M33Y0K35 
(5%,33%,0%,35%)
(0.05/0.33/0.00/0.35)	

CMYK percentages

%5.42
%32.53
%0
%34.9

Codes

Color #9D70A6 in popluar color models

9D70A6
RGB157112166
HSL290°23.28%54.51%
HSB/HSV290°32.53%65.10%
CMYK5.42%32.53%0.00%
34.90%

Color #9D70A6 in popluar number systems.

HEX9D70A6
Decimal157112166
Binary10011101111000010100110
Octal235160246

Shades and tints

Shades of #9D70A6

#9D70A6
(157,112,166)
#8F6697
(143,102,151)
#815C88
(129,92,136)
#735279
(115,82,121)
#65486A
(101,72,106)
#573E5B
(87,62,91)
#49344C
(73,52,76)
#3B2A3D
(59,42,61)
#2D202E
(45,32,46)
#1F161F
(31,22,31)
#110C10
(17,12,16)
#000000
(0,0,0)

Tints of #9D70A6

#9D70A6
(157,112,166)
#A57DAE
(165,125,174)
#AD8AB6
(173,138,182)
#B597BE
(181,151,190)
#BDA4C6
(189,164,198)
#C5B1CE
(197,177,206)
#CDBED6
(205,190,214)
#D5CBDE
(213,203,222)
#DDD8E6
(221,216,230)
#E5E5EE
(229,229,238)
#EDF2F6
(237,242,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D70A6 color. Also use rgb(157,112,166) instead hex code.

Text Font Color

.myTextColor { color: #9D70A6; }

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

This text font color is #9D70A6.


Background Color

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

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

This div background color is #9D70A6.


Border color

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

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

This div border color is #9D70A6.


Opacity

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

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

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

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

This text has shadow with #9D70A6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D70A6 on black background.


Color preview on white background

This text has color #9D70A6 on white background.



Black color preview on #9D70A6 background

This text has black color on #9D70A6 background.


White color preview on #9D70A6 background

This text has white color on #9D70A6 background.