COLOR #8A798A

HEX: #8A798A
RGB: (138,121,138)

Color info

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

RGB color model

#8A798A color RGB value is (138,121,138).

  • red value is 138;
  • green value is 121;
  • blue value is 138.
RGB:
(138,121,138)
(54%,47%,54%)

RGB channels and saturation

R 138 of 255 = 54%
G 121 of 255 = 47%
B 138 of 255 = 54%

138
121
138

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

Portions of RGB colors in percentages

R + G + B =
138 + 121 + 138 = 397 (100%)
R 138 of 397 ~ 34.76%
G 121 of 397 ~ 30.48%
B 138 of 397 ~ 34.76%

%34.76
%30.48
%34.76

CMYK color model

#8A798A color CMYK value is (0,12,0,46).

  • cyan value is 0.00%
  • magenta value is 12.32%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(0,12,0,46)
C0M12Y0K46 
(0%,12%,0%,46%)
(0.00/0.12/0.00/0.46)	

CMYK percentages

%0
%12.32
%0
%45.88

Codes

Color #8A798A in popluar color models

8A798A
RGB138121138
HSL300°6.77%50.78%
HSB/HSV300°12.32%54.12%
CMYK0.00%12.32%0.00%
45.88%

Color #8A798A in popluar number systems.

HEX8A798A
Decimal138121138
Binary10001010111100110001010
Octal212171212

Shades and tints

Shades of #8A798A

#8A798A
(138,121,138)
#7E6E7E
(126,110,126)
#726372
(114,99,114)
#665866
(102,88,102)
#5A4D5A
(90,77,90)
#4E424E
(78,66,78)
#423742
(66,55,66)
#362C36
(54,44,54)
#2A212A
(42,33,42)
#1E161E
(30,22,30)
#120B12
(18,11,18)
#000000
(0,0,0)

Tints of #8A798A

#8A798A
(138,121,138)
#948594
(148,133,148)
#9E919E
(158,145,158)
#A89DA8
(168,157,168)
#B2A9B2
(178,169,178)
#BCB5BC
(188,181,188)
#C6C1C6
(198,193,198)
#D0CDD0
(208,205,208)
#DAD9DA
(218,217,218)
#E4E5E4
(228,229,228)
#EEF1EE
(238,241,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A798A color. Also use rgb(138,121,138) instead hex code.

Text Font Color

.myTextColor { color: #8A798A; }

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

This text font color is #8A798A.


Background Color

.myBgColor { background-color: #8A798A; }

<div style="background-color:#8A798A">Inner text</div>

This div background color is #8A798A.


Border color

.myBorderColor { border: 1px solid #8A798A; }

<div style="border:3px solid #8A798A">Div</div>

This div border color is #8A798A.


Opacity

.myOpacity80 { color: #8A798A; opacity: 0.8; }

<p style="color:#8A798A;opacity:0.8;">80%</p>

Text with #8A798A 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 #8A798A;}

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

This text has shadow with #8A798A color.

.textShadow {text-shadow: 3px 3px 1px #8A798A, 3px 3px 1px red;}

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

This text has shadow with #8A798A primary color and red secondary color.


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

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

This text has shadow with #8A798A and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A798A on black background.


Color preview on white background

This text has color #8A798A on white background.



Black color preview on #8A798A background

This text has black color on #8A798A background.


White color preview on #8A798A background

This text has white color on #8A798A background.