COLOR #7A5F9E

HEX: #7A5F9E RGB: (122,95,158)

Color info

#7A5F9E contains mainly red and blue colors. Web safe color of #7A5F9E is #666699 (or #669).

RGB color model

#7A5F9E color RGB value is (122,95,158).

RGB: (122,95,158) (48%, 37%, 62%)

RGB channels and saturation

R 122 of 255 = 48%
G 95 of 255 = 37%
B 158 of 255 = 62%

122
95
158

R + G + B ~ 49%. #7A5F9E is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 122 + 95 + 158 = 375 (100%)
R 122 of 375 ~ 32.53%
G 95 of 375 ~ 25.33%
B 158 of 375 ~ 42.13'%

%32.53
%25.33
%42.13

CMYK color model

#7A5F9E color CMYK value is (23,40,0,38).

  • cyan value is 22.78%
  • magenta value is 39.87%
  • yellow value is 0.00%
  • key color value is 38.04%
CMYK: (23,40,0,38) C23M40Y0K38 (23%,40%,0%,38%) (0.23/0.40/0.00/0.38) 

CMYK percentages

%22.78
%39.87
%0
%38.04

Codes

Color #7A5F9E in popluar color models

7A 5F 9E
RGB 122 95 158
HSL 266° 24.90% 49.61%
HSB/HSV 266° 39.87% 61.96%
CMYK 22.78% 39.87% 0.00%
38.04%

Color #7A5F9E in popluar number systems.

HEX 7A 5F 9E
Decimal 122 95 158
Binary 1111010 1011111 10011110
Octal 172 137 236

Shades and tints

Shades of #7A5F9E

#7A5F9E
(122,95,158)
#6F5790
(111,87,144)
#644F82
(100,79,130)
#594774
(89,71,116)
#4E3F66
(78,63,102)
#433758
(67,55,88)
#382F4A
(56,47,74)
#2D273C
(45,39,60)
#221F2E
(34,31,46)
#171720
(23,23,32)
#0C0F12
(12,15,18)
#000000
(0,0,0)

Tints of #7A5F9E

#7A5F9E
(122,95,158)
#866DA6
(134,109,166)
#927BAE
(146,123,174)
#9E89B6
(158,137,182)
#AA97BE
(170,151,190)
#B6A5C6
(182,165,198)
#C2B3CE
(194,179,206)
#CEC1D6
(206,193,214)
#DACFDE
(218,207,222)
#E6DDE6
(230,221,230)
#F2EBEE
(242,235,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7A5F9E color. Also use rgb(122,95,158) instead hex code.

Text Font Color

.myTextColor { color: #7A5F9E; }

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

This text font color is #7A5F9E.

Background Color

.myBgColor { background-color: #7A5F9E; }

<div style="background-color:#7A5F9E">Inner text</div>

This div background color is #7A5F9E.

Border color

.myBorderColor { border: 1px solid #7A5F9E; }

<div style="border:3px solid #7A5F9E">Div</div>

This div border color is #7A5F9E.

Opacity

.myOpacity80 { color: #7A5F9E; opacity: 0.8; }

<p style="color:#7A5F9E;opacity:0.8;">80%</p>

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

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

This text has shadow with #7A5F9E color.


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

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

This text has shadow with #7A5F9E primary color and red secondary color.


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

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

This text has shadow with #7A5F9E and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #7A5F9E.

Preview

Color preview on black background

This text has color #7A5F9E on black background.


Color preview on white background

This text has color #7A5F9E on white background.


Black color preview on #7A5F9E background

This text has black color on #7A5F9E background.


White color preview on #7A5F9E background

This text has white color on #7A5F9E background.


Related colors

Complementary color

Complementary color for #hex is #85A061.


I love getcolorcode.com

Triadic colors

1 #9E7A5F and #5F9E7A with #7A5F9E are triadic colors.

2 #9E5F7A and #5F7A9E with #7A5F9E are triadic colors.