COLOR #8A7898

HEX: #8A7898 RGB: (138,120,152)

Color info

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

RGB color model

#8A7898 color RGB value is (138,120,152).

RGB: (138,120,152) (54%, 47%, 60%)

RGB channels and saturation

R 138 of 255 = 54%
G 120 of 255 = 47%
B 152 of 255 = 60%

138
120
152

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

Portions of RGB colors in percentages

R + G + B = 138 + 120 + 152 = 410 (100%)
R 138 of 410 ~ 33.66%
G 120 of 410 ~ 29.27%
B 152 of 410 ~ 37.07'%

%33.66
%29.27
%37.07

CMYK color model

#8A7898 color CMYK value is (9,21,0,40).

  • cyan value is 9.21%
  • magenta value is 21.05%
  • yellow value is 0.00%
  • key color value is 40.39%

CMYK: (9,21,0,40)
C9M21Y0K40 (9%, 21%, 0%, 40%)
(0.09 / 0.21 / 0.00 / 0.40)

CMYK percentages

%9.21
%21.05
%0
%40.39

Codes

Color #8A7898 in popluar color models

8A 78 98
RGB 138 120 152
HSL 274° 13.45% 53.33%
HSB/HSV 274° 21.05% 59.61%
CMYK 9.21% 21.05% 0.00%
40.39%

Color #8A7898 in popluar number systems.

HEX 8A 78 98
Decimal 138 120 152
Binary 10001010 1111000 10011000
Octal 212 170 230

Shades and tints

Shades of #8A7898

#8A7898
(138,120,152)
#7E6E8B
(126,110,139)
#72647E
(114,100,126)
#665A71
(102,90,113)
#5A5064
(90,80,100)
#4E4657
(78,70,87)
#423C4A
(66,60,74)
#36323D
(54,50,61)
#2A2830
(42,40,48)
#1E1E23
(30,30,35)
#121416
(18,20,22)
#000000
(0,0,0)

Tints of #8A7898

#8A7898
(138,120,152)
#9484A1
(148,132,161)
#9E90AA
(158,144,170)
#A89CB3
(168,156,179)
#B2A8BC
(178,168,188)
#BCB4C5
(188,180,197)
#C6C0CE
(198,192,206)
#D0CCD7
(208,204,215)
#DAD8E0
(218,216,224)
#E4E4E9
(228,228,233)
#EEF0F2
(238,240,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A7898; }

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

This text font color is #8A7898.

Background Color

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

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

This div background color is #8A7898.

Border color

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

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

This div border color is #8A7898.

Opacity

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

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

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

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

This text has shadow with #8A7898 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #8A7898.

Preview

Color preview on black background

This text has color #8A7898 on black background.


Color preview on white background

This text has color #8A7898 on white background.


Black color preview on #8A7898 background

This text has black color on #8A7898 background.


White color preview on #8A7898 background

This text has white color on #8A7898 background.


Related colors

Complementary color

Complementary color for #hex is #758767.


I love getcolorcode.com

Triadic colors

1 #988A78 and #78988A with #8A7898 are triadic colors.

2 #98788A and #788A98 with #8A7898 are triadic colors.