COLOR #787F42

HEX: #787F42
RGB: (120,127,66)

Color info

#787F42 contains mainly red and green colors. Web safe color of #787F42 is #666633 (or #663).

RGB color model

#787F42 color RGB value is (120,127,66).

  • red value is 120;
  • green value is 127;
  • blue value is 66.
RGB:
(120,127,66)
(47%,50%,26%)

RGB channels and saturation

R 120 of 255 = 47%
G 127 of 255 = 50%
B 66 of 255 = 26%

120
127
66

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

Portions of RGB colors in percentages

R + G + B =
120 + 127 + 66 = 313 (100%)
R 120 of 313 ~ 38.34%
G 127 of 313 ~ 40.58%
B 66 of 313 ~ 21.09%

%38.34
%40.58
%21.09

CMYK color model

#787F42 color CMYK value is (6,0,48,50).

  • cyan value is 5.51%
  • magenta value is 0.00%
  • yellow value is 48.03%
  • key color value is 50.20%
CMYK:
(6,0,48,50)
C6M0Y48K50 
(6%,0%,48%,50%)
(0.06/0.00/0.48/0.50)	

CMYK percentages

%5.51
%0
%48.03
%50.2

Codes

Color #787F42 in popluar color models

787F42
RGB12012766
HSL67°31.61%37.84%
HSB/HSV67°48.03%49.80%
CMYK5.51%0.00%48.03%
50.20%

Color #787F42 in popluar number systems.

HEX787F42
Decimal12012766
Binary111100011111111000010
Octal170177102

Shades and tints

Shades of #787F42

#787F42
(120,127,66)
#6E743C
(110,116,60)
#646936
(100,105,54)
#5A5E30
(90,94,48)
#50532A
(80,83,42)
#464824
(70,72,36)
#3C3D1E
(60,61,30)
#323218
(50,50,24)
#282712
(40,39,18)
#1E1C0C
(30,28,12)
#141106
(20,17,6)
#000000
(0,0,0)

Tints of #787F42

#787F42
(120,127,66)
#848A53
(132,138,83)
#909564
(144,149,100)
#9CA075
(156,160,117)
#A8AB86
(168,171,134)
#B4B697
(180,182,151)
#C0C1A8
(192,193,168)
#CCCCB9
(204,204,185)
#D8D7CA
(216,215,202)
#E4E2DB
(228,226,219)
#F0EDEC
(240,237,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #787F42 color. Also use rgb(120,127,66) instead hex code.

Text Font Color

.myTextColor { color: #787F42; }

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

This text font color is #787F42.


Background Color

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

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

This div background color is #787F42.


Border color

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

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

This div border color is #787F42.


Opacity

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

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

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

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

This text has shadow with #787F42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #787F42 on black background.


Color preview on white background

This text has color #787F42 on white background.



Black color preview on #787F42 background

This text has black color on #787F42 background.


White color preview on #787F42 background

This text has white color on #787F42 background.