COLOR #9A5DAD

HEX: #9A5DAD
RGB: (154,93,173)

Color info

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

RGB color model

#9A5DAD color RGB value is (154,93,173).

  • red value is 154;
  • green value is 93;
  • blue value is 173.
RGB:
(154,93,173)
(60%,36%,68%)

RGB channels and saturation

R 154 of 255 = 60%
G 93 of 255 = 36%
B 173 of 255 = 68%

154
93
173

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

Portions of RGB colors in percentages

R + G + B =
154 + 93 + 173 = 420 (100%)
R 154 of 420 ~ 36.67%
G 93 of 420 ~ 22.14%
B 173 of 420 ~ 41.19%

%36.67
%22.14
%41.19

CMYK color model

#9A5DAD color CMYK value is (11,46,0,32).

  • cyan value is 10.98%
  • magenta value is 46.24%
  • yellow value is 0.00%
  • key color value is 32.16%
CMYK:
(11,46,0,32)
C11M46Y0K32 
(11%,46%,0%,32%)
(0.11/0.46/0.00/0.32)	

CMYK percentages

%10.98
%46.24
%0
%32.16

Codes

Color #9A5DAD in popluar color models

9A5DAD
RGB15493173
HSL286°32.79%52.16%
HSB/HSV286°46.24%67.84%
CMYK10.98%46.24%0.00%
32.16%

Color #9A5DAD in popluar number systems.

HEX9A5DAD
Decimal15493173
Binary10011010101110110101101
Octal232135255

Shades and tints

Shades of #9A5DAD

#9A5DAD
(154,93,173)
#8C559E
(140,85,158)
#7E4D8F
(126,77,143)
#704580
(112,69,128)
#623D71
(98,61,113)
#543562
(84,53,98)
#462D53
(70,45,83)
#382544
(56,37,68)
#2A1D35
(42,29,53)
#1C1526
(28,21,38)
#0E0D17
(14,13,23)
#000000
(0,0,0)

Tints of #9A5DAD

#9A5DAD
(154,93,173)
#A36BB4
(163,107,180)
#AC79BB
(172,121,187)
#B587C2
(181,135,194)
#BE95C9
(190,149,201)
#C7A3D0
(199,163,208)
#D0B1D7
(208,177,215)
#D9BFDE
(217,191,222)
#E2CDE5
(226,205,229)
#EBDBEC
(235,219,236)
#F4E9F3
(244,233,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9A5DAD color. Also use rgb(154,93,173) instead hex code.

Text Font Color

.myTextColor { color: #9A5DAD; }

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

This text font color is #9A5DAD.


Background Color

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

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

This div background color is #9A5DAD.


Border color

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

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

This div border color is #9A5DAD.


Opacity

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

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

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

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

This text has shadow with #9A5DAD color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9A5DAD on black background.


Color preview on white background

This text has color #9A5DAD on white background.



Black color preview on #9A5DAD background

This text has black color on #9A5DAD background.


White color preview on #9A5DAD background

This text has white color on #9A5DAD background.