COLOR #787828

HEX: #787828 RGB: (120,120,40)

Color info

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

RGB color model

#787828 color RGB value is (120,120,40).

RGB: (120,120,40) (47%, 47%, 16%)

RGB channels and saturation

R 120 of 255 = 47%
G 120 of 255 = 47%
B 40 of 255 = 16%

120
120
40

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

Portions of RGB colors in percentages

R + G + B = 120 + 120 + 40 = 280 (100%)
R 120 of 280 ~ 42.86%
G 120 of 280 ~ 42.86%
B 40 of 280 ~ 14.29'%

%42.86
%42.86
%14.29

CMYK color model

#787828 color CMYK value is (0,0,67,53).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 66.67%
  • key color value is 52.94%
CMYK: (0,0,67,53) C0M0Y67K53 (0%,0%,67%,53%) (0.00/0.00/0.67/0.53) 

CMYK percentages

%0
%0
%66.67
%52.94

Codes

Color #787828 in popluar color models

78 78 28
RGB 120 120 40
HSL 60° 50.00% 31.37%
HSB/HSV 60° 66.67% 47.06%
CMYK 0.00% 0.00% 66.67%
52.94%

Color #787828 in popluar number systems.

HEX 78 78 28
Decimal 120 120 40
Binary 1111000 1111000 101000
Octal 170 170 50

Shades and tints

Shades of #787828

#787828
(120,120,40)
#6E6E25
(110,110,37)
#646422
(100,100,34)
#5A5A1F
(90,90,31)
#50501C
(80,80,28)
#464619
(70,70,25)
#3C3C16
(60,60,22)
#323213
(50,50,19)
#282810
(40,40,16)
#1E1E0D
(30,30,13)
#14140A
(20,20,10)
#000000
(0,0,0)

Tints of #787828

#787828
(120,120,40)
#84843B
(132,132,59)
#90904E
(144,144,78)
#9C9C61
(156,156,97)
#A8A874
(168,168,116)
#B4B487
(180,180,135)
#C0C09A
(192,192,154)
#CCCCAD
(204,204,173)
#D8D8C0
(216,216,192)
#E4E4D3
(228,228,211)
#F0F0E6
(240,240,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #787828 color. Also use rgb(120,120,40) instead hex code.

Text Font Color

.myTextColor { color: #787828; }

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

This text font color is #787828.

Background Color

.myBgColor { background-color: #787828; }

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

This div background color is #787828.

Border color

.myBorderColor { border: 1px solid #787828; }

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

This div border color is #787828.

Opacity

.myOpacity80 { color: #787828; opacity: 0.8; }

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

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

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

This text has shadow with #787828 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #787828.

Preview

Color preview on black background

This text has color #787828 on black background.


Color preview on white background

This text has color #787828 on white background.


Black color preview on #787828 background

This text has black color on #787828 background.


White color preview on #787828 background

This text has white color on #787828 background.


Related colors

Complementary color

Complementary color for #hex is #8787D7.


I love getcolorcode.com