/** * Copyright (C) 2026 SailPoint Technologies, Inc. All rights reserved. */ /** * Whether a string is an opaque `#RGB` or `#RRGGBB` hex color. * * The value must match in full. Missing hashes, whitespace, extra digits, named colors, CSS functions, and trailing * characters are rejected without trimming or coercion. * @param hex The hex string to test. * @returns Whether the hex string is a valid opaque color. */ export declare function isValidHex(hex: string): boolean; /** * Retrieves a lighter or darker color from a hex value. * * @param hex Hex color to adjust. A missing `#` is added before validation. * @param percent Percent by which the color should be adjusted. * @param lighter Whether to make the color lighter or darker. * @returns Adjusted lowercase six-digit hex color, or null when input cannot be parsed. */ export declare function getAdjustedColor(hex: string | undefined, percent: number, lighter: boolean): string | null; //# sourceMappingURL=color.d.ts.map