COLOR #9A7B9A

HEX: #9A7B9A
RGB: (154,123,154)

Color info

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

RGB color model

#9A7B9A color RGB value is (154,123,154).

  • red value is 154;
  • green value is 123;
  • blue value is 154.
RGB:
(154,123,154)
(60%,48%,60%)

RGB channels and saturation

R 154 of 255 = 60%
G 123 of 255 = 48%
B 154 of 255 = 60%

154
123
154

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

Portions of RGB colors in percentages

R + G + B =
154 + 123 + 154 = 431 (100%)
R 154 of 431 ~ 35.73%
G 123 of 431 ~ 28.54%
B 154 of 431 ~ 35.73%

%35.73
%28.54
%35.73

CMYK color model

#9A7B9A color CMYK value is (0,20,0,40).

  • cyan value is 0.00%
  • magenta value is 20.13%
  • yellow value is 0.00%
  • key color value is 39.61%
CMYK:
(0,20,0,40)
C0M20Y0K40 
(0%,20%,0%,40%)
(0.00/0.20/0.00/0.40)	

CMYK percentages

%0
%20.13
%0
%39.61

Codes

Color #9A7B9A in popluar color models

9A7B9A
RGB154123154
HSL300°13.30%54.31%
HSB/HSV300°20.13%60.39%
CMYK0.00%20.13%0.00%
39.61%

Color #9A7B9A in popluar number systems.

HEX9A7B9A
Decimal154123154
Binary10011010111101110011010
Octal232173232

Shades and tints

Shades of #9A7B9A

#9A7B9A
(154,123,154)
#8C708C
(140,112,140)
#7E657E
(126,101,126)
#705A70
(112,90,112)
#624F62
(98,79,98)
#544454
(84,68,84)
#463946
(70,57,70)
#382E38
(56,46,56)
#2A232A
(42,35,42)
#1C181C
(28,24,28)
#0E0D0E
(14,13,14)
#000000
(0,0,0)

Tints of #9A7B9A

#9A7B9A
(154,123,154)
#A387A3
(163,135,163)
#AC93AC
(172,147,172)
#B59FB5
(181,159,181)
#BEABBE
(190,171,190)
#C7B7C7
(199,183,199)
#D0C3D0
(208,195,208)
#D9CFD9
(217,207,217)
#E2DBE2
(226,219,226)
#EBE7EB
(235,231,235)
#F4F3F4
(244,243,244)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #9A7B9A; }

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

This text font color is #9A7B9A.


Background Color

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

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

This div background color is #9A7B9A.


Border color

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

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

This div border color is #9A7B9A.


Opacity

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

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

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

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

This text has shadow with #9A7B9A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9A7B9A on black background.


Color preview on white background

This text has color #9A7B9A on white background.



Black color preview on #9A7B9A background

This text has black color on #9A7B9A background.


White color preview on #9A7B9A background

This text has white color on #9A7B9A background.