New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Color conversion and manipulation in PixiJS v8: input formats, output methods, and alpha helpers.

skills.sh installs
6.9K
GitHub stars
389
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers Color input formats (hex, CSS names, RGB/HSL objects, arrays, Uint8Array) and conversion methods (toHex, toNumber, toArray, toRgba)
  • Includes component access, setAlpha, multiply, premultiply, and the Color.shared singleton for allocation-free temporary colors
  • Guides correct use of ColorSource values when setting tint and other color-accepting properties
  • Designed for PixiJS v8 projects that need to convert, tint, or manipulate colors in rendering code

Install

$ npx -y skills add pixijs/pixijs-skills --skill pixijs-color -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Color conversion and manipulation in PixiJS v8: input formats, output methods, and alpha helpers. Covers Color input formats (hex, CSS names, RGB/HSL objects, arrays, Uint8Array) and conversion methods (toHex, toNumber, toArray, toRgba). Includes component access, setAlpha, multiply, premultiply, and the Color.shared singleton for allocation-free temporary colors. Guides correct use of ColorSource values when setting tint and other color-accepting properties. Designed for PixiJS v8 projects that need to convert, tint, or manipulate colors in rendering code.

Browse the repository on GitHub

Details

Repository
github.com/pixijs/pixijs-skills
Category
Frontend & UI Code
First seen
May 16, 2026

More from pixijs/pixijs-skills

All 26

Similar to Pixijs Color

More Frontend & UI Code