SKILL5.7K installs358

Pixijs Color

Use this skill when creating, converting, or manipulating colors in PixiJS v8. Covers Color class input formats (hex, CSS names, RGB/HSL objects, arrays, Uint8Array), conversion methods (toHex, toNumber, toArray, toRgba), component access, setAlpha/multiply/premultiply, Color.shared singleton. Triggers on: Color, ColorSource, hex, rgb, hsl, tint, premultiply, Color.shared, color conversion.

Type
Skill
Author
pixijs
GitHub stars
358
Installs
5.7K
Last updated
October 1, 2026

Install

npx skills add https://github.com/pixijs/pixijs-skills --skill pixijs-color

About this skill

Covers creating, converting, and manipulating colors in PixiJS v8. It includes the Color class input formats (hex, CSS names, RGB/HSL objects, arrays, Uint8Array), conversion methods (toHex, toNumber, toArray, toRgba), component access, setAlpha/multiply/premultiply, and the Color.shared singleton. Useful when working with tints, color conversion, or premultiplied alpha.

Summary written with AI assistance from the project's public description.


Categories


More from pixijs


Similar Skills