COLOR #7C5796

HEX: #7C5796 RGB: (124,87,150)

Color info

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

RGB color model

#7C5796 color RGB value is (124,87,150).

RGB: (124,87,150) (49%, 34%, 59%)

RGB channels and saturation

R 124 of 255 = 49%
G 87 of 255 = 34%
B 150 of 255 = 59%

124
87
150

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

Portions of RGB colors in percentages

R + G + B = 124 + 87 + 150 = 361 (100%)
R 124 of 361 ~ 34.35%
G 87 of 361 ~ 24.1%
B 150 of 361 ~ 41.55'%

%34.35
%24.1
%41.55

CMYK color model

#7C5796 color CMYK value is (17,42,0,41).

  • cyan value is 17.33%
  • magenta value is 42.00%
  • yellow value is 0.00%
  • key color value is 41.18%

CMYK: (17,42,0,41)
C17M42Y0K41 (17%, 42%, 0%, 41%)
(0.17 / 0.42 / 0.00 / 0.41)

CMYK percentages

%17.33
%42
%0
%41.18

Codes

Color #7C5796 in popluar color models

7C 57 96
RGB 124 87 150
HSL 275° 26.58% 46.47%
HSB/HSV 275° 42.00% 58.82%
CMYK 17.33% 42.00% 0.00%
41.18%

Color #7C5796 in popluar number systems.

HEX 7C 57 96
Decimal 124 87 150
Binary 1111100 1010111 10010110
Octal 174 127 226

Shades and tints

Shades of #7C5796

#7C5796
(124,87,150)
#715089
(113,80,137)
#66497C
(102,73,124)
#5B426F
(91,66,111)
#503B62
(80,59,98)
#453455
(69,52,85)
#3A2D48
(58,45,72)
#2F263B
(47,38,59)
#241F2E
(36,31,46)
#191821
(25,24,33)
#0E1114
(14,17,20)
#000000
(0,0,0)

Tints of #7C5796

#7C5796
(124,87,150)
#87669F
(135,102,159)
#9275A8
(146,117,168)
#9D84B1
(157,132,177)
#A893BA
(168,147,186)
#B3A2C3
(179,162,195)
#BEB1CC
(190,177,204)
#C9C0D5
(201,192,213)
#D4CFDE
(212,207,222)
#DFDEE7
(223,222,231)
#EAEDF0
(234,237,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7C5796 color. Also use rgb(124,87,150) instead hex code.

Text Font Color

.myTextColor { color: #7C5796; }

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

This text font color is #7C5796.

Background Color

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

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

This div background color is #7C5796.

Border color

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

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

This div border color is #7C5796.

Opacity

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

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

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

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

This text has shadow with #7C5796 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #7C5796.

Preview

Color preview on black background

This text has color #7C5796 on black background.


Color preview on white background

This text has color #7C5796 on white background.


Black color preview on #7C5796 background

This text has black color on #7C5796 background.


White color preview on #7C5796 background

This text has white color on #7C5796 background.


Related colors

Complementary color

Complementary color for #hex is #83A869.


I love getcolorcode.com

Triadic colors

1 #967C57 and #57967C with #7C5796 are triadic colors.

2 #96577C and #577C96 with #7C5796 are triadic colors.