COLOR #9A7998

HEX: #9A7998 RGB: (154,121,152)

Color info

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

RGB color model

#9A7998 color RGB value is (154,121,152).

RGB: (154,121,152) (60%, 47%, 60%)

RGB channels and saturation

R 154 of 255 = 60%
G 121 of 255 = 47%
B 152 of 255 = 60%

154
121
152

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

Portions of RGB colors in percentages

R + G + B = 154 + 121 + 152 = 427 (100%)
R 154 of 427 ~ 36.07%
G 121 of 427 ~ 28.34%
B 152 of 427 ~ 35.6'%

%36.07
%28.34
%35.6

CMYK color model

#9A7998 color CMYK value is (0,21,1,40).

  • cyan value is 0.00%
  • magenta value is 21.43%
  • yellow value is 1.30%
  • key color value is 39.61%

CMYK: (0,21,1,40)
C0M21Y1K40 (0%, 21%, 1%, 40%)
(0.00 / 0.21 / 0.01 / 0.40)

CMYK percentages

%0
%21.43
%1.3
%39.61

Codes

Color #9A7998 in popluar color models

9A 79 98
RGB 154 121 152
HSL 304° 14.04% 53.92%
HSB/HSV 304° 21.43% 60.39%
CMYK 0.00% 21.43% 1.30%
39.61%

Color #9A7998 in popluar number systems.

HEX 9A 79 98
Decimal 154 121 152
Binary 10011010 1111001 10011000
Octal 232 171 230

Shades and tints

Shades of #9A7998

#9A7998
(154,121,152)
#8C6E8B
(140,110,139)
#7E637E
(126,99,126)
#705871
(112,88,113)
#624D64
(98,77,100)
#544257
(84,66,87)
#46374A
(70,55,74)
#382C3D
(56,44,61)
#2A2130
(42,33,48)
#1C1623
(28,22,35)
#0E0B16
(14,11,22)
#000000
(0,0,0)

Tints of #9A7998

#9A7998
(154,121,152)
#A385A1
(163,133,161)
#AC91AA
(172,145,170)
#B59DB3
(181,157,179)
#BEA9BC
(190,169,188)
#C7B5C5
(199,181,197)
#D0C1CE
(208,193,206)
#D9CDD7
(217,205,215)
#E2D9E0
(226,217,224)
#EBE5E9
(235,229,233)
#F4F1F2
(244,241,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #9A7998; }

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

This text font color is #9A7998.

Background Color

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

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

This div background color is #9A7998.

Border color

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

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

This div border color is #9A7998.

Opacity

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

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

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

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

This text has shadow with #9A7998 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #9A7998.

Preview

Color preview on black background

This text has color #9A7998 on black background.


Color preview on white background

This text has color #9A7998 on white background.


Black color preview on #9A7998 background

This text has black color on #9A7998 background.


White color preview on #9A7998 background

This text has white color on #9A7998 background.


Related colors

Complementary color

Complementary color for #hex is #658667.


I love getcolorcode.com

Triadic colors

1 #989A79 and #79989A with #9A7998 are triadic colors.

2 #98799A and #799A98 with #9A7998 are triadic colors.