COLOR #8A5F7A

HEX: #8A5F7A RGB: (138,95,122)

Color info

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

RGB color model

#8A5F7A color RGB value is (138,95,122).

RGB: (138,95,122) (54%, 37%, 48%)

RGB channels and saturation

R 138 of 255 = 54%
G 95 of 255 = 37%
B 122 of 255 = 48%

138
95
122

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

Portions of RGB colors in percentages

R + G + B = 138 + 95 + 122 = 355 (100%)
R 138 of 355 ~ 38.87%
G 95 of 355 ~ 26.76%
B 122 of 355 ~ 34.37'%

%38.87
%26.76
%34.37

CMYK color model

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

  • cyan value is 0.00%
  • magenta value is 31.16%
  • yellow value is 11.59%
  • key color value is 45.88%

CMYK: (0,31,12,46)
C0M31Y12K46 (0%, 31%, 12%, 46%)
(0.00 / 0.31 / 0.12 / 0.46)

CMYK percentages

%0
%31.16
%11.59
%45.88

Codes

Color #8A5F7A in popluar color models

8A 5F 7A
RGB 138 95 122
HSL 322° 18.45% 45.69%
HSB/HSV 322° 31.16% 54.12%
CMYK 0.00% 31.16% 11.59%
45.88%

Color #8A5F7A in popluar number systems.

HEX 8A 5F 7A
Decimal 138 95 122
Binary 10001010 1011111 1111010
Octal 212 137 172

Shades and tints

Shades of #8A5F7A

#8A5F7A
(138,95,122)
#7E576F
(126,87,111)
#724F64
(114,79,100)
#664759
(102,71,89)
#5A3F4E
(90,63,78)
#4E3743
(78,55,67)
#422F38
(66,47,56)
#36272D
(54,39,45)
#2A1F22
(42,31,34)
#1E1717
(30,23,23)
#120F0C
(18,15,12)
#000000
(0,0,0)

Tints of #8A5F7A

#8A5F7A
(138,95,122)
#946D86
(148,109,134)
#9E7B92
(158,123,146)
#A8899E
(168,137,158)
#B297AA
(178,151,170)
#BCA5B6
(188,165,182)
#C6B3C2
(198,179,194)
#D0C1CE
(208,193,206)
#DACFDA
(218,207,218)
#E4DDE6
(228,221,230)
#EEEBF2
(238,235,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A5F7A; }

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

This text font color is #8A5F7A.

Background Color

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

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

This div background color is #8A5F7A.

Border color

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

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

This div border color is #8A5F7A.

Opacity

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

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

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

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

This text has shadow with #8A5F7A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #8A5F7A.

Preview

Color preview on black background

This text has color #8A5F7A on black background.


Color preview on white background

This text has color #8A5F7A on white background.


Black color preview on #8A5F7A background

This text has black color on #8A5F7A background.


White color preview on #8A5F7A background

This text has white color on #8A5F7A background.


Related colors

Complementary color

Complementary color for #hex is #75A085.


I love getcolorcode.com

Triadic colors

1 #7A8A5F and #5F7A8A with #8A5F7A are triadic colors.

2 #7A5F8A and #5F8A7A with #8A5F7A are triadic colors.