COLOR #787E5B

HEX: #787E5B RGB: (120,126,91)

Color info

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

RGB color model

#787E5B color RGB value is (120,126,91).

RGB: (120,126,91) (47%, 49%, 36%)

RGB channels and saturation

R 120 of 255 = 47%
G 126 of 255 = 49%
B 91 of 255 = 36%

120
126
91

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

Portions of RGB colors in percentages

R + G + B = 120 + 126 + 91 = 337 (100%)
R 120 of 337 ~ 35.61%
G 126 of 337 ~ 37.39%
B 91 of 337 ~ 27'%

%35.61
%37.39
%27

CMYK color model

#787E5B color CMYK value is (5,0,28,51).

  • cyan value is 4.76%
  • magenta value is 0.00%
  • yellow value is 27.78%
  • key color value is 50.59%

CMYK: (5,0,28,51)
C5M0Y28K51 (5%, 0%, 28%, 51%)
(0.05 / 0.00 / 0.28 / 0.51)

CMYK percentages

%4.76
%0
%27.78
%50.59

Codes

Color #787E5B in popluar color models

78 7E 5B
RGB 120 126 91
HSL 70° 16.13% 42.55%
HSB/HSV 70° 27.78% 49.41%
CMYK 4.76% 0.00% 27.78%
50.59%

Color #787E5B in popluar number systems.

HEX 78 7E 5B
Decimal 120 126 91
Binary 1111000 1111110 1011011
Octal 170 176 133

Shades and tints

Shades of #787E5B

#787E5B
(120,126,91)
#6E7353
(110,115,83)
#64684B
(100,104,75)
#5A5D43
(90,93,67)
#50523B
(80,82,59)
#464733
(70,71,51)
#3C3C2B
(60,60,43)
#323123
(50,49,35)
#28261B
(40,38,27)
#1E1B13
(30,27,19)
#14100B
(20,16,11)
#000000
(0,0,0)

Tints of #787E5B

#787E5B
(120,126,91)
#848969
(132,137,105)
#909477
(144,148,119)
#9C9F85
(156,159,133)
#A8AA93
(168,170,147)
#B4B5A1
(180,181,161)
#C0C0AF
(192,192,175)
#CCCBBD
(204,203,189)
#D8D6CB
(216,214,203)
#E4E1D9
(228,225,217)
#F0ECE7
(240,236,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #787E5B; }

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

This text font color is #787E5B.

Background Color

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

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

This div background color is #787E5B.

Border color

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

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

This div border color is #787E5B.

Opacity

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

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

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

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

This text has shadow with #787E5B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #787E5B.

Preview

Color preview on black background

This text has color #787E5B on black background.


Color preview on white background

This text has color #787E5B on white background.


Black color preview on #787E5B background

This text has black color on #787E5B background.


White color preview on #787E5B background

This text has white color on #787E5B background.


Related colors

Complementary color

Complementary color for #hex is #8781A4.


I love getcolorcode.com

Triadic colors

1 #5B787E and #7E5B78 with #787E5B are triadic colors.

2 #5B7E78 and #7E785B with #787E5B are triadic colors.