COLOR #787E51

HEX: #787E51
RGB: (120,126,81)

Color info

#787E51 contains red, green and blue colors in about the same proportion. Web safe color of #787E51 is #666666 (or #666).

RGB color model

#787E51 color RGB value is (120,126,81).

  • red value is 120;
  • green value is 126;
  • blue value is 81.
RGB:
(120,126,81)
(47%,49%,32%)

RGB channels and saturation

R 120 of 255 = 47%
G 126 of 255 = 49%
B 81 of 255 = 32%

120
126
81

R + G + B ~ 43%. #787E51 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
120 + 126 + 81 = 327 (100%)
R 120 of 327 ~ 36.7%
G 126 of 327 ~ 38.53%
B 81 of 327 ~ 24.77%

%36.7
%38.53
%24.77

CMYK color model

#787E51 color CMYK value is (5,0,36,51).

  • cyan value is 4.76%
  • magenta value is 0.00%
  • yellow value is 35.71%
  • key color value is 50.59%
CMYK:
(5,0,36,51)
C5M0Y36K51 
(5%,0%,36%,51%)
(0.05/0.00/0.36/0.51)	

CMYK percentages

%4.76
%0
%35.71
%50.59

Codes

Color #787E51 in popluar color models

787E51
RGB12012681
HSL68°21.74%40.59%
HSB/HSV68°35.71%49.41%
CMYK4.76%0.00%35.71%
50.59%

Color #787E51 in popluar number systems.

HEX787E51
Decimal12012681
Binary111100011111101010001
Octal170176121

Shades and tints

Shades of #787E51

#787E51
(120,126,81)
#6E734A
(110,115,74)
#646843
(100,104,67)
#5A5D3C
(90,93,60)
#505235
(80,82,53)
#46472E
(70,71,46)
#3C3C27
(60,60,39)
#323120
(50,49,32)
#282619
(40,38,25)
#1E1B12
(30,27,18)
#14100B
(20,16,11)
#000000
(0,0,0)

Tints of #787E51

#787E51
(120,126,81)
#848960
(132,137,96)
#90946F
(144,148,111)
#9C9F7E
(156,159,126)
#A8AA8D
(168,170,141)
#B4B59C
(180,181,156)
#C0C0AB
(192,192,171)
#CCCBBA
(204,203,186)
#D8D6C9
(216,214,201)
#E4E1D8
(228,225,216)
#F0ECE7
(240,236,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #787E51 color. Also use rgb(120,126,81) instead hex code.

Text Font Color

.myTextColor { color: #787E51; }

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

This text font color is #787E51.


Background Color

.myBgColor { background-color: #787E51; }

<div style="background-color:#787E51">Inner text</div>

This div background color is #787E51.


Border color

.myBorderColor { border: 1px solid #787E51; }

<div style="border:3px solid #787E51">Div</div>

This div border color is #787E51.


Opacity

.myOpacity80 { color: #787E51; opacity: 0.8; }

<p style="color:#787E51;opacity:0.8;">80%</p>

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

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

This text has shadow with #787E51 color.

.textShadow {text-shadow: 3px 3px 1px #787E51, 3px 3px 1px red;}

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

This text has shadow with #787E51 primary color and red secondary color.


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

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

This text has shadow with #787E51 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #787E51 on black background.


Color preview on white background

This text has color #787E51 on white background.



Black color preview on #787E51 background

This text has black color on #787E51 background.


White color preview on #787E51 background

This text has white color on #787E51 background.