COLOR #789A31

HEX: #789A31
RGB: (120,154,49)

Color info

#789A31 contains mainly red and green colors. Web safe color of #789A31 is #669933 (or #693).

RGB color model

#789A31 color RGB value is (120,154,49).

  • red value is 120;
  • green value is 154;
  • blue value is 49.
RGB:
(120,154,49)
(47%,60%,19%)

RGB channels and saturation

R 120 of 255 = 47%
G 154 of 255 = 60%
B 49 of 255 = 19%

120
154
49

R + G + B ~ 42%. #789A31 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
120 + 154 + 49 = 323 (100%)
R 120 of 323 ~ 37.15%
G 154 of 323 ~ 47.68%
B 49 of 323 ~ 15.17%

%37.15
%47.68
%15.17

CMYK color model

#789A31 color CMYK value is (22,0,68,40).

  • cyan value is 22.08%
  • magenta value is 0.00%
  • yellow value is 68.18%
  • key color value is 39.61%
CMYK:
(22,0,68,40)
C22M0Y68K40 
(22%,0%,68%,40%)
(0.22/0.00/0.68/0.40)	

CMYK percentages

%22.08
%0
%68.18
%39.61

Codes

Color #789A31 in popluar color models

789A31
RGB12015449
HSL79°51.72%39.80%
HSB/HSV79°68.18%60.39%
CMYK22.08%0.00%68.18%
39.61%

Color #789A31 in popluar number systems.

HEX789A31
Decimal12015449
Binary111100010011010110001
Octal17023261

Shades and tints

Shades of #789A31

#789A31
(120,154,49)
#6E8C2D
(110,140,45)
#647E29
(100,126,41)
#5A7025
(90,112,37)
#506221
(80,98,33)
#46541D
(70,84,29)
#3C4619
(60,70,25)
#323815
(50,56,21)
#282A11
(40,42,17)
#1E1C0D
(30,28,13)
#140E09
(20,14,9)
#000000
(0,0,0)

Tints of #789A31

#789A31
(120,154,49)
#84A343
(132,163,67)
#90AC55
(144,172,85)
#9CB567
(156,181,103)
#A8BE79
(168,190,121)
#B4C78B
(180,199,139)
#C0D09D
(192,208,157)
#CCD9AF
(204,217,175)
#D8E2C1
(216,226,193)
#E4EBD3
(228,235,211)
#F0F4E5
(240,244,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #789A31 color. Also use rgb(120,154,49) instead hex code.

Text Font Color

.myTextColor { color: #789A31; }

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

This text font color is #789A31.


Background Color

.myBgColor { background-color: #789A31; }

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

This div background color is #789A31.


Border color

.myBorderColor { border: 1px solid #789A31; }

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

This div border color is #789A31.


Opacity

.myOpacity80 { color: #789A31; opacity: 0.8; }

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

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

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

This text has shadow with #789A31 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #789A31 on black background.


Color preview on white background

This text has color #789A31 on white background.



Black color preview on #789A31 background

This text has black color on #789A31 background.


White color preview on #789A31 background

This text has white color on #789A31 background.