COLOR #ABAB51

HEX: #ABAB51
RGB: (171,171,81)

Color info

#ABAB51 contains mainly red and green colors. Web safe color of #ABAB51 is #999966 (or #996).

RGB color model

#ABAB51 color RGB value is (171,171,81).

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

RGB channels and saturation

R 171 of 255 = 67%
G 171 of 255 = 67%
B 81 of 255 = 32%

171
171
81

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

Portions of RGB colors in percentages

R + G + B =
171 + 171 + 81 = 423 (100%)
R 171 of 423 ~ 40.43%
G 171 of 423 ~ 40.43%
B 81 of 423 ~ 19.15%

%40.43
%40.43
%19.15

CMYK color model

#ABAB51 color CMYK value is (0,0,53,33).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 52.63%
  • key color value is 32.94%
CMYK:
(0,0,53,33)
C0M0Y53K33 
(0%,0%,53%,33%)
(0.00/0.00/0.53/0.33)	

CMYK percentages

%0
%0
%52.63
%32.94

Codes

Color #ABAB51 in popluar color models

ABAB51
RGB17117181
HSL60°35.71%49.41%
HSB/HSV60°52.63%67.06%
CMYK0.00%0.00%52.63%
32.94%

Color #ABAB51 in popluar number systems.

HEXABAB51
Decimal17117181
Binary10101011101010111010001
Octal253253121

Shades and tints

Shades of #ABAB51

#ABAB51
(171,171,81)
#9C9C4A
(156,156,74)
#8D8D43
(141,141,67)
#7E7E3C
(126,126,60)
#6F6F35
(111,111,53)
#60602E
(96,96,46)
#515127
(81,81,39)
#424220
(66,66,32)
#333319
(51,51,25)
#242412
(36,36,18)
#15150B
(21,21,11)
#000000
(0,0,0)

Tints of #ABAB51

#ABAB51
(171,171,81)
#B2B260
(178,178,96)
#B9B96F
(185,185,111)
#C0C07E
(192,192,126)
#C7C78D
(199,199,141)
#CECE9C
(206,206,156)
#D5D5AB
(213,213,171)
#DCDCBA
(220,220,186)
#E3E3C9
(227,227,201)
#EAEAD8
(234,234,216)
#F1F1E7
(241,241,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #ABAB51; }

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

This text font color is #ABAB51.


Background Color

.myBgColor { background-color: #ABAB51; }

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

This div background color is #ABAB51.


Border color

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

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

This div border color is #ABAB51.


Opacity

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

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

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

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

This text has shadow with #ABAB51 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #ABAB51 on black background.


Color preview on white background

This text has color #ABAB51 on white background.



Black color preview on #ABAB51 background

This text has black color on #ABAB51 background.


White color preview on #ABAB51 background

This text has white color on #ABAB51 background.