COLOR #7E40B7

HEX: #7E40B7
RGB: (126,64,183)

Color info

#7E40B7 contains mainly red and blue colors. Web safe color of #7E40B7 is #6633CC (or #63C).

RGB color model

#7E40B7 color RGB value is (126,64,183).

  • red value is 126;
  • green value is 64;
  • blue value is 183.
RGB:
(126,64,183)
(49%,25%,72%)

RGB channels and saturation

R 126 of 255 = 49%
G 64 of 255 = 25%
B 183 of 255 = 72%

126
64
183

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

Portions of RGB colors in percentages

R + G + B =
126 + 64 + 183 = 373 (100%)
R 126 of 373 ~ 33.78%
G 64 of 373 ~ 17.16%
B 183 of 373 ~ 49.06%

%33.78
%17.16
%49.06

CMYK color model

#7E40B7 color CMYK value is (31,65,0,28).

  • cyan value is 31.15%
  • magenta value is 65.03%
  • yellow value is 0.00%
  • key color value is 28.24%
CMYK:
(31,65,0,28)
C31M65Y0K28 
(31%,65%,0%,28%)
(0.31/0.65/0.00/0.28)	

CMYK percentages

%31.15
%65.03
%0
%28.24

Codes

Color #7E40B7 in popluar color models

7E40B7
RGB12664183
HSL271°48.18%48.43%
HSB/HSV271°65.03%71.76%
CMYK31.15%65.03%0.00%
28.24%

Color #7E40B7 in popluar number systems.

HEX7E40B7
Decimal12664183
Binary1111110100000010110111
Octal176100267

Shades and tints

Shades of #7E40B7

#7E40B7
(126,64,183)
#733BA7
(115,59,167)
#683697
(104,54,151)
#5D3187
(93,49,135)
#522C77
(82,44,119)
#472767
(71,39,103)
#3C2257
(60,34,87)
#311D47
(49,29,71)
#261837
(38,24,55)
#1B1327
(27,19,39)
#100E17
(16,14,23)
#000000
(0,0,0)

Tints of #7E40B7

#7E40B7
(126,64,183)
#8951BD
(137,81,189)
#9462C3
(148,98,195)
#9F73C9
(159,115,201)
#AA84CF
(170,132,207)
#B595D5
(181,149,213)
#C0A6DB
(192,166,219)
#CBB7E1
(203,183,225)
#D6C8E7
(214,200,231)
#E1D9ED
(225,217,237)
#ECEAF3
(236,234,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7E40B7 color. Also use rgb(126,64,183) instead hex code.

Text Font Color

.myTextColor { color: #7E40B7; }

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

This text font color is #7E40B7.


Background Color

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

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

This div background color is #7E40B7.


Border color

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

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

This div border color is #7E40B7.


Opacity

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

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

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

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

This text has shadow with #7E40B7 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7E40B7 on black background.


Color preview on white background

This text has color #7E40B7 on white background.



Black color preview on #7E40B7 background

This text has black color on #7E40B7 background.


White color preview on #7E40B7 background

This text has white color on #7E40B7 background.