UNPKG

multicolors-converter

Version:

A very simple tool to convert colors into differents formats

19 lines (18 loc) 499 B
import { Converter } from "@src/converters/Converter"; export declare class RgbConverter extends Converter { /** * * @param rgb The RGB Array color to convert to Ral */ static rgbToRal(rgb: RgbColor): string | null; /** * * @param rgb The RGB color to convert to Name */ static rgbToName(rgb: RgbColor): string | null; /** * * @param rgb The RAL color to convert to HexaDecimal */ static rgbToHex(rgb: number[]): string | null; }