ColorUtils is a utility library for Roblox Studio that provides a number of functions for working with colors.
The library contains methods to manipulate standard Color3
s, as well as convert
them back and forth between formats; such as Hex and Integer (great for Discord!).
ColorUtils can also generate color palettes, blend colors together, and even simulate color blindness. In combination with the built-in accessibility-focused "submodules," ColorUtils can be used to find and generate the perfect and most accessible colors for your project.
Documentation is available at https://csqrl.github.io/colour-utils.
ColorUtils is available in Lua and TypeScript (via roblox-ts). It's available from the wally and npm registries, Roblox Library and via Itch.io.
⚠️ Note: ColorUtils was released on wally and npm using the British spelling of "colour" in the package name. Bear this in mind when installing the package.
# wally.toml
[dependencies]
ColorUtils = "csqrl/[email protected]"
wally install
Install the @rbxts/colour-utils
package using npm or yarn.
npm i @rbxts/colour-utils
yarn add @rbxts/colour-utils
Grab a copy from the Roblox Library (Toolbox), or download the latest
.rbxm
file from the releases page and drop it into Studio.