COLOR #7E40AB

HEX: #7E40AB
RGB: (126,64,171)

Color info

#7E40AB contains mainly red and blue colors. Web safe color of #7E40AB is #663399 (or #639).

RGB color model

#7E40AB color RGB value is (126,64,171).

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

RGB channels and saturation

R 126 of 255 = 49%
G 64 of 255 = 25%
B 171 of 255 = 67%

126
64
171

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

Portions of RGB colors in percentages

R + G + B =
126 + 64 + 171 = 361 (100%)
R 126 of 361 ~ 34.9%
G 64 of 361 ~ 17.73%
B 171 of 361 ~ 47.37%

%34.9
%17.73
%47.37

CMYK color model

#7E40AB color CMYK value is (26,63,0,33).

  • cyan value is 26.32%
  • magenta value is 62.57%
  • yellow value is 0.00%
  • key color value is 32.94%
CMYK:
(26,63,0,33)
C26M63Y0K33 
(26%,63%,0%,33%)
(0.26/0.63/0.00/0.33)	

CMYK percentages

%26.32
%62.57
%0
%32.94

Codes

Color #7E40AB in popluar color models

7E40AB
RGB12664171
HSL275°45.53%46.08%
HSB/HSV275°62.57%67.06%
CMYK26.32%62.57%0.00%
32.94%

Color #7E40AB in popluar number systems.

HEX7E40AB
Decimal12664171
Binary1111110100000010101011
Octal176100253

Shades and tints

Shades of #7E40AB

#7E40AB
(126,64,171)
#733B9C
(115,59,156)
#68368D
(104,54,141)
#5D317E
(93,49,126)
#522C6F
(82,44,111)
#472760
(71,39,96)
#3C2251
(60,34,81)
#311D42
(49,29,66)
#261833
(38,24,51)
#1B1324
(27,19,36)
#100E15
(16,14,21)
#000000
(0,0,0)

Tints of #7E40AB

#7E40AB
(126,64,171)
#8951B2
(137,81,178)
#9462B9
(148,98,185)
#9F73C0
(159,115,192)
#AA84C7
(170,132,199)
#B595CE
(181,149,206)
#C0A6D5
(192,166,213)
#CBB7DC
(203,183,220)
#D6C8E3
(214,200,227)
#E1D9EA
(225,217,234)
#ECEAF1
(236,234,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #7E40AB; }

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

This text font color is #7E40AB.


Background Color

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

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

This div background color is #7E40AB.


Border color

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

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

This div border color is #7E40AB.


Opacity

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

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

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

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

This text has shadow with #7E40AB color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7E40AB on black background.


Color preview on white background

This text has color #7E40AB on white background.



Black color preview on #7E40AB background

This text has black color on #7E40AB background.


White color preview on #7E40AB background

This text has white color on #7E40AB background.