COLOR #9A5898

HEX: #9A5898
RGB: (154,88,152)

Color info

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

RGB color model

#9A5898 color RGB value is (154,88,152).

  • red value is 154;
  • green value is 88;
  • blue value is 152.
RGB:
(154,88,152)
(60%,35%,60%)

RGB channels and saturation

R 154 of 255 = 60%
G 88 of 255 = 35%
B 152 of 255 = 60%

154
88
152

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

Portions of RGB colors in percentages

R + G + B =
154 + 88 + 152 = 394 (100%)
R 154 of 394 ~ 39.09%
G 88 of 394 ~ 22.34%
B 152 of 394 ~ 38.58%

%39.09
%22.34
%38.58

CMYK color model

#9A5898 color CMYK value is (0,43,1,40).

  • cyan value is 0.00%
  • magenta value is 42.86%
  • yellow value is 1.30%
  • key color value is 39.61%
CMYK:
(0,43,1,40)
C0M43Y1K40 
(0%,43%,1%,40%)
(0.00/0.43/0.01/0.40)	

CMYK percentages

%0
%42.86
%1.3
%39.61

Codes

Color #9A5898 in popluar color models

9A5898
RGB15488152
HSL302°27.27%47.45%
HSB/HSV302°42.86%60.39%
CMYK0.00%42.86%1.30%
39.61%

Color #9A5898 in popluar number systems.

HEX9A5898
Decimal15488152
Binary10011010101100010011000
Octal232130230

Shades and tints

Shades of #9A5898

#9A5898
(154,88,152)
#8C508B
(140,80,139)
#7E487E
(126,72,126)
#704071
(112,64,113)
#623864
(98,56,100)
#543057
(84,48,87)
#46284A
(70,40,74)
#38203D
(56,32,61)
#2A1830
(42,24,48)
#1C1023
(28,16,35)
#0E0816
(14,8,22)
#000000
(0,0,0)

Tints of #9A5898

#9A5898
(154,88,152)
#A367A1
(163,103,161)
#AC76AA
(172,118,170)
#B585B3
(181,133,179)
#BE94BC
(190,148,188)
#C7A3C5
(199,163,197)
#D0B2CE
(208,178,206)
#D9C1D7
(217,193,215)
#E2D0E0
(226,208,224)
#EBDFE9
(235,223,233)
#F4EEF2
(244,238,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #9A5898; }

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

This text font color is #9A5898.


Background Color

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

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

This div background color is #9A5898.


Border color

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

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

This div border color is #9A5898.


Opacity

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

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

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

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

This text has shadow with #9A5898 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9A5898 on black background.


Color preview on white background

This text has color #9A5898 on white background.



Black color preview on #9A5898 background

This text has black color on #9A5898 background.


White color preview on #9A5898 background

This text has white color on #9A5898 background.