COLOR #789874

HEX: #789874
RGB: (120,152,116)

Color info

#789874 contains red, green and blue colors in about the same proportion. Web safe color of #789874 is #669966 (or #696).

RGB color model

#789874 color RGB value is (120,152,116).

  • red value is 120;
  • green value is 152;
  • blue value is 116.
RGB:
(120,152,116)
(47%,60%,45%)

RGB channels and saturation

R 120 of 255 = 47%
G 152 of 255 = 60%
B 116 of 255 = 45%

120
152
116

R + G + B ~ 51%. #789874 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
120 + 152 + 116 = 388 (100%)
R 120 of 388 ~ 30.93%
G 152 of 388 ~ 39.18%
B 116 of 388 ~ 29.9%

%30.93
%39.18
%29.9

CMYK color model

#789874 color CMYK value is (21,0,24,40).

  • cyan value is 21.05%
  • magenta value is 0.00%
  • yellow value is 23.68%
  • key color value is 40.39%
CMYK:
(21,0,24,40)
C21M0Y24K40 
(21%,0%,24%,40%)
(0.21/0.00/0.24/0.40)	

CMYK percentages

%21.05
%0
%23.68
%40.39

Codes

Color #789874 in popluar color models

789874
RGB120152116
HSL113°14.88%52.55%
HSB/HSV113°23.68%59.61%
CMYK21.05%0.00%23.68%
40.39%

Color #789874 in popluar number systems.

HEX789874
Decimal120152116
Binary1111000100110001110100
Octal170230164

Shades and tints

Shades of #789874

#789874
(120,152,116)
#6E8B6A
(110,139,106)
#647E60
(100,126,96)
#5A7156
(90,113,86)
#50644C
(80,100,76)
#465742
(70,87,66)
#3C4A38
(60,74,56)
#323D2E
(50,61,46)
#283024
(40,48,36)
#1E231A
(30,35,26)
#141610
(20,22,16)
#000000
(0,0,0)

Tints of #789874

#789874
(120,152,116)
#84A180
(132,161,128)
#90AA8C
(144,170,140)
#9CB398
(156,179,152)
#A8BCA4
(168,188,164)
#B4C5B0
(180,197,176)
#C0CEBC
(192,206,188)
#CCD7C8
(204,215,200)
#D8E0D4
(216,224,212)
#E4E9E0
(228,233,224)
#F0F2EC
(240,242,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #789874; }

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

This text font color is #789874.


Background Color

.myBgColor { background-color: #789874; }

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

This div background color is #789874.


Border color

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

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

This div border color is #789874.


Opacity

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

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

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

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

This text has shadow with #789874 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #789874 on black background.


Color preview on white background

This text has color #789874 on white background.



Black color preview on #789874 background

This text has black color on #789874 background.


White color preview on #789874 background

This text has white color on #789874 background.