COLOR #9D7EB2

HEX: #9D7EB2
RGB: (157,126,178)

Color info

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

RGB color model

#9D7EB2 color RGB value is (157,126,178).

  • red value is 157;
  • green value is 126;
  • blue value is 178.
RGB:
(157,126,178)
(62%,49%,70%)

RGB channels and saturation

R 157 of 255 = 62%
G 126 of 255 = 49%
B 178 of 255 = 70%

157
126
178

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

Portions of RGB colors in percentages

R + G + B =
157 + 126 + 178 = 461 (100%)
R 157 of 461 ~ 34.06%
G 126 of 461 ~ 27.33%
B 178 of 461 ~ 38.61%

%34.06
%27.33
%38.61

CMYK color model

#9D7EB2 color CMYK value is (12,29,0,30).

  • cyan value is 11.80%
  • magenta value is 29.21%
  • yellow value is 0.00%
  • key color value is 30.20%
CMYK:
(12,29,0,30)
C12M29Y0K30 
(12%,29%,0%,30%)
(0.12/0.29/0.00/0.30)	

CMYK percentages

%11.8
%29.21
%0
%30.2

Codes

Color #9D7EB2 in popluar color models

9D7EB2
RGB157126178
HSL276°25.24%59.61%
HSB/HSV276°29.21%69.80%
CMYK11.80%29.21%0.00%
30.20%

Color #9D7EB2 in popluar number systems.

HEX9D7EB2
Decimal157126178
Binary10011101111111010110010
Octal235176262

Shades and tints

Shades of #9D7EB2

#9D7EB2
(157,126,178)
#8F73A2
(143,115,162)
#816892
(129,104,146)
#735D82
(115,93,130)
#655272
(101,82,114)
#574762
(87,71,98)
#493C52
(73,60,82)
#3B3142
(59,49,66)
#2D2632
(45,38,50)
#1F1B22
(31,27,34)
#111012
(17,16,18)
#000000
(0,0,0)

Tints of #9D7EB2

#9D7EB2
(157,126,178)
#A589B9
(165,137,185)
#AD94C0
(173,148,192)
#B59FC7
(181,159,199)
#BDAACE
(189,170,206)
#C5B5D5
(197,181,213)
#CDC0DC
(205,192,220)
#D5CBE3
(213,203,227)
#DDD6EA
(221,214,234)
#E5E1F1
(229,225,241)
#EDECF8
(237,236,248)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D7EB2 color. Also use rgb(157,126,178) instead hex code.

Text Font Color

.myTextColor { color: #9D7EB2; }

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

This text font color is #9D7EB2.


Background Color

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

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

This div background color is #9D7EB2.


Border color

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

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

This div border color is #9D7EB2.


Opacity

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

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

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

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

This text has shadow with #9D7EB2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D7EB2 on black background.


Color preview on white background

This text has color #9D7EB2 on white background.



Black color preview on #9D7EB2 background

This text has black color on #9D7EB2 background.


White color preview on #9D7EB2 background

This text has white color on #9D7EB2 background.