COLOR #AFABAB

HEX: #AFABAB
RGB: (175,171,171)

Color info

#AFABAB contains red, green and blue colors in about the same proportion. Web safe color of #AFABAB is #999999 (or #999).

RGB color model

#AFABAB color RGB value is (175,171,171).

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

RGB channels and saturation

R 175 of 255 = 69%
G 171 of 255 = 67%
B 171 of 255 = 67%

175
171
171

R + G + B ~ 68%. #AFABAB is quite light color.

Portions of RGB colors in percentages

R + G + B =
175 + 171 + 171 = 517 (100%)
R 175 of 517 ~ 33.85%
G 171 of 517 ~ 33.08%
B 171 of 517 ~ 33.08%

%33.85
%33.08
%33.08

CMYK color model

#AFABAB color CMYK value is (0,2,2,31).

  • cyan value is 0.00%
  • magenta value is 2.29%
  • yellow value is 2.29%
  • key color value is 31.37%
CMYK:
(0,2,2,31)
C0M2Y2K31 
(0%,2%,2%,31%)
(0.00/0.02/0.02/0.31)	

CMYK percentages

%0
%2.29
%2.29
%31.37

Codes

Color #AFABAB in popluar color models

AFABAB
RGB175171171
HSL2.44%67.84%
HSB/HSV2.29%68.63%
CMYK0.00%2.29%2.29%
31.37%

Color #AFABAB in popluar number systems.

HEXAFABAB
Decimal175171171
Binary101011111010101110101011
Octal257253253

Shades and tints

Shades of #AFABAB

#AFABAB
(175,171,171)
#A09C9C
(160,156,156)
#918D8D
(145,141,141)
#827E7E
(130,126,126)
#736F6F
(115,111,111)
#646060
(100,96,96)
#555151
(85,81,81)
#464242
(70,66,66)
#373333
(55,51,51)
#282424
(40,36,36)
#191515
(25,21,21)
#000000
(0,0,0)

Tints of #AFABAB

#AFABAB
(175,171,171)
#B6B2B2
(182,178,178)
#BDB9B9
(189,185,185)
#C4C0C0
(196,192,192)
#CBC7C7
(203,199,199)
#D2CECE
(210,206,206)
#D9D5D5
(217,213,213)
#E0DCDC
(224,220,220)
#E7E3E3
(231,227,227)
#EEEAEA
(238,234,234)
#F5F1F1
(245,241,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFABAB; }

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

This text font color is #AFABAB.


Background Color

.myBgColor { background-color: #AFABAB; }

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

This div background color is #AFABAB.


Border color

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

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

This div border color is #AFABAB.


Opacity

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

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

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

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

This text has shadow with #AFABAB color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFABAB on black background.


Color preview on white background

This text has color #AFABAB on white background.



Black color preview on #AFABAB background

This text has black color on #AFABAB background.


White color preview on #AFABAB background

This text has white color on #AFABAB background.