Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.35 KB

color.md

File metadata and controls

49 lines (33 loc) · 1.35 KB

Color

Aseprite supports three different kind of color modes:

  • RGB
  • Indexed
  • Grayscale

When you create a new sprite you have to choose one of these color modes. In this section you will see the details of each one.

RGB

RGB, or RGBA, stands for Red-Green-Blue-Alpha. Each image pixel contains these four components. It means that a pixel is completely indepedent from others.

The alpha component specifies how much opaque the color is: Alpha = 255 means completely opaque, and Alpha = 0 completely transparent.

Special note: Background layer doesn't have an alpha component, so it will be always opaque.

Indexed

In this mode each pixels is a number that references a palette color. Your palette can contain up to 256 colors, and each pixel points to one of those colors (from 0 to 255).

Unlike RGBA, if you modify the palette color, all pixels that are referencing that color will change their appearance.

An important concept on Indexed images is that for transparent layers, we need a special index to act as the transparent color. Generally this index is 0, but you can change it from Sprite > Properties menu.

Grayscale

It's more like RGBA, just that you have two channels: Value and Alpha. Here 0 means black and 255 is white. The alpha channel behaves exactly like in RGBA mode.


SEE ALSO

New Sprite