COLOR #9A5D9C

HEX: #9A5D9C RGB: (154,93,156)

Color info

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

RGB color model

#9A5D9C color RGB value is (154,93,156).

RGB: (154,93,156) (60%, 36%, 61%)

RGB channels and saturation

R 154 of 255 = 60%
G 93 of 255 = 36%
B 156 of 255 = 61%

154
93
156

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

Portions of RGB colors in percentages

R + G + B = 154 + 93 + 156 = 403 (100%)
R 154 of 403 ~ 38.21%
G 93 of 403 ~ 23.08%
B 156 of 403 ~ 38.71'%

%38.21
%23.08
%38.71

CMYK color model

#9A5D9C color CMYK value is (1,40,0,39).

  • cyan value is 1.28%
  • magenta value is 40.38%
  • yellow value is 0.00%
  • key color value is 38.82%

CMYK: (1,40,0,39)
C1M40Y0K39 (1%, 40%, 0%, 39%)
(0.01 / 0.40 / 0.00 / 0.39)

CMYK percentages

%1.28
%40.38
%0
%38.82

Codes

Color #9A5D9C in popluar color models

9A 5D 9C
RGB 154 93 156
HSL 298° 25.30% 48.82%
HSB/HSV 298° 40.38% 61.18%
CMYK 1.28% 40.38% 0.00%
38.82%

Color #9A5D9C in popluar number systems.

HEX 9A 5D 9C
Decimal 154 93 156
Binary 10011010 1011101 10011100
Octal 232 135 234

Shades and tints

Shades of #9A5D9C

#9A5D9C
(154,93,156)
#8C558E
(140,85,142)
#7E4D80
(126,77,128)
#704572
(112,69,114)
#623D64
(98,61,100)
#543556
(84,53,86)
#462D48
(70,45,72)
#38253A
(56,37,58)
#2A1D2C
(42,29,44)
#1C151E
(28,21,30)
#0E0D10
(14,13,16)
#000000
(0,0,0)

Tints of #9A5D9C

#9A5D9C
(154,93,156)
#A36BA5
(163,107,165)
#AC79AE
(172,121,174)
#B587B7
(181,135,183)
#BE95C0
(190,149,192)
#C7A3C9
(199,163,201)
#D0B1D2
(208,177,210)
#D9BFDB
(217,191,219)
#E2CDE4
(226,205,228)
#EBDBED
(235,219,237)
#F4E9F6
(244,233,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #9A5D9C; }

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

This text font color is #9A5D9C.

Background Color

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

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

This div background color is #9A5D9C.

Border color

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

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

This div border color is #9A5D9C.

Opacity

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

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

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

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

This text has shadow with #9A5D9C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #9A5D9C.

Preview

Color preview on black background

This text has color #9A5D9C on black background.


Color preview on white background

This text has color #9A5D9C on white background.


Black color preview on #9A5D9C background

This text has black color on #9A5D9C background.


White color preview on #9A5D9C background

This text has white color on #9A5D9C background.


Related colors

Complementary color

Complementary color for #hex is #65A263.


I love getcolorcode.com

Triadic colors

1 #9C9A5D and #5D9C9A with #9A5D9C are triadic colors.

2 #9C5D9A and #5D9A9C with #9A5D9C are triadic colors.