djs-systems
Version:
The simplest way to build complex Discord bots.
9 lines (8 loc) • 354 B
TypeScript
import { ColorResolvable } from 'discord.js';
/**
* Transforms Hex code into RGB Array (or) RGB String. This makes it easy to convert from discord.js v13 to v14.
* @param hex
* @link `Documentation:` https://simplyd.js.org/docs/misc/toRgb
* @example simplydjs.toRgb('#406DBC')
*/
export declare function toRgb(hex: string): ColorResolvable;