This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** RGB color in functional notation (e.g. rgb(255, 0, 0)) */ | |
export type RGB = `rgb(${number}, ${number}, ${number})`; | |
/** RGBA color in functional notation (e.g. rgba(255, 0, 0, 0.5)) */ | |
export type RGBA = `rgba(${number}, ${number}, ${number}, ${number})`; | |
/** HSL color in functional notation (e.g. hsl(0, 100%, 50%)) */ | |
export type HSL = `hsl(${number}, ${number}%, ${number}%)`; | |
/** HSLA color in functional notation (e.g. hsla(0, 100%, 50%, 0.5)) */ |
OlderNewer