Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Latest commit

 

History

History
78 lines (51 loc) · 2.45 KB

README.md

File metadata and controls

78 lines (51 loc) · 2.45 KB

ColorUtils

Source Code NPM

Releases NPM Wally

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 Color3s, 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.

⚠️ 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.