COLOR #7E7E9C

HEX: #7E7E9C RGB: (126,126,156)

Color info

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

RGB color model

#7E7E9C color RGB value is (126,126,156).

RGB: (126,126,156) (49%, 49%, 61%)

RGB channels and saturation

R 126 of 255 = 49%
G 126 of 255 = 49%
B 156 of 255 = 61%

126
126
156

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

Portions of RGB colors in percentages

R + G + B = 126 + 126 + 156 = 408 (100%)
R 126 of 408 ~ 30.88%
G 126 of 408 ~ 30.88%
B 156 of 408 ~ 38.24'%

%30.88
%30.88
%38.24

CMYK color model

#7E7E9C color CMYK value is (19,19,0,39).

  • cyan value is 19.23%
  • magenta value is 19.23%
  • yellow value is 0.00%
  • key color value is 38.82%

CMYK: (19,19,0,39)
C19M19Y0K39 (19%, 19%, 0%, 39%)
(0.19 / 0.19 / 0.00 / 0.39)

CMYK percentages

%19.23
%19.23
%0
%38.82

Codes

Color #7E7E9C in popluar color models

7E 7E 9C
RGB 126 126 156
HSL 240° 13.16% 55.29%
HSB/HSV 240° 19.23% 61.18%
CMYK 19.23% 19.23% 0.00%
38.82%

Color #7E7E9C in popluar number systems.

HEX 7E 7E 9C
Decimal 126 126 156
Binary 1111110 1111110 10011100
Octal 176 176 234

Shades and tints

Shades of #7E7E9C

#7E7E9C
(126,126,156)
#73738E
(115,115,142)
#686880
(104,104,128)
#5D5D72
(93,93,114)
#525264
(82,82,100)
#474756
(71,71,86)
#3C3C48
(60,60,72)
#31313A
(49,49,58)
#26262C
(38,38,44)
#1B1B1E
(27,27,30)
#101010
(16,16,16)
#000000
(0,0,0)

Tints of #7E7E9C

#7E7E9C
(126,126,156)
#8989A5
(137,137,165)
#9494AE
(148,148,174)
#9F9FB7
(159,159,183)
#AAAAC0
(170,170,192)
#B5B5C9
(181,181,201)
#C0C0D2
(192,192,210)
#CBCBDB
(203,203,219)
#D6D6E4
(214,214,228)
#E1E1ED
(225,225,237)
#ECECF6
(236,236,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #7E7E9C; }

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

This text font color is #7E7E9C.

Background Color

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

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

This div background color is #7E7E9C.

Border color

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

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

This div border color is #7E7E9C.

Opacity

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

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

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

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

This text has shadow with #7E7E9C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #7E7E9C.

Preview

Color preview on black background

This text has color #7E7E9C on black background.


Color preview on white background

This text has color #7E7E9C on white background.


Black color preview on #7E7E9C background

This text has black color on #7E7E9C background.


White color preview on #7E7E9C background

This text has white color on #7E7E9C background.


Related colors

Complementary color

Complementary color for #hex is #818163.


I love getcolorcode.com