COLOR #7E7BA2

HEX: #7E7BA2
RGB: (126,123,162)

Color info

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

RGB color model

#7E7BA2 color RGB value is (126,123,162).

  • red value is 126;
  • green value is 123;
  • blue value is 162.
RGB:
(126,123,162)
(49%,48%,64%)

RGB channels and saturation

R 126 of 255 = 49%
G 123 of 255 = 48%
B 162 of 255 = 64%

126
123
162

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

Portions of RGB colors in percentages

R + G + B =
126 + 123 + 162 = 411 (100%)
R 126 of 411 ~ 30.66%
G 123 of 411 ~ 29.93%
B 162 of 411 ~ 39.42%

%30.66
%29.93
%39.42

CMYK color model

#7E7BA2 color CMYK value is (22,24,0,36).

  • cyan value is 22.22%
  • magenta value is 24.07%
  • yellow value is 0.00%
  • key color value is 36.47%
CMYK:
(22,24,0,36)
C22M24Y0K36 
(22%,24%,0%,36%)
(0.22/0.24/0.00/0.36)	

CMYK percentages

%22.22
%24.07
%0
%36.47

Codes

Color #7E7BA2 in popluar color models

7E7BA2
RGB126123162
HSL245°17.33%55.88%
HSB/HSV245°24.07%63.53%
CMYK22.22%24.07%0.00%
36.47%

Color #7E7BA2 in popluar number systems.

HEX7E7BA2
Decimal126123162
Binary1111110111101110100010
Octal176173242

Shades and tints

Shades of #7E7BA2

#7E7BA2
(126,123,162)
#737094
(115,112,148)
#686586
(104,101,134)
#5D5A78
(93,90,120)
#524F6A
(82,79,106)
#47445C
(71,68,92)
#3C394E
(60,57,78)
#312E40
(49,46,64)
#262332
(38,35,50)
#1B1824
(27,24,36)
#100D16
(16,13,22)
#000000
(0,0,0)

Tints of #7E7BA2

#7E7BA2
(126,123,162)
#8987AA
(137,135,170)
#9493B2
(148,147,178)
#9F9FBA
(159,159,186)
#AAABC2
(170,171,194)
#B5B7CA
(181,183,202)
#C0C3D2
(192,195,210)
#CBCFDA
(203,207,218)
#D6DBE2
(214,219,226)
#E1E7EA
(225,231,234)
#ECF3F2
(236,243,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7E7BA2 color. Also use rgb(126,123,162) instead hex code.

Text Font Color

.myTextColor { color: #7E7BA2; }

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

This text font color is #7E7BA2.


Background Color

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

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

This div background color is #7E7BA2.


Border color

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

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

This div border color is #7E7BA2.


Opacity

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

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

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

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

This text has shadow with #7E7BA2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7E7BA2 on black background.


Color preview on white background

This text has color #7E7BA2 on white background.



Black color preview on #7E7BA2 background

This text has black color on #7E7BA2 background.


White color preview on #7E7BA2 background

This text has white color on #7E7BA2 background.