Pixquare
Homepage
  • Introduction
  • Interface and gestures
    • Overview
    • Interface
    • Gestures and quick actions
    • Keyboard shortcuts
  • Tools
    • Overview
    • Move
    • Brush
      • Custom brush
    • Eraser
    • Line
    • Shape
    • Selection
    • Color bucket
    • Eye dropper
    • Additional tools
      • Color replace
      • Color adjustment
      • Outline
      • Text
      • Custom objects
      • Color helper
      • Anti-aliasing (AA)
      • Post-processing
    • Color picker
  • Timeline and layers
    • Overview
    • Layer types
    • Layer operations
      • Concepts
      • Regular layer's operations
      • Reference layer's operations
      • Tilemap layer's operations
      • Group's operations
    • Frame operations
    • Cel operations
  • Palette
    • Overview
    • The basics
    • Gradient generator
    • Shading
    • Lospec integration
    • Importing palettes
    • Palette sorting
    • Color placement
    • Other operations
  • Additional features
    • Overview
    • Symmetry
    • Reference images
    • Left-hand mode
    • Handy joystick
  • Settings
    • Overview
    • General
    • Canvas
      • Guide line
      • Canvas resize
    • Drawing
    • Animation
  • Gallery
    • Overview
    • File operations
    • Preview and sorting
    • Storage location
    • Manage files via the Files app
    • Misc
  • Pixquare file (.px)
    • Overview
    • Create/import
    • Limitations
    • Exporting
    • Binary specs
  • Themes
    • Overview
    • How to use
    • How to contribute
  • Misc
    • Overview
    • Color modes
    • Tilemap/tileset system
    • Clipboard (copy/paste)
    • Deep link
Powered by GitBook
On this page
  • RGBA
  • Indexed

Was this helpful?

  1. Misc

Color modes

PreviousOverviewNextTilemap/tileset system

Last updated 1 year ago

Was this helpful?

When creating a new artwork, we'll have the option to choose which color mode to use like.

RGBA

In this mode, colors on the canvas are saved as RGBA data. With this, each pixel is independent of each other and the palette.

The color palette in this mode is only a quick way of selecting a color, no more no less.

In this mode, we have more freedom in what we can put on the canvas.

However, because all pixels are independent, we do not have as much control over them. When we want to change something, we must do that on the pixel level.

Indexed

In this mode, the canvas doesn't contain RGBA colors, instead, it contains indexes that will be mapped to the color with the same index in the palette. For example, if the first color of the palette is red, every pixel on the canvas that has the index 1 will be red, and when we draw, we don't paint FF0000 to the canvas, we paint number 1 on the pixels.

Because of this, we cannot just draw any color onto the canvas, but only those that are in the palette.

This limits our freedom, however, it gives us control of the pixels. Now if we want to replace colors, we simply need to replace the palette and the entire canvas will be updated as well.

The palette in Pixquare has a max color count of 254, so this is also another limitation of the indexed mode.

Blend mode and layer opacity still work in indexed more, so theoretically, we have more than just 254 colors