COLOR #AB9C2A

HEX: #AB9C2A
RGB: (171,156,42)

Color info

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

RGB color model

#AB9C2A color RGB value is (171,156,42).

  • red value is 171;
  • green value is 156;
  • blue value is 42.
RGB:
(171,156,42)
(67%,61%,16%)

RGB channels and saturation

R 171 of 255 = 67%
G 156 of 255 = 61%
B 42 of 255 = 16%

171
156
42

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

Portions of RGB colors in percentages

R + G + B =
171 + 156 + 42 = 369 (100%)
R 171 of 369 ~ 46.34%
G 156 of 369 ~ 42.28%
B 42 of 369 ~ 11.38%

%46.34
%42.28
%11.38

CMYK color model

#AB9C2A color CMYK value is (0,9,75,33).

  • cyan value is 0.00%
  • magenta value is 8.77%
  • yellow value is 75.44%
  • key color value is 32.94%
CMYK:
(0,9,75,33)
C0M9Y75K33 
(0%,9%,75%,33%)
(0.00/0.09/0.75/0.33)	

CMYK percentages

%0
%8.77
%75.44
%32.94

Codes

Color #AB9C2A in popluar color models

AB9C2A
RGB17115642
HSL53°60.56%41.76%
HSB/HSV53°75.44%67.06%
CMYK0.00%8.77%75.44%
32.94%

Color #AB9C2A in popluar number systems.

HEXAB9C2A
Decimal17115642
Binary1010101110011100101010
Octal25323452

Shades and tints

Shades of #AB9C2A

#AB9C2A
(171,156,42)
#9C8E27
(156,142,39)
#8D8024
(141,128,36)
#7E7221
(126,114,33)
#6F641E
(111,100,30)
#60561B
(96,86,27)
#514818
(81,72,24)
#423A15
(66,58,21)
#332C12
(51,44,18)
#241E0F
(36,30,15)
#15100C
(21,16,12)
#000000
(0,0,0)

Tints of #AB9C2A

#AB9C2A
(171,156,42)
#B2A53D
(178,165,61)
#B9AE50
(185,174,80)
#C0B763
(192,183,99)
#C7C076
(199,192,118)
#CEC989
(206,201,137)
#D5D29C
(213,210,156)
#DCDBAF
(220,219,175)
#E3E4C2
(227,228,194)
#EAEDD5
(234,237,213)
#F1F6E8
(241,246,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AB9C2A color. Also use rgb(171,156,42) instead hex code.

Text Font Color

.myTextColor { color: #AB9C2A; }

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

This text font color is #AB9C2A.


Background Color

.myBgColor { background-color: #AB9C2A; }

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

This div background color is #AB9C2A.


Border color

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

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

This div border color is #AB9C2A.


Opacity

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

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

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

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

This text has shadow with #AB9C2A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AB9C2A on black background.


Color preview on white background

This text has color #AB9C2A on white background.



Black color preview on #AB9C2A background

This text has black color on #AB9C2A background.


White color preview on #AB9C2A background

This text has white color on #AB9C2A background.