AI AGENT ADDONS

The Color class in PixiJS v8 lets you create and convert colors in many ways. You can use hex codes, CSS color names, RGB or HSL objects, arrays, and more. This makes it easy to set the right color for your graphics and sprites.

You can convert colors to different formats like toHex, toNumber, or toArray. You can also access individual color components like red, green, blue, and alpha. The Color.shared singleton lets you reuse a single color object for quick operations.

Manipulation methods like setAlpha, multiply, and premultiply let you change colors in place. These are useful for creating tints and blending effects. All values are normalized from 0 to 1 for easy math.

Add Pixijs Color skill to your workflow

Global

mkdir -p ~/.claude/skills/pixijs-color

Project

mkdir -p .claude/skills/pixijs-color

Source Repository

Stars
262
Forks
15
Watchers
262
License
MIT
Last Push
1 month ago
Created
3 months ago