COLOR #A6A6A6

HEX: #A6A6A6 RGB: (166,166,166)

Color info

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

RGB color model

#A6A6A6 color RGB value is (166,166,166).

RGB: (166,166,166) (65%, 65%, 65%)

RGB channels and saturation

R 166 of 255 = 65%
G 166 of 255 = 65%
B 166 of 255 = 65%

166
166
166

R + G + B ~ 65%. #A6A6A6 is quite light color.

Portions of RGB colors in percentages

R + G + B = 166 + 166 + 166 = 498 (100%)
R 166 of 498 ~ 33.33%
G 166 of 498 ~ 33.33%
B 166 of 498 ~ 33.33'%

%33.33
%33.33
%33.33

CMYK color model

#A6A6A6 color CMYK value is (0,0,0,35).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 0.00%
  • key color value is 34.90%

CMYK: (0,0,0,35)
C0M0Y0K35 (0%, 0%, 0%, 35%)
(0.00 / 0.00 / 0.00 / 0.35)

CMYK percentages

%0
%0
%0
%34.9

Codes

Color #A6A6A6 in popluar color models

A6 A6 A6
RGB 166 166 166
HSL 0.00% 0.65%
HSB/HSV 0.00% 0.65%
CMYK 0.00% 0.00% 0.00%
34.90%

Color #A6A6A6 in popluar number systems.

HEX A6 A6 A6
Decimal 166 166 166
Binary 10100110 10100110 10100110
Octal 246 246 246

Shades and tints

Shades of #A6A6A6

#A6A6A6
(166,166,166)
#979797
(151,151,151)
#888888
(136,136,136)
#797979
(121,121,121)
#6A6A6A
(106,106,106)
#5B5B5B
(91,91,91)
#4C4C4C
(76,76,76)
#3D3D3D
(61,61,61)
#2E2E2E
(46,46,46)
#1F1F1F
(31,31,31)
#101010
(16,16,16)
#000000
(0,0,0)

Tints of #A6A6A6

#A6A6A6
(166,166,166)
#AEAEAE
(174,174,174)
#B6B6B6
(182,182,182)
#BEBEBE
(190,190,190)
#C6C6C6
(198,198,198)
#CECECE
(206,206,206)
#D6D6D6
(214,214,214)
#DEDEDE
(222,222,222)
#E6E6E6
(230,230,230)
#EEEEEE
(238,238,238)
#F6F6F6
(246,246,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A6A6A6; }

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

This text font color is #A6A6A6.

Background Color

.myBgColor { background-color: #A6A6A6; }

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

This div background color is #A6A6A6.

Border color

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

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

This div border color is #A6A6A6.

Opacity

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

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

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

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

This text has shadow with #A6A6A6 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #A6A6A6.

Preview

Color preview on black background

This text has color #A6A6A6 on black background.


Color preview on white background

This text has color #A6A6A6 on white background.


Black color preview on #A6A6A6 background

This text has black color on #A6A6A6 background.


White color preview on #A6A6A6 background

This text has white color on #A6A6A6 background.


Related colors

Complementary color

Complementary color for #hex is #595959.


I love getcolorcode.com