COLOR #9A5F7D

HEX: #9A5F7D
RGB: (154,95,125)

Color info

#9A5F7D contains red, green and blue colors in about the same proportion. Web safe color of #9A5F7D is #996666 (or #966).

RGB color model

#9A5F7D color RGB value is (154,95,125).

  • red value is 154;
  • green value is 95;
  • blue value is 125.
RGB:
(154,95,125)
(60%,37%,49%)

RGB channels and saturation

R 154 of 255 = 60%
G 95 of 255 = 37%
B 125 of 255 = 49%

154
95
125

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

Portions of RGB colors in percentages

R + G + B =
154 + 95 + 125 = 374 (100%)
R 154 of 374 ~ 41.18%
G 95 of 374 ~ 25.4%
B 125 of 374 ~ 33.42%

%41.18
%25.4
%33.42

CMYK color model

#9A5F7D color CMYK value is (0,38,19,40).

  • cyan value is 0.00%
  • magenta value is 38.31%
  • yellow value is 18.83%
  • key color value is 39.61%
CMYK:
(0,38,19,40)
C0M38Y19K40 
(0%,38%,19%,40%)
(0.00/0.38/0.19/0.40)	

CMYK percentages

%0
%38.31
%18.83
%39.61

Codes

Color #9A5F7D in popluar color models

9A5F7D
RGB15495125
HSL329°23.69%48.82%
HSB/HSV329°38.31%60.39%
CMYK0.00%38.31%18.83%
39.61%

Color #9A5F7D in popluar number systems.

HEX9A5F7D
Decimal15495125
Binary1001101010111111111101
Octal232137175

Shades and tints

Shades of #9A5F7D

#9A5F7D
(154,95,125)
#8C5772
(140,87,114)
#7E4F67
(126,79,103)
#70475C
(112,71,92)
#623F51
(98,63,81)
#543746
(84,55,70)
#462F3B
(70,47,59)
#382730
(56,39,48)
#2A1F25
(42,31,37)
#1C171A
(28,23,26)
#0E0F0F
(14,15,15)
#000000
(0,0,0)

Tints of #9A5F7D

#9A5F7D
(154,95,125)
#A36D88
(163,109,136)
#AC7B93
(172,123,147)
#B5899E
(181,137,158)
#BE97A9
(190,151,169)
#C7A5B4
(199,165,180)
#D0B3BF
(208,179,191)
#D9C1CA
(217,193,202)
#E2CFD5
(226,207,213)
#EBDDE0
(235,221,224)
#F4EBEB
(244,235,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #9A5F7D; }

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

This text font color is #9A5F7D.


Background Color

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

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

This div background color is #9A5F7D.


Border color

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

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

This div border color is #9A5F7D.


Opacity

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

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

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

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

This text has shadow with #9A5F7D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9A5F7D on black background.


Color preview on white background

This text has color #9A5F7D on white background.



Black color preview on #9A5F7D background

This text has black color on #9A5F7D background.


White color preview on #9A5F7D background

This text has white color on #9A5F7D background.