UNPKG

@slashedcloud/player

Version:

A media player application utilizing Shaka Player for adaptive video streaming, capable of playing HLS, MPD and plain HTTP video streams.

13 lines (12 loc) 396 B
/** * Convert hex to RGB. * @param hex - The hex value to convert. * @returns An object containing the RGB values. */ export declare const hexRgb: (hex: string, alpha?: number) => string; /** * Check if the hex value is valid. * @param hex - The hex value to check. * @returns True if the hex value is valid, false otherwise. */ export declare const isValidHex: (hex: string) => boolean;