COLOR #7A5F8A

HEX: #7A5F8A
RGB: (122,95,138)

Color info

#7A5F8A contains red, green and blue colors in about the same proportion. Web safe color of #7A5F8A is #666699 (or #669).

RGB color model

#7A5F8A color RGB value is (122,95,138).

  • red value is 122;
  • green value is 95;
  • blue value is 138.
RGB:
(122,95,138)
(48%,37%,54%)

RGB channels and saturation

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

122
95
138

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

Portions of RGB colors in percentages

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

%34.37
%26.76
%38.87

CMYK color model

#7A5F8A color CMYK value is (12,31,0,46).

  • cyan value is 11.59%
  • magenta value is 31.16%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(12,31,0,46)
C12M31Y0K46 
(12%,31%,0%,46%)
(0.12/0.31/0.00/0.46)	

CMYK percentages

%11.59
%31.16
%0
%45.88

Codes

Color #7A5F8A in popluar color models

7A5F8A
RGB12295138
HSL278°18.45%45.69%
HSB/HSV278°31.16%54.12%
CMYK11.59%31.16%0.00%
45.88%

Color #7A5F8A in popluar number systems.

HEX7A5F8A
Decimal12295138
Binary1111010101111110001010
Octal172137212

Shades and tints

Shades of #7A5F8A

#7A5F8A
(122,95,138)
#6F577E
(111,87,126)
#644F72
(100,79,114)
#594766
(89,71,102)
#4E3F5A
(78,63,90)
#43374E
(67,55,78)
#382F42
(56,47,66)
#2D2736
(45,39,54)
#221F2A
(34,31,42)
#17171E
(23,23,30)
#0C0F12
(12,15,18)
#000000
(0,0,0)

Tints of #7A5F8A

#7A5F8A
(122,95,138)
#866D94
(134,109,148)
#927B9E
(146,123,158)
#9E89A8
(158,137,168)
#AA97B2
(170,151,178)
#B6A5BC
(182,165,188)
#C2B3C6
(194,179,198)
#CEC1D0
(206,193,208)
#DACFDA
(218,207,218)
#E6DDE4
(230,221,228)
#F2EBEE
(242,235,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #7A5F8A; }

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

This text font color is #7A5F8A.


Background Color

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

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

This div background color is #7A5F8A.


Border color

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

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

This div border color is #7A5F8A.


Opacity

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

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

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

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

This text has shadow with #7A5F8A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7A5F8A on black background.


Color preview on white background

This text has color #7A5F8A on white background.



Black color preview on #7A5F8A background

This text has black color on #7A5F8A background.


White color preview on #7A5F8A background

This text has white color on #7A5F8A background.