chroma-luau
A library to work with all kinds of color conversions and color scales.
This library is a translation of chroma.js.
Installation
Add chroma-luau
in your dependencies:
yarn add chroma-luau
Or if you are using npm
:
npm install chroma-luau
Releases
Versions of chroma-luau are also pre-built and linked to GitHub releases:
chroma.rbxm
is a Roblox model filechroma.lua
is a single-file version of the library (with Luau type annotations removed)
Other Lua Environments Support
If you would like to use this library on a Lua environment, where it is currently incompatible, open an issue (or comment on an existing one) to request the appropriate modifications.
The library uses darklua to process its code.
License
This project is available under the MIT license. See LICENSE.txt for details.