Color: #AFA2A2

#AFA2A2 Color Information

#AFA2A2 is a light color. The closest websafe version is #AFA2A2. A complement of this color would be #A1AFAF, perceived brightness is 0.65, and the grayscale version is #A9A9A9.

In the HSL color space, this color has a hue angle of 0°,a saturation of 8%, and a lightness of 66%.The HSV representation shows a hue of 0°, a saturation of 100%, and a value of 100%.

In a RGB color space, #AFA2A2 is composed of 69% red, 64% green and 64% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 7% magenta, 7% yellow and 31% black.

In the Yxy color space, this color is represented as Y: 37.63, x: 0.3587, and y: 0.3573.

Color Code #AFA2A2

HEX
#AFA2A2
RGB
rgb(175, 162, 162)
HSL
hsl(0, 8%, 66%)
HSV
hsv(0, 7%, 69%)
CMYK
0%, 7%, 7%, 31%
XYZ
X: 37.78, Y: 37.63, Z: 29.91
Lab
L: 67.75, a: 4.88, b: 1.79
Name

Shades of Color #AFA2A2

Shades are created by darkening the original color #AFA2A2 in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.

Tints of Color #AFA2A2

Tints are created by lightening the original color #AFA2A2 in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.

About #AFA2A2 Color Code

In the HSL color space, this color has a hue angle of 0°, a saturation of 8%, and a lightness of 66%. The HSV representation shows a hue of 0°, a saturation of 7%, and a value of 69%.

  • HEX: #AFA2A2
  • RGB: rgb(175, 162, 162)
  • HSL: hsl(0, 8%, 66%)
  • HSV: hsv(0, 7%, 69%)
  • CMYK: 0.00% cyan, 7.00% magenta, 7.00% yellow, 31.00% black
  • XYZ: 37.78, 37.63, 29.91
  • Yxy: 37.63, 0.3587, 0.3573
  • Hunter Lab: 67.75, 4.88, 1.79
  • CIE-Lab: 67.75, 4.88, 1.79

In the XYZ color space, this color is represented as X: 37.78, Y: 37.63, Z: 29.91. The Yxy representation further refines this as Y: 37.63, x: 0.3587, and y: 0.3573.

In the Hunter Lab color space, this color is represented as L: 67.75, a: 4.88, and b: 1.79. Similarly, in the CIE-Lab color space, it is represented as L: 67.75, a: 4.88, and b: 1.79.

Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.

Triadic Colors of #AFA2A2

Triadic colors are three colors evenly spaced around the color wheel, including #AFA2A2. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #AFA2A2

Analogous colors are adjacent to #AFA2A2 on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Monochromatic Colors of #AFA2A2

Monochromatic colors are variations of #AFA2A2, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #AFA2A2

The complementary color of #AFA2A2 is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.

CSS Examples of #AFA2A2

/* Using HEX */
body {
  background-color: #afa2a2;
}
/* Using RGB */
body {
  background-color: rgb(175, 162, 162);
}
/* Using RGB with opacity */
body {
  background-color: rgba(175, 162, 162, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(0, 8%, 66%);
}
/* Text color */
p {
  color: #afa2a2;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #afa2a2;
}

HTML Examples of #AFA2A2

<!-- Using HEX -->
<div style="background-color: #afa2a2; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(175, 162, 162); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(175, 162, 162, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(0, 8%, 66%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #afa2a2;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #afa2a2; width: 100px; height: 100px;"></div>

Related Colors of #AFA2A2

These colors are similar to #AFA2A2, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.