//#region src/is-hex-color/index.d.ts /** * Check if a value is a valid hex color string. * * @param value - The value to check. * @returns true if the value is a valid hex color string, false otherwise. * * @remarks * pure function * * Supports: #RGB, #RGBA, #RRGGBB, #RRGGBBAA (hash optional) * * @example * ```ts * import { isHexColor } from '@accelint/predicates/is-hex-color'; * * console.log(isHexColor('#FF8040')); * // true * * console.log(isHexColor('#F84')); * // true * * console.log(isHexColor('rgb(255, 128, 64)')); * // false * ``` */ declare function isHexColor(value: unknown): value is string; //#endregion export { isHexColor }; //# sourceMappingURL=index.d.ts.map