@rbxts/colour-utils
TypeScript icon, indicating that this package has built-in type declarations

1.4.1 • Public • Published

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/colour-utils@X.X.X"
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.

Readme

Keywords

none

Package Sidebar

Install

npm i @rbxts/colour-utils

Weekly Downloads

17

Version

1.4.1

License

MIT

Unpacked Size

72.2 kB

Total Files

69

Last publish

Collaborators

  • csqrl