COLOR #7C798B

HEX: #7C798B
RGB: (124,121,139)

Color info

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

RGB color model

#7C798B color RGB value is (124,121,139).

  • red value is 124;
  • green value is 121;
  • blue value is 139.
RGB:
(124,121,139)
(49%,47%,55%)

RGB channels and saturation

R 124 of 255 = 49%
G 121 of 255 = 47%
B 139 of 255 = 55%

124
121
139

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

Portions of RGB colors in percentages

R + G + B =
124 + 121 + 139 = 384 (100%)
R 124 of 384 ~ 32.29%
G 121 of 384 ~ 31.51%
B 139 of 384 ~ 36.2%

%32.29
%31.51
%36.2

CMYK color model

#7C798B color CMYK value is (11,13,0,45).

  • cyan value is 10.79%
  • magenta value is 12.95%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK:
(11,13,0,45)
C11M13Y0K45 
(11%,13%,0%,45%)
(0.11/0.13/0.00/0.45)	

CMYK percentages

%10.79
%12.95
%0
%45.49

Codes

Color #7C798B in popluar color models

7C798B
RGB124121139
HSL250°7.20%50.98%
HSB/HSV250°12.95%54.51%
CMYK10.79%12.95%0.00%
45.49%

Color #7C798B in popluar number systems.

HEX7C798B
Decimal124121139
Binary1111100111100110001011
Octal174171213

Shades and tints

Shades of #7C798B

#7C798B
(124,121,139)
#716E7F
(113,110,127)
#666373
(102,99,115)
#5B5867
(91,88,103)
#504D5B
(80,77,91)
#45424F
(69,66,79)
#3A3743
(58,55,67)
#2F2C37
(47,44,55)
#24212B
(36,33,43)
#19161F
(25,22,31)
#0E0B13
(14,11,19)
#000000
(0,0,0)

Tints of #7C798B

#7C798B
(124,121,139)
#878595
(135,133,149)
#92919F
(146,145,159)
#9D9DA9
(157,157,169)
#A8A9B3
(168,169,179)
#B3B5BD
(179,181,189)
#BEC1C7
(190,193,199)
#C9CDD1
(201,205,209)
#D4D9DB
(212,217,219)
#DFE5E5
(223,229,229)
#EAF1EF
(234,241,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7C798B color. Also use rgb(124,121,139) instead hex code.

Text Font Color

.myTextColor { color: #7C798B; }

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

This text font color is #7C798B.


Background Color

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

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

This div background color is #7C798B.


Border color

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

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

This div border color is #7C798B.


Opacity

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

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

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

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

This text has shadow with #7C798B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7C798B on black background.


Color preview on white background

This text has color #7C798B on white background.



Black color preview on #7C798B background

This text has black color on #7C798B background.


White color preview on #7C798B background

This text has white color on #7C798B background.