COLOR #9D52A1

HEX: #9D52A1
RGB: (157,82,161)

Color info

#9D52A1 contains mainly red and blue colors. Web safe color of #9D52A1 is #996699 (or #969).

RGB color model

#9D52A1 color RGB value is (157,82,161).

  • red value is 157;
  • green value is 82;
  • blue value is 161.
RGB:
(157,82,161)
(62%,32%,63%)

RGB channels and saturation

R 157 of 255 = 62%
G 82 of 255 = 32%
B 161 of 255 = 63%

157
82
161

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

Portions of RGB colors in percentages

R + G + B =
157 + 82 + 161 = 400 (100%)
R 157 of 400 ~ 39.25%
G 82 of 400 ~ 20.5%
B 161 of 400 ~ 40.25%

%39.25
%20.5
%40.25

CMYK color model

#9D52A1 color CMYK value is (2,49,0,37).

  • cyan value is 2.48%
  • magenta value is 49.07%
  • yellow value is 0.00%
  • key color value is 36.86%
CMYK:
(2,49,0,37)
C2M49Y0K37 
(2%,49%,0%,37%)
(0.02/0.49/0.00/0.37)	

CMYK percentages

%2.48
%49.07
%0
%36.86

Codes

Color #9D52A1 in popluar color models

9D52A1
RGB15782161
HSL297°32.51%47.65%
HSB/HSV297°49.07%63.14%
CMYK2.48%49.07%0.00%
36.86%

Color #9D52A1 in popluar number systems.

HEX9D52A1
Decimal15782161
Binary10011101101001010100001
Octal235122241

Shades and tints

Shades of #9D52A1

#9D52A1
(157,82,161)
#8F4B93
(143,75,147)
#814485
(129,68,133)
#733D77
(115,61,119)
#653669
(101,54,105)
#572F5B
(87,47,91)
#49284D
(73,40,77)
#3B213F
(59,33,63)
#2D1A31
(45,26,49)
#1F1323
(31,19,35)
#110C15
(17,12,21)
#000000
(0,0,0)

Tints of #9D52A1

#9D52A1
(157,82,161)
#A561A9
(165,97,169)
#AD70B1
(173,112,177)
#B57FB9
(181,127,185)
#BD8EC1
(189,142,193)
#C59DC9
(197,157,201)
#CDACD1
(205,172,209)
#D5BBD9
(213,187,217)
#DDCAE1
(221,202,225)
#E5D9E9
(229,217,233)
#EDE8F1
(237,232,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D52A1 color. Also use rgb(157,82,161) instead hex code.

Text Font Color

.myTextColor { color: #9D52A1; }

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

This text font color is #9D52A1.


Background Color

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

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

This div background color is #9D52A1.


Border color

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

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

This div border color is #9D52A1.


Opacity

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

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

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

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

This text has shadow with #9D52A1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9D52A1 on black background.


Color preview on white background

This text has color #9D52A1 on white background.



Black color preview on #9D52A1 background

This text has black color on #9D52A1 background.


White color preview on #9D52A1 background

This text has white color on #9D52A1 background.