COLOR #9A7E8E

HEX: #9A7E8E
RGB: (154,126,142)

Color info

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

RGB color model

#9A7E8E color RGB value is (154,126,142).

  • red value is 154;
  • green value is 126;
  • blue value is 142.
RGB:
(154,126,142)
(60%,49%,56%)

RGB channels and saturation

R 154 of 255 = 60%
G 126 of 255 = 49%
B 142 of 255 = 56%

154
126
142

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

Portions of RGB colors in percentages

R + G + B =
154 + 126 + 142 = 422 (100%)
R 154 of 422 ~ 36.49%
G 126 of 422 ~ 29.86%
B 142 of 422 ~ 33.65%

%36.49
%29.86
%33.65

CMYK color model

#9A7E8E color CMYK value is (0,18,8,40).

  • cyan value is 0.00%
  • magenta value is 18.18%
  • yellow value is 7.79%
  • key color value is 39.61%
CMYK:
(0,18,8,40)
C0M18Y8K40 
(0%,18%,8%,40%)
(0.00/0.18/0.08/0.40)	

CMYK percentages

%0
%18.18
%7.79
%39.61

Codes

Color #9A7E8E in popluar color models

9A7E8E
RGB154126142
HSL326°12.17%54.90%
HSB/HSV326°18.18%60.39%
CMYK0.00%18.18%7.79%
39.61%

Color #9A7E8E in popluar number systems.

HEX9A7E8E
Decimal154126142
Binary10011010111111010001110
Octal232176216

Shades and tints

Shades of #9A7E8E

#9A7E8E
(154,126,142)
#8C7382
(140,115,130)
#7E6876
(126,104,118)
#705D6A
(112,93,106)
#62525E
(98,82,94)
#544752
(84,71,82)
#463C46
(70,60,70)
#38313A
(56,49,58)
#2A262E
(42,38,46)
#1C1B22
(28,27,34)
#0E1016
(14,16,22)
#000000
(0,0,0)

Tints of #9A7E8E

#9A7E8E
(154,126,142)
#A38998
(163,137,152)
#AC94A2
(172,148,162)
#B59FAC
(181,159,172)
#BEAAB6
(190,170,182)
#C7B5C0
(199,181,192)
#D0C0CA
(208,192,202)
#D9CBD4
(217,203,212)
#E2D6DE
(226,214,222)
#EBE1E8
(235,225,232)
#F4ECF2
(244,236,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #9A7E8E; }

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

This text font color is #9A7E8E.


Background Color

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

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

This div background color is #9A7E8E.


Border color

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

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

This div border color is #9A7E8E.


Opacity

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

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

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

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

This text has shadow with #9A7E8E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9A7E8E on black background.


Color preview on white background

This text has color #9A7E8E on white background.



Black color preview on #9A7E8E background

This text has black color on #9A7E8E background.


White color preview on #9A7E8E background

This text has white color on #9A7E8E background.