@rbxts/colour-utils
v1.4.1
Published
Colour manipulation utility for Roblox
Downloads
72
Readme
ColorUtils
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
Documentation is available at https://csqrl.github.io/colour-utils.
Quick Start
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.
:warning: 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
# wally.toml
[dependencies]
ColorUtils = "csqrl/[email protected]"
wally install
TypeScript
Install the @rbxts/colour-utils
package using npm or yarn.
npm i @rbxts/colour-utils
yarn add @rbxts/colour-utils
Manual Installation
Grab a copy from the Roblox Library (Toolbox), or download the latest
.rbxm
file from the releases page and drop it into Studio.