COLOR #9D5180

HEX: #9D5180
RGB: (157,81,128)

Color info

#9D5180 contains mainly red and blue colors. Web safe color of #9D5180 is #996666 (or #966).

RGB color model

#9D5180 color RGB value is (157,81,128).

  • red value is 157;
  • green value is 81;
  • blue value is 128.
RGB:
(157,81,128)
(62%,32%,50%)

RGB channels and saturation

R 157 of 255 = 62%
G 81 of 255 = 32%
B 128 of 255 = 50%

157
81
128

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

Portions of RGB colors in percentages

R + G + B =
157 + 81 + 128 = 366 (100%)
R 157 of 366 ~ 42.9%
G 81 of 366 ~ 22.13%
B 128 of 366 ~ 34.97%

%42.9
%22.13
%34.97

CMYK color model

#9D5180 color CMYK value is (0,48,18,38).

  • cyan value is 0.00%
  • magenta value is 48.41%
  • yellow value is 18.47%
  • key color value is 38.43%
CMYK:
(0,48,18,38)
C0M48Y18K38 
(0%,48%,18%,38%)
(0.00/0.48/0.18/0.38)	

CMYK percentages

%0
%48.41
%18.47
%38.43

Codes

Color #9D5180 in popluar color models

9D5180
RGB15781128
HSL323°31.93%46.67%
HSB/HSV323°48.41%61.57%
CMYK0.00%48.41%18.47%
38.43%

Color #9D5180 in popluar number systems.

HEX9D5180
Decimal15781128
Binary10011101101000110000000
Octal235121200

Shades and tints

Shades of #9D5180

#9D5180
(157,81,128)
#8F4A75
(143,74,117)
#81436A
(129,67,106)
#733C5F
(115,60,95)
#653554
(101,53,84)
#572E49
(87,46,73)
#49273E
(73,39,62)
#3B2033
(59,32,51)
#2D1928
(45,25,40)
#1F121D
(31,18,29)
#110B12
(17,11,18)
#000000
(0,0,0)

Tints of #9D5180

#9D5180
(157,81,128)
#A5608B
(165,96,139)
#AD6F96
(173,111,150)
#B57EA1
(181,126,161)
#BD8DAC
(189,141,172)
#C59CB7
(197,156,183)
#CDABC2
(205,171,194)
#D5BACD
(213,186,205)
#DDC9D8
(221,201,216)
#E5D8E3
(229,216,227)
#EDE7EE
(237,231,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D5180 color. Also use rgb(157,81,128) instead hex code.

Text Font Color

.myTextColor { color: #9D5180; }

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

This text font color is #9D5180.


Background Color

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

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

This div background color is #9D5180.


Border color

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

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

This div border color is #9D5180.


Opacity

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

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

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

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

This text has shadow with #9D5180 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D5180 on black background.


Color preview on white background

This text has color #9D5180 on white background.



Black color preview on #9D5180 background

This text has black color on #9D5180 background.


White color preview on #9D5180 background

This text has white color on #9D5180 background.