UNPKG

emg-colorpicker

Version:

**emg-color-picker** is a custom color picker built with Svelte that can replace the default browser color picker. It currently supports hexa values (with opacity) and gradients, with plans to add support for RGB and other formats. Saved colors are stored

12 lines (11 loc) 658 B
export function sleep(ms: any): Promise<any>; export function determineRainbowColor(percentage: any): string; export function interpolateColor(color1: any, color2: any, factor: any): string; export function determineColor(colorShade: any, shadeCursorPosition: any): string; export function findPercentageByColor(color: any): number; export function percentageToHex(percentage: any): string; export function hexToPercentage(hexOpacity: any): number; export function getColorByEyeDropper(): Promise<{}>; export function handleTextColor(inputTextValue: any): any; export function getCssGradient(gradient: any): string; export function deepClone(obj: any): any;