COLOR #ABAB2E

HEX: #ABAB2E
RGB: (171,171,46)

Color info

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

RGB color model

#ABAB2E color RGB value is (171,171,46).

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

RGB channels and saturation

R 171 of 255 = 67%
G 171 of 255 = 67%
B 46 of 255 = 18%

171
171
46

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

Portions of RGB colors in percentages

R + G + B =
171 + 171 + 46 = 388 (100%)
R 171 of 388 ~ 44.07%
G 171 of 388 ~ 44.07%
B 46 of 388 ~ 11.86%

%44.07
%44.07
%11.86

CMYK color model

#ABAB2E color CMYK value is (0,0,73,33).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 73.10%
  • key color value is 32.94%
CMYK:
(0,0,73,33)
C0M0Y73K33 
(0%,0%,73%,33%)
(0.00/0.00/0.73/0.33)	

CMYK percentages

%0
%0
%73.1
%32.94

Codes

Color #ABAB2E in popluar color models

ABAB2E
RGB17117146
HSL60°57.60%42.55%
HSB/HSV60°73.10%67.06%
CMYK0.00%0.00%73.10%
32.94%

Color #ABAB2E in popluar number systems.

HEXABAB2E
Decimal17117146
Binary1010101110101011101110
Octal25325356

Shades and tints

Shades of #ABAB2E

#ABAB2E
(171,171,46)
#9C9C2A
(156,156,42)
#8D8D26
(141,141,38)
#7E7E22
(126,126,34)
#6F6F1E
(111,111,30)
#60601A
(96,96,26)
#515116
(81,81,22)
#424212
(66,66,18)
#33330E
(51,51,14)
#24240A
(36,36,10)
#151506
(21,21,6)
#000000
(0,0,0)

Tints of #ABAB2E

#ABAB2E
(171,171,46)
#B2B241
(178,178,65)
#B9B954
(185,185,84)
#C0C067
(192,192,103)
#C7C77A
(199,199,122)
#CECE8D
(206,206,141)
#D5D5A0
(213,213,160)
#DCDCB3
(220,220,179)
#E3E3C6
(227,227,198)
#EAEAD9
(234,234,217)
#F1F1EC
(241,241,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #ABAB2E; }

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

This text font color is #ABAB2E.


Background Color

.myBgColor { background-color: #ABAB2E; }

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

This div background color is #ABAB2E.


Border color

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

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

This div border color is #ABAB2E.


Opacity

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

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

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

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

This text has shadow with #ABAB2E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #ABAB2E on black background.


Color preview on white background

This text has color #ABAB2E on white background.



Black color preview on #ABAB2E background

This text has black color on #ABAB2E background.


White color preview on #ABAB2E background

This text has white color on #ABAB2E background.