COLOR #7E7A8A

HEX: #7E7A8A
RGB: (126,122,138)

Color info

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

RGB color model

#7E7A8A color RGB value is (126,122,138).

  • red value is 126;
  • green value is 122;
  • blue value is 138.
RGB:
(126,122,138)
(49%,48%,54%)

RGB channels and saturation

R 126 of 255 = 49%
G 122 of 255 = 48%
B 138 of 255 = 54%

126
122
138

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

Portions of RGB colors in percentages

R + G + B =
126 + 122 + 138 = 386 (100%)
R 126 of 386 ~ 32.64%
G 122 of 386 ~ 31.61%
B 138 of 386 ~ 35.75%

%32.64
%31.61
%35.75

CMYK color model

#7E7A8A color CMYK value is (9,12,0,46).

  • cyan value is 8.70%
  • magenta value is 11.59%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(9,12,0,46)
C9M12Y0K46 
(9%,12%,0%,46%)
(0.09/0.12/0.00/0.46)	

CMYK percentages

%8.7
%11.59
%0
%45.88

Codes

Color #7E7A8A in popluar color models

7E7A8A
RGB126122138
HSL255°6.40%50.98%
HSB/HSV255°11.59%54.12%
CMYK8.70%11.59%0.00%
45.88%

Color #7E7A8A in popluar number systems.

HEX7E7A8A
Decimal126122138
Binary1111110111101010001010
Octal176172212

Shades and tints

Shades of #7E7A8A

#7E7A8A
(126,122,138)
#736F7E
(115,111,126)
#686472
(104,100,114)
#5D5966
(93,89,102)
#524E5A
(82,78,90)
#47434E
(71,67,78)
#3C3842
(60,56,66)
#312D36
(49,45,54)
#26222A
(38,34,42)
#1B171E
(27,23,30)
#100C12
(16,12,18)
#000000
(0,0,0)

Tints of #7E7A8A

#7E7A8A
(126,122,138)
#898694
(137,134,148)
#94929E
(148,146,158)
#9F9EA8
(159,158,168)
#AAAAB2
(170,170,178)
#B5B6BC
(181,182,188)
#C0C2C6
(192,194,198)
#CBCED0
(203,206,208)
#D6DADA
(214,218,218)
#E1E6E4
(225,230,228)
#ECF2EE
(236,242,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #7E7A8A; }

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

This text font color is #7E7A8A.


Background Color

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

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

This div background color is #7E7A8A.


Border color

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

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

This div border color is #7E7A8A.


Opacity

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

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

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

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

This text has shadow with #7E7A8A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7E7A8A on black background.


Color preview on white background

This text has color #7E7A8A on white background.



Black color preview on #7E7A8A background

This text has black color on #7E7A8A background.


White color preview on #7E7A8A background

This text has white color on #7E7A8A background.