COLOR #978020

HEX: #978020
RGB: (151,128,32)

Color info

#978020 contains mainly red and green colors. Web safe color of #978020 is #996633 (or #963).

RGB color model

#978020 color RGB value is (151,128,32).

  • red value is 151;
  • green value is 128;
  • blue value is 32.
RGB:
(151,128,32)
(59%,50%,13%)

RGB channels and saturation

R 151 of 255 = 59%
G 128 of 255 = 50%
B 32 of 255 = 13%

151
128
32

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

Portions of RGB colors in percentages

R + G + B =
151 + 128 + 32 = 311 (100%)
R 151 of 311 ~ 48.55%
G 128 of 311 ~ 41.16%
B 32 of 311 ~ 10.29%

%48.55
%41.16
%10.29

CMYK color model

#978020 color CMYK value is (0,15,79,41).

  • cyan value is 0.00%
  • magenta value is 15.23%
  • yellow value is 78.81%
  • key color value is 40.78%
CMYK:
(0,15,79,41)
C0M15Y79K41 
(0%,15%,79%,41%)
(0.00/0.15/0.79/0.41)	

CMYK percentages

%0
%15.23
%78.81
%40.78

Codes

Color #978020 in popluar color models

978020
RGB15112832
HSL48°65.03%35.88%
HSB/HSV48°78.81%59.22%
CMYK0.00%15.23%78.81%
40.78%

Color #978020 in popluar number systems.

HEX978020
Decimal15112832
Binary1001011110000000100000
Octal22720040

Shades and tints

Shades of #978020

#978020
(151,128,32)
#8A751E
(138,117,30)
#7D6A1C
(125,106,28)
#705F1A
(112,95,26)
#635418
(99,84,24)
#564916
(86,73,22)
#493E14
(73,62,20)
#3C3312
(60,51,18)
#2F2810
(47,40,16)
#221D0E
(34,29,14)
#15120C
(21,18,12)
#000000
(0,0,0)

Tints of #978020

#978020
(151,128,32)
#A08B34
(160,139,52)
#A99648
(169,150,72)
#B2A15C
(178,161,92)
#BBAC70
(187,172,112)
#C4B784
(196,183,132)
#CDC298
(205,194,152)
#D6CDAC
(214,205,172)
#DFD8C0
(223,216,192)
#E8E3D4
(232,227,212)
#F1EEE8
(241,238,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #978020 color. Also use rgb(151,128,32) instead hex code.

Text Font Color

.myTextColor { color: #978020; }

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

This text font color is #978020.


Background Color

.myBgColor { background-color: #978020; }

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

This div background color is #978020.


Border color

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

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

This div border color is #978020.


Opacity

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

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

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

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

This text has shadow with #978020 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #978020 on black background.


Color preview on white background

This text has color #978020 on white background.



Black color preview on #978020 background

This text has black color on #978020 background.


White color preview on #978020 background

This text has white color on #978020 background.