COLOR #787E2A

HEX: #787E2A
RGB: (120,126,42)

Color info

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

RGB color model

#787E2A color RGB value is (120,126,42).

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

RGB channels and saturation

R 120 of 255 = 47%
G 126 of 255 = 49%
B 42 of 255 = 16%

120
126
42

R + G + B ~ 37%. #787E2A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
120 + 126 + 42 = 288 (100%)
R 120 of 288 ~ 41.67%
G 126 of 288 ~ 43.75%
B 42 of 288 ~ 14.58%

%41.67
%43.75
%14.58

CMYK color model

#787E2A color CMYK value is (5,0,67,51).

  • cyan value is 4.76%
  • magenta value is 0.00%
  • yellow value is 66.67%
  • key color value is 50.59%
CMYK:
(5,0,67,51)
C5M0Y67K51 
(5%,0%,67%,51%)
(0.05/0.00/0.67/0.51)	

CMYK percentages

%4.76
%0
%66.67
%50.59

Codes

Color #787E2A in popluar color models

787E2A
RGB12012642
HSL64°50.00%32.94%
HSB/HSV64°66.67%49.41%
CMYK4.76%0.00%66.67%
50.59%

Color #787E2A in popluar number systems.

HEX787E2A
Decimal12012642
Binary11110001111110101010
Octal17017652

Shades and tints

Shades of #787E2A

#787E2A
(120,126,42)
#6E7327
(110,115,39)
#646824
(100,104,36)
#5A5D21
(90,93,33)
#50521E
(80,82,30)
#46471B
(70,71,27)
#3C3C18
(60,60,24)
#323115
(50,49,21)
#282612
(40,38,18)
#1E1B0F
(30,27,15)
#14100C
(20,16,12)
#000000
(0,0,0)

Tints of #787E2A

#787E2A
(120,126,42)
#84893D
(132,137,61)
#909450
(144,148,80)
#9C9F63
(156,159,99)
#A8AA76
(168,170,118)
#B4B589
(180,181,137)
#C0C09C
(192,192,156)
#CCCBAF
(204,203,175)
#D8D6C2
(216,214,194)
#E4E1D5
(228,225,213)
#F0ECE8
(240,236,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #787E2A; }

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

This text font color is #787E2A.


Background Color

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

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

This div background color is #787E2A.


Border color

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

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

This div border color is #787E2A.


Opacity

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

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

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

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

This text has shadow with #787E2A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #787E2A on black background.


Color preview on white background

This text has color #787E2A on white background.



Black color preview on #787E2A background

This text has black color on #787E2A background.


White color preview on #787E2A background

This text has white color on #787E2A background.