COLOR #7E5170

HEX: #7E5170
RGB: (126,81,112)

Color info

#7E5170 contains red, green and blue colors in about the same proportion. Web safe color of #7E5170 is #666666 (or #666).

RGB color model

#7E5170 color RGB value is (126,81,112).

  • red value is 126;
  • green value is 81;
  • blue value is 112.
RGB:
(126,81,112)
(49%,32%,44%)

RGB channels and saturation

R 126 of 255 = 49%
G 81 of 255 = 32%
B 112 of 255 = 44%

126
81
112

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

Portions of RGB colors in percentages

R + G + B =
126 + 81 + 112 = 319 (100%)
R 126 of 319 ~ 39.5%
G 81 of 319 ~ 25.39%
B 112 of 319 ~ 35.11%

%39.5
%25.39
%35.11

CMYK color model

#7E5170 color CMYK value is (0,36,11,51).

  • cyan value is 0.00%
  • magenta value is 35.71%
  • yellow value is 11.11%
  • key color value is 50.59%
CMYK:
(0,36,11,51)
C0M36Y11K51 
(0%,36%,11%,51%)
(0.00/0.36/0.11/0.51)	

CMYK percentages

%0
%35.71
%11.11
%50.59

Codes

Color #7E5170 in popluar color models

7E5170
RGB12681112
HSL319°21.74%40.59%
HSB/HSV319°35.71%49.41%
CMYK0.00%35.71%11.11%
50.59%

Color #7E5170 in popluar number systems.

HEX7E5170
Decimal12681112
Binary111111010100011110000
Octal176121160

Shades and tints

Shades of #7E5170

#7E5170
(126,81,112)
#734A66
(115,74,102)
#68435C
(104,67,92)
#5D3C52
(93,60,82)
#523548
(82,53,72)
#472E3E
(71,46,62)
#3C2734
(60,39,52)
#31202A
(49,32,42)
#261920
(38,25,32)
#1B1216
(27,18,22)
#100B0C
(16,11,12)
#000000
(0,0,0)

Tints of #7E5170

#7E5170
(126,81,112)
#89607D
(137,96,125)
#946F8A
(148,111,138)
#9F7E97
(159,126,151)
#AA8DA4
(170,141,164)
#B59CB1
(181,156,177)
#C0ABBE
(192,171,190)
#CBBACB
(203,186,203)
#D6C9D8
(214,201,216)
#E1D8E5
(225,216,229)
#ECE7F2
(236,231,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7E5170 color. Also use rgb(126,81,112) instead hex code.

Text Font Color

.myTextColor { color: #7E5170; }

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

This text font color is #7E5170.


Background Color

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

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

This div background color is #7E5170.


Border color

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

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

This div border color is #7E5170.


Opacity

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

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

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

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

This text has shadow with #7E5170 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7E5170 on black background.


Color preview on white background

This text has color #7E5170 on white background.



Black color preview on #7E5170 background

This text has black color on #7E5170 background.


White color preview on #7E5170 background

This text has white color on #7E5170 background.