COLOR #AB7F12

HEX: #AB7F12
RGB: (171,127,18)

Color info

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

RGB color model

#AB7F12 color RGB value is (171,127,18).

  • red value is 171;
  • green value is 127;
  • blue value is 18.
RGB:
(171,127,18)
(67%,50%,7%)

RGB channels and saturation

R 171 of 255 = 67%
G 127 of 255 = 50%
B 18 of 255 = 7%

171
127
18

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

Portions of RGB colors in percentages

R + G + B =
171 + 127 + 18 = 316 (100%)
R 171 of 316 ~ 54.11%
G 127 of 316 ~ 40.19%
B 18 of 316 ~ 5.7%

%54.11
%40.19

CMYK color model

#AB7F12 color CMYK value is (0,26,89,33).

  • cyan value is 0.00%
  • magenta value is 25.73%
  • yellow value is 89.47%
  • key color value is 32.94%
CMYK:
(0,26,89,33)
C0M26Y89K33 
(0%,26%,89%,33%)
(0.00/0.26/0.89/0.33)	

CMYK percentages

%0
%25.73
%89.47
%32.94

Codes

Color #AB7F12 in popluar color models

AB7F12
RGB17112718
HSL43°80.95%37.06%
HSB/HSV43°89.47%67.06%
CMYK0.00%25.73%89.47%
32.94%

Color #AB7F12 in popluar number systems.

HEXAB7F12
Decimal17112718
Binary10101011111111110010
Octal25317722

Shades and tints

Shades of #AB7F12

#AB7F12
(171,127,18)
#9C7411
(156,116,17)
#8D6910
(141,105,16)
#7E5E0F
(126,94,15)
#6F530E
(111,83,14)
#60480D
(96,72,13)
#513D0C
(81,61,12)
#42320B
(66,50,11)
#33270A
(51,39,10)
#241C09
(36,28,9)
#151108
(21,17,8)
#000000
(0,0,0)

Tints of #AB7F12

#AB7F12
(171,127,18)
#B28A27
(178,138,39)
#B9953C
(185,149,60)
#C0A051
(192,160,81)
#C7AB66
(199,171,102)
#CEB67B
(206,182,123)
#D5C190
(213,193,144)
#DCCCA5
(220,204,165)
#E3D7BA
(227,215,186)
#EAE2CF
(234,226,207)
#F1EDE4
(241,237,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AB7F12 color. Also use rgb(171,127,18) instead hex code.

Text Font Color

.myTextColor { color: #AB7F12; }

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

This text font color is #AB7F12.


Background Color

.myBgColor { background-color: #AB7F12; }

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

This div background color is #AB7F12.


Border color

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

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

This div border color is #AB7F12.


Opacity

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

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

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

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

This text has shadow with #AB7F12 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AB7F12 on black background.


Color preview on white background

This text has color #AB7F12 on white background.



Black color preview on #AB7F12 background

This text has black color on #AB7F12 background.


White color preview on #AB7F12 background

This text has white color on #AB7F12 background.