Color: #A6798C

#A6798C Color Information

#A6798C is a light color. The closest websafe version is #A6798C. A complement of this color would be #78A593, perceived brightness is 0.54, and the grayscale version is #909090.

In the HSL color space, this color has a hue angle of 335°,a saturation of 20%, and a lightness of 56%.The HSV representation shows a hue of 335°, a saturation of 27%, and a value of 65%.

In a RGB color space, #A6798C is composed of 65% red, 47% green and 55% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 27% magenta, 16% yellow and 35% black.

In the Yxy color space, this color is represented as Y: 23.78, x: 0.3819, and y: 0.3274.

Color Code #A6798C

#A6798Crgb(166, 121, 140)
HEX
#A6798C
RGB
rgb(166, 121, 140)
HSL
hsl(335, 20%, 56%)
HSV
hsv(335, 27%, 65%)
CMYK
0%, 27%, 16%, 35%
XYZ
X: 27.74, Y: 23.78, Z: 21.12
Lab
L: 55.87, a: 20.31, b: -3.07
Name

Shades of Color #A6798C

Shades are created by darkening the original color #A6798C 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 #A6798C

Tints are created by lightening the original color #A6798C 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.

#A6798Crgb(166, 121, 140)

About #A6798C Color Code

In the HSL color space, this color has a hue angle of 335°, a saturation of 20%, and a lightness of 56%. The HSV representation shows a hue of 335°, a saturation of 27%, and a value of 65%.

  • HEX: #A6798C
  • RGB: rgb(166, 121, 140)
  • HSL: hsl(335, 20%, 56%)
  • HSV: hsv(335, 27%, 65%)
  • CMYK: 0.00% cyan, 27.00% magenta, 16.00% yellow, 35.00% black
  • XYZ: 27.74, 23.78, 21.12
  • Yxy: 23.78, 0.3819, 0.3274
  • Hunter Lab: 55.87, 20.31, -3.07
  • CIE-Lab: 55.87, 20.31, -3.07

In the XYZ color space, this color is represented as X: 27.74, Y: 23.78, Z: 21.12. The Yxy representation further refines this as Y: 23.78, x: 0.3819, and y: 0.3274.

In the Hunter Lab color space, this color is represented as L: 55.87, a: 20.31, and b: -3.07. Similarly, in the CIE-Lab color space, it is represented as L: 55.87, a: 20.31, and b: -3.07.

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 #A6798C

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

Analogous Colors of #A6798C

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

Monochromatic Colors of #A6798C

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

Complementary Color of #A6798C

The complementary color of #A6798C 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 #A6798C

/* Using HEX */
body {
  background-color: #a6798c;
}
/* Using RGB */
body {
  background-color: rgb(166, 121, 140);
}
/* Using RGB with opacity */
body {
  background-color: rgba(166, 121, 140, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(335, 20%, 56%);
}
/* Text color */
p {
  color: #a6798c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #a6798c;
}
/* Border color */
.box {
  border: 4px solid #a6798c;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #a6798c;
}
Text Shadow Preview
/* Background with text */
div {
  background: #a6798c;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#A6798C
On Black Background
#A6798C
On White Background
#A6798C

HTML Examples of #A6798C

<!-- Using HEX -->
<div style="background-color: #a6798c; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(166, 121, 140); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(166, 121, 140, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(335, 20%, 56%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #a6798c;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #a6798c; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #a6798c; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #a6798c;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #a6798c; color: #fff; padding: 16px; border-radius: 8px;">
  #A6798C
</div>
#A6798C
On Black Background
#A6798C
On White Background
#A6798C

Related Colors of #A6798C

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