COLOR #9A6DA8

HEX: #9A6DA8
RGB: (154,109,168)

Color info

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

RGB color model

#9A6DA8 color RGB value is (154,109,168).

  • red value is 154;
  • green value is 109;
  • blue value is 168.
RGB:
(154,109,168)
(60%,43%,66%)

RGB channels and saturation

R 154 of 255 = 60%
G 109 of 255 = 43%
B 168 of 255 = 66%

154
109
168

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

Portions of RGB colors in percentages

R + G + B =
154 + 109 + 168 = 431 (100%)
R 154 of 431 ~ 35.73%
G 109 of 431 ~ 25.29%
B 168 of 431 ~ 38.98%

%35.73
%25.29
%38.98

CMYK color model

#9A6DA8 color CMYK value is (8,35,0,34).

  • cyan value is 8.33%
  • magenta value is 35.12%
  • yellow value is 0.00%
  • key color value is 34.12%
CMYK:
(8,35,0,34)
C8M35Y0K34 
(8%,35%,0%,34%)
(0.08/0.35/0.00/0.34)	

CMYK percentages

%8.33
%35.12
%0
%34.12

Codes

Color #9A6DA8 in popluar color models

9A6DA8
RGB154109168
HSL286°25.32%54.31%
HSB/HSV286°35.12%65.88%
CMYK8.33%35.12%0.00%
34.12%

Color #9A6DA8 in popluar number systems.

HEX9A6DA8
Decimal154109168
Binary10011010110110110101000
Octal232155250

Shades and tints

Shades of #9A6DA8

#9A6DA8
(154,109,168)
#8C6499
(140,100,153)
#7E5B8A
(126,91,138)
#70527B
(112,82,123)
#62496C
(98,73,108)
#54405D
(84,64,93)
#46374E
(70,55,78)
#382E3F
(56,46,63)
#2A2530
(42,37,48)
#1C1C21
(28,28,33)
#0E1312
(14,19,18)
#000000
(0,0,0)

Tints of #9A6DA8

#9A6DA8
(154,109,168)
#A37AAF
(163,122,175)
#AC87B6
(172,135,182)
#B594BD
(181,148,189)
#BEA1C4
(190,161,196)
#C7AECB
(199,174,203)
#D0BBD2
(208,187,210)
#D9C8D9
(217,200,217)
#E2D5E0
(226,213,224)
#EBE2E7
(235,226,231)
#F4EFEE
(244,239,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9A6DA8 color. Also use rgb(154,109,168) instead hex code.

Text Font Color

.myTextColor { color: #9A6DA8; }

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

This text font color is #9A6DA8.


Background Color

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

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

This div background color is #9A6DA8.


Border color

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

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

This div border color is #9A6DA8.


Opacity

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

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

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

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

This text has shadow with #9A6DA8 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9A6DA8 on black background.


Color preview on white background

This text has color #9A6DA8 on white background.



Black color preview on #9A6DA8 background

This text has black color on #9A6DA8 background.


White color preview on #9A6DA8 background

This text has white color on #9A6DA8 background.