COLOR #8A7D98

HEX: #8A7D98
RGB: (138,125,152)

Color info

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

RGB color model

#8A7D98 color RGB value is (138,125,152).

  • red value is 138;
  • green value is 125;
  • blue value is 152.
RGB:
(138,125,152)
(54%,49%,60%)

RGB channels and saturation

R 138 of 255 = 54%
G 125 of 255 = 49%
B 152 of 255 = 60%

138
125
152

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

Portions of RGB colors in percentages

R + G + B =
138 + 125 + 152 = 415 (100%)
R 138 of 415 ~ 33.25%
G 125 of 415 ~ 30.12%
B 152 of 415 ~ 36.63%

%33.25
%30.12
%36.63

CMYK color model

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

  • cyan value is 9.21%
  • magenta value is 17.76%
  • yellow value is 0.00%
  • key color value is 40.39%
CMYK:
(9,18,0,40)
C9M18Y0K40 
(9%,18%,0%,40%)
(0.09/0.18/0.00/0.40)	

CMYK percentages

%9.21
%17.76
%0
%40.39

Codes

Color #8A7D98 in popluar color models

8A7D98
RGB138125152
HSL269°11.59%54.31%
HSB/HSV269°17.76%59.61%
CMYK9.21%17.76%0.00%
40.39%

Color #8A7D98 in popluar number systems.

HEX8A7D98
Decimal138125152
Binary10001010111110110011000
Octal212175230

Shades and tints

Shades of #8A7D98

#8A7D98
(138,125,152)
#7E728B
(126,114,139)
#72677E
(114,103,126)
#665C71
(102,92,113)
#5A5164
(90,81,100)
#4E4657
(78,70,87)
#423B4A
(66,59,74)
#36303D
(54,48,61)
#2A2530
(42,37,48)
#1E1A23
(30,26,35)
#120F16
(18,15,22)
#000000
(0,0,0)

Tints of #8A7D98

#8A7D98
(138,125,152)
#9488A1
(148,136,161)
#9E93AA
(158,147,170)
#A89EB3
(168,158,179)
#B2A9BC
(178,169,188)
#BCB4C5
(188,180,197)
#C6BFCE
(198,191,206)
#D0CAD7
(208,202,215)
#DAD5E0
(218,213,224)
#E4E0E9
(228,224,233)
#EEEBF2
(238,235,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A7D98; }

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

This text font color is #8A7D98.


Background Color

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

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

This div background color is #8A7D98.


Border color

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

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

This div border color is #8A7D98.


Opacity

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

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

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

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

This text has shadow with #8A7D98 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A7D98 on black background.


Color preview on white background

This text has color #8A7D98 on white background.



Black color preview on #8A7D98 background

This text has black color on #8A7D98 background.


White color preview on #8A7D98 background

This text has white color on #8A7D98 background.