COLOR #7E508B

HEX: #7E508B
RGB: (126,80,139)

Color info

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

RGB color model

#7E508B color RGB value is (126,80,139).

  • red value is 126;
  • green value is 80;
  • blue value is 139.
RGB:
(126,80,139)
(49%,31%,55%)

RGB channels and saturation

R 126 of 255 = 49%
G 80 of 255 = 31%
B 139 of 255 = 55%

126
80
139

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

Portions of RGB colors in percentages

R + G + B =
126 + 80 + 139 = 345 (100%)
R 126 of 345 ~ 36.52%
G 80 of 345 ~ 23.19%
B 139 of 345 ~ 40.29%

%36.52
%23.19
%40.29

CMYK color model

#7E508B color CMYK value is (9,42,0,45).

  • cyan value is 9.35%
  • magenta value is 42.45%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK:
(9,42,0,45)
C9M42Y0K45 
(9%,42%,0%,45%)
(0.09/0.42/0.00/0.45)	

CMYK percentages

%9.35
%42.45
%0
%45.49

Codes

Color #7E508B in popluar color models

7E508B
RGB12680139
HSL287°26.94%42.94%
HSB/HSV287°42.45%54.51%
CMYK9.35%42.45%0.00%
45.49%

Color #7E508B in popluar number systems.

HEX7E508B
Decimal12680139
Binary1111110101000010001011
Octal176120213

Shades and tints

Shades of #7E508B

#7E508B
(126,80,139)
#73497F
(115,73,127)
#684273
(104,66,115)
#5D3B67
(93,59,103)
#52345B
(82,52,91)
#472D4F
(71,45,79)
#3C2643
(60,38,67)
#311F37
(49,31,55)
#26182B
(38,24,43)
#1B111F
(27,17,31)
#100A13
(16,10,19)
#000000
(0,0,0)

Tints of #7E508B

#7E508B
(126,80,139)
#895F95
(137,95,149)
#946E9F
(148,110,159)
#9F7DA9
(159,125,169)
#AA8CB3
(170,140,179)
#B59BBD
(181,155,189)
#C0AAC7
(192,170,199)
#CBB9D1
(203,185,209)
#D6C8DB
(214,200,219)
#E1D7E5
(225,215,229)
#ECE6EF
(236,230,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7E508B color. Also use rgb(126,80,139) instead hex code.

Text Font Color

.myTextColor { color: #7E508B; }

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

This text font color is #7E508B.


Background Color

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

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

This div background color is #7E508B.


Border color

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

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

This div border color is #7E508B.


Opacity

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

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

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

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

This text has shadow with #7E508B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7E508B on black background.


Color preview on white background

This text has color #7E508B on white background.



Black color preview on #7E508B background

This text has black color on #7E508B background.


White color preview on #7E508B background

This text has white color on #7E508B background.