COLOR #7A5398

HEX: #7A5398
RGB: (122,83,152)

Color info

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

RGB color model

#7A5398 color RGB value is (122,83,152).

  • red value is 122;
  • green value is 83;
  • blue value is 152.
RGB:
(122,83,152)
(48%,33%,60%)

RGB channels and saturation

R 122 of 255 = 48%
G 83 of 255 = 33%
B 152 of 255 = 60%

122
83
152

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

Portions of RGB colors in percentages

R + G + B =
122 + 83 + 152 = 357 (100%)
R 122 of 357 ~ 34.17%
G 83 of 357 ~ 23.25%
B 152 of 357 ~ 42.58%

%34.17
%23.25
%42.58

CMYK color model

#7A5398 color CMYK value is (20,45,0,40).

  • cyan value is 19.74%
  • magenta value is 45.39%
  • yellow value is 0.00%
  • key color value is 40.39%
CMYK:
(20,45,0,40)
C20M45Y0K40 
(20%,45%,0%,40%)
(0.20/0.45/0.00/0.40)	

CMYK percentages

%19.74
%45.39
%0
%40.39

Codes

Color #7A5398 in popluar color models

7A5398
RGB12283152
HSL274°29.36%46.08%
HSB/HSV274°45.39%59.61%
CMYK19.74%45.39%0.00%
40.39%

Color #7A5398 in popluar number systems.

HEX7A5398
Decimal12283152
Binary1111010101001110011000
Octal172123230

Shades and tints

Shades of #7A5398

#7A5398
(122,83,152)
#6F4C8B
(111,76,139)
#64457E
(100,69,126)
#593E71
(89,62,113)
#4E3764
(78,55,100)
#433057
(67,48,87)
#38294A
(56,41,74)
#2D223D
(45,34,61)
#221B30
(34,27,48)
#171423
(23,20,35)
#0C0D16
(12,13,22)
#000000
(0,0,0)

Tints of #7A5398

#7A5398
(122,83,152)
#8662A1
(134,98,161)
#9271AA
(146,113,170)
#9E80B3
(158,128,179)
#AA8FBC
(170,143,188)
#B69EC5
(182,158,197)
#C2ADCE
(194,173,206)
#CEBCD7
(206,188,215)
#DACBE0
(218,203,224)
#E6DAE9
(230,218,233)
#F2E9F2
(242,233,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7A5398 color. Also use rgb(122,83,152) instead hex code.

Text Font Color

.myTextColor { color: #7A5398; }

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

This text font color is #7A5398.


Background Color

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

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

This div background color is #7A5398.


Border color

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

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

This div border color is #7A5398.


Opacity

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

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

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

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

This text has shadow with #7A5398 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7A5398 on black background.


Color preview on white background

This text has color #7A5398 on white background.



Black color preview on #7A5398 background

This text has black color on #7A5398 background.


White color preview on #7A5398 background

This text has white color on #7A5398 background.