COLOR #789B51

HEX: #789B51
RGB: (120,155,81)

Color info

#789B51 contains mainly red and green colors. Web safe color of #789B51 is #669966 (or #696).

RGB color model

#789B51 color RGB value is (120,155,81).

  • red value is 120;
  • green value is 155;
  • blue value is 81.
RGB:
(120,155,81)
(47%,61%,32%)

RGB channels and saturation

R 120 of 255 = 47%
G 155 of 255 = 61%
B 81 of 255 = 32%

120
155
81

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

Portions of RGB colors in percentages

R + G + B =
120 + 155 + 81 = 356 (100%)
R 120 of 356 ~ 33.71%
G 155 of 356 ~ 43.54%
B 81 of 356 ~ 22.75%

%33.71
%43.54
%22.75

CMYK color model

#789B51 color CMYK value is (23,0,48,39).

  • cyan value is 22.58%
  • magenta value is 0.00%
  • yellow value is 47.74%
  • key color value is 39.22%
CMYK:
(23,0,48,39)
C23M0Y48K39 
(23%,0%,48%,39%)
(0.23/0.00/0.48/0.39)	

CMYK percentages

%22.58
%0
%47.74
%39.22

Codes

Color #789B51 in popluar color models

789B51
RGB12015581
HSL88°31.36%46.27%
HSB/HSV88°47.74%60.78%
CMYK22.58%0.00%47.74%
39.22%

Color #789B51 in popluar number systems.

HEX789B51
Decimal12015581
Binary1111000100110111010001
Octal170233121

Shades and tints

Shades of #789B51

#789B51
(120,155,81)
#6E8D4A
(110,141,74)
#647F43
(100,127,67)
#5A713C
(90,113,60)
#506335
(80,99,53)
#46552E
(70,85,46)
#3C4727
(60,71,39)
#323920
(50,57,32)
#282B19
(40,43,25)
#1E1D12
(30,29,18)
#140F0B
(20,15,11)
#000000
(0,0,0)

Tints of #789B51

#789B51
(120,155,81)
#84A460
(132,164,96)
#90AD6F
(144,173,111)
#9CB67E
(156,182,126)
#A8BF8D
(168,191,141)
#B4C89C
(180,200,156)
#C0D1AB
(192,209,171)
#CCDABA
(204,218,186)
#D8E3C9
(216,227,201)
#E4ECD8
(228,236,216)
#F0F5E7
(240,245,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #789B51 color. Also use rgb(120,155,81) instead hex code.

Text Font Color

.myTextColor { color: #789B51; }

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

This text font color is #789B51.


Background Color

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

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

This div background color is #789B51.


Border color

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

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

This div border color is #789B51.


Opacity

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

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

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

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

This text has shadow with #789B51 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #789B51 on black background.


Color preview on white background

This text has color #789B51 on white background.



Black color preview on #789B51 background

This text has black color on #789B51 background.


White color preview on #789B51 background

This text has white color on #789B51 background.