COLOR #7B5797

HEX: #7B5797 RGB: (123,87,151)

Color info

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

RGB color model

#7B5797 color RGB value is (123,87,151).

RGB: (123,87,151) (48%, 34%, 59%)

RGB channels and saturation

R 123 of 255 = 48%
G 87 of 255 = 34%
B 151 of 255 = 59%

123
87
151

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

Portions of RGB colors in percentages

R + G + B = 123 + 87 + 151 = 361 (100%)
R 123 of 361 ~ 34.07%
G 87 of 361 ~ 24.1%
B 151 of 361 ~ 41.83'%

%34.07
%24.1
%41.83

CMYK color model

#7B5797 color CMYK value is (19,42,0,41).

  • cyan value is 18.54%
  • magenta value is 42.38%
  • yellow value is 0.00%
  • key color value is 40.78%

CMYK: (19,42,0,41)
C19M42Y0K41 (19%, 42%, 0%, 41%)
(0.19 / 0.42 / 0.00 / 0.41)

CMYK percentages

%18.54
%42.38
%0
%40.78

Codes

Color #7B5797 in popluar color models

7B 57 97
RGB 123 87 151
HSL 274° 26.89% 46.67%
HSB/HSV 274° 42.38% 59.22%
CMYK 18.54% 42.38% 0.00%
40.78%

Color #7B5797 in popluar number systems.

HEX 7B 57 97
Decimal 123 87 151
Binary 1111011 1010111 10010111
Octal 173 127 227

Shades and tints

Shades of #7B5797

#7B5797
(123,87,151)
#70508A
(112,80,138)
#65497D
(101,73,125)
#5A4270
(90,66,112)
#4F3B63
(79,59,99)
#443456
(68,52,86)
#392D49
(57,45,73)
#2E263C
(46,38,60)
#231F2F
(35,31,47)
#181822
(24,24,34)
#0D1115
(13,17,21)
#000000
(0,0,0)

Tints of #7B5797

#7B5797
(123,87,151)
#8766A0
(135,102,160)
#9375A9
(147,117,169)
#9F84B2
(159,132,178)
#AB93BB
(171,147,187)
#B7A2C4
(183,162,196)
#C3B1CD
(195,177,205)
#CFC0D6
(207,192,214)
#DBCFDF
(219,207,223)
#E7DEE8
(231,222,232)
#F3EDF1
(243,237,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7B5797 color. Also use rgb(123,87,151) instead hex code.

Text Font Color

.myTextColor { color: #7B5797; }

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

This text font color is #7B5797.

Background Color

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

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

This div background color is #7B5797.

Border color

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

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

This div border color is #7B5797.

Opacity

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

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

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

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

This text has shadow with #7B5797 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #7B5797.

Preview

Color preview on black background

This text has color #7B5797 on black background.


Color preview on white background

This text has color #7B5797 on white background.


Black color preview on #7B5797 background

This text has black color on #7B5797 background.


White color preview on #7B5797 background

This text has white color on #7B5797 background.


Related colors

Complementary color

Complementary color for #hex is #84A868.


I love getcolorcode.com

Triadic colors

1 #977B57 and #57977B with #7B5797 are triadic colors.

2 #97577B and #577B97 with #7B5797 are triadic colors.