COLOR #9A7E0C

HEX: #9A7E0C
RGB: (154,126,12)

Color info

#9A7E0C contains mainly red and green colors. Web safe color of #9A7E0C is #996600 (or #960).

RGB color model

#9A7E0C color RGB value is (154,126,12).

  • red value is 154;
  • green value is 126;
  • blue value is 12.
RGB:
(154,126,12)
(60%,49%,5%)

RGB channels and saturation

R 154 of 255 = 60%
G 126 of 255 = 49%
B 12 of 255 = 5%

154
126
12

R + G + B ~ 38%. #9A7E0C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
154 + 126 + 12 = 292 (100%)
R 154 of 292 ~ 52.74%
G 126 of 292 ~ 43.15%
B 12 of 292 ~ 4.11%

%52.74
%43.15

CMYK color model

#9A7E0C color CMYK value is (0,18,92,40).

  • cyan value is 0.00%
  • magenta value is 18.18%
  • yellow value is 92.21%
  • key color value is 39.61%
CMYK:
(0,18,92,40)
C0M18Y92K40 
(0%,18%,92%,40%)
(0.00/0.18/0.92/0.40)	

CMYK percentages

%0
%18.18
%92.21
%39.61

Codes

Color #9A7E0C in popluar color models

9A7E0C
RGB15412612
HSL48°85.54%32.55%
HSB/HSV48°92.21%60.39%
CMYK0.00%18.18%92.21%
39.61%

Color #9A7E0C in popluar number systems.

HEX9A7E0C
Decimal15412612
Binary1001101011111101100
Octal23217614

Shades and tints

Shades of #9A7E0C

#9A7E0C
(154,126,12)
#8C730B
(140,115,11)
#7E680A
(126,104,10)
#705D09
(112,93,9)
#625208
(98,82,8)
#544707
(84,71,7)
#463C06
(70,60,6)
#383105
(56,49,5)
#2A2604
(42,38,4)
#1C1B03
(28,27,3)
#0E1002
(14,16,2)
#000000
(0,0,0)

Tints of #9A7E0C

#9A7E0C
(154,126,12)
#A38922
(163,137,34)
#AC9438
(172,148,56)
#B59F4E
(181,159,78)
#BEAA64
(190,170,100)
#C7B57A
(199,181,122)
#D0C090
(208,192,144)
#D9CBA6
(217,203,166)
#E2D6BC
(226,214,188)
#EBE1D2
(235,225,210)
#F4ECE8
(244,236,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9A7E0C color. Also use rgb(154,126,12) instead hex code.

Text Font Color

.myTextColor { color: #9A7E0C; }

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

This text font color is #9A7E0C.


Background Color

.myBgColor { background-color: #9A7E0C; }

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

This div background color is #9A7E0C.


Border color

.myBorderColor { border: 1px solid #9A7E0C; }

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

This div border color is #9A7E0C.


Opacity

.myOpacity80 { color: #9A7E0C; opacity: 0.8; }

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

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

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

This text has shadow with #9A7E0C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9A7E0C on black background.


Color preview on white background

This text has color #9A7E0C on white background.



Black color preview on #9A7E0C background

This text has black color on #9A7E0C background.


White color preview on #9A7E0C background

This text has white color on #9A7E0C background.