COLOR #978940

HEX: #978940 RGB: (151,137,64)

Color info

#978940 contains mainly red and green colors. Web safe color of #978940 is #999933 (or #993).

RGB color model

#978940 color RGB value is (151,137,64).

RGB: (151,137,64) (59%, 54%, 25%)

RGB channels and saturation

R 151 of 255 = 59%
G 137 of 255 = 54%
B 64 of 255 = 25%

151
137
64

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

Portions of RGB colors in percentages

R + G + B = 151 + 137 + 64 = 352 (100%)
R 151 of 352 ~ 42.9%
G 137 of 352 ~ 38.92%
B 64 of 352 ~ 18.18'%

%42.9
%38.92
%18.18

CMYK color model

#978940 color CMYK value is (0,9,58,41).

  • cyan value is 0.00%
  • magenta value is 9.27%
  • yellow value is 57.62%
  • key color value is 40.78%

CMYK: (0,9,58,41)
C0M9Y58K41 (0%, 9%, 58%, 41%)
(0.00 / 0.09 / 0.58 / 0.41)

CMYK percentages

%0
%9.27
%57.62
%40.78

Codes

Color #978940 in popluar color models

97 89 40
RGB 151 137 64
HSL 50° 40.47% 42.16%
HSB/HSV 50° 57.62% 59.22%
CMYK 0.00% 9.27% 57.62%
40.78%

Color #978940 in popluar number systems.

HEX 97 89 40
Decimal 151 137 64
Binary 10010111 10001001 1000000
Octal 227 211 100

Shades and tints

Shades of #978940

#978940
(151,137,64)
#8A7D3B
(138,125,59)
#7D7136
(125,113,54)
#706531
(112,101,49)
#63592C
(99,89,44)
#564D27
(86,77,39)
#494122
(73,65,34)
#3C351D
(60,53,29)
#2F2918
(47,41,24)
#221D13
(34,29,19)
#15110E
(21,17,14)
#000000
(0,0,0)

Tints of #978940

#978940
(151,137,64)
#A09351
(160,147,81)
#A99D62
(169,157,98)
#B2A773
(178,167,115)
#BBB184
(187,177,132)
#C4BB95
(196,187,149)
#CDC5A6
(205,197,166)
#D6CFB7
(214,207,183)
#DFD9C8
(223,217,200)
#E8E3D9
(232,227,217)
#F1EDEA
(241,237,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #978940 color. Also use rgb(151,137,64) instead hex code.

Text Font Color

.myTextColor { color: #978940; }

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

This text font color is #978940.

Background Color

.myBgColor { background-color: #978940; }

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

This div background color is #978940.

Border color

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

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

This div border color is #978940.

Opacity

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

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

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

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

This text has shadow with #978940 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #978940.

Preview

Color preview on black background

This text has color #978940 on black background.


Color preview on white background

This text has color #978940 on white background.


Black color preview on #978940 background

This text has black color on #978940 background.


White color preview on #978940 background

This text has white color on #978940 background.


Related colors

Complementary color

Complementary color for #hex is #6876BF.


I love getcolorcode.com

Triadic colors

1 #409789 and #894097 with #978940 are triadic colors.

2 #408997 and #899740 with #978940 are triadic colors.